Zed is an thrilling new code editor with a give attention to efficiency that just lately launched a Home windows model (becoming a member of the already current Linux and MacOS variations). At this time we’re going to take a look at the method of totally configuring the Zed editor to be an excellent code editor for Godot builders, step-by-step.
First off, you clearly must obtain Zed for you working system of alternative, then set up it.
Upon getting Zed put in, set up the GDScript extension. You may set up it instantly from this web site by selecting Set up in Zed.
The subsequent step is simply wanted on Home windows! You must set up ncat, an open supply networking protocol. The best method to do that is by way of the NMap mission. Obtain the most recent secure launch for Home windows self installer and set up it. If prompted so as to add to system path, be sure to achieve this. Chances are you’ll must reboot at this level, on the very least you will want to restarted any command line terminals you’ve got open. Now check by opening up a command immediate and typing “ncat”. Any end result apart from “‘ncat’ just isn’t acknowledged as an inner or exterior command, operable program or batch file.” and you might be good to go! Bear in mind, MacOS and Linux each have already got ncat put in and don’t must carry out this step.
Now you may configure the placement of Zed within the Godot Editor. In Godot, go to the Editor menu and choose Editor Settings. Subsequent find the Textual content Editor->Exterior part within the left hand panel. Configure the next settings:

In case you are having issue finding Zed.exe, proper click on the shortcut within the Begin Menu and select Find File Location. If the positioned file location is a shortcut, you’ll have to carry out this step once more. This can open it in Explorer and you must be capable of copy the file path into the Exec Path and easily add Zed.exe to the top.
Another choice that will work for finding the Zed set up (on Home windows, Mac and Linux) is open a terminal or Command Immediate and kind
which zed
The outcomes ought to look one thing like this:


Now that you’ve got configured these settings, clicking any GDScript file ought to mechanically open your mission in Zed.
Now if you wish to debug your program from Zed instantly, there’s one final step to carry out. In you Godot mission root, create a brand new folder known as .Zed then inside that folder create a file known as Launch.json. Inside this JSON file, enter the next code:
[
{
"adapter": "godot",
"label": "Godot (Launch)",
"request": "launch"
},
{
"adapter": "godot",
"label": "Godot (Attach)",
"request": "attach"
}
]
You must now be capable of launch and debug your Godot sport instantly inside Zed. Merely select Run->Begin Debugger or hit F4. Please be aware that Zed makes use of the Godot Langauge Server for code completion and evaluation, so it requires that Godot be open to operate correctly! You may be taught extra concerning the course of and see Godot and Zed working collectively within the video under.
Key Hyperlinks
NMap (for ncat) for Home windows
