Windows Batch Support #55661
Replies: 2 comments
-
|
As far as I can tell there doesn't even appear to be an available extension for batch ( I would encourage maintainers to elevate the priority of this slightly above the default so that there is out-of-the-box support for all platform-native scripting languages 🙏 |
Beta Was this translation helpful? Give feedback.
-
|
It looks like Zed just got full LSP support for bash #52811. It would be awesome to at least get Tree-sitter support for Windows Batch (.bat, .cmd) scripts. As ofek previously mentioned it would great if maintainers could elevate the priority of this request, since Zed is still lacking out-of-the-box support for all platform-native shell scripting languages. Thanks 😁 |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
What are you proposing?
Add native Windows Batch (
.bat,.cmd) script support in Zed Editor, including syntax highlighting, language server integration (if applicable), similar to the existing support for Bash.Why does this matter?
Many Windows developers, myself included, rely on Batch scripts for automation, compilation, and deployment tasks. While Zed provides excellent support for Bash, which I also often use, native Windows Batch scripting remains unsupported, which pushes me back to vim when editing large batch scripts. This would bring Zed’s Windows experience more in line with that of Linux and make it a more convenient editor for native Windows workflows.
Are there any examples or context?
Both Visual Studio Code and Neovim, as well as likely many other editors, include built-in syntax highlighting for batch.
Zed:

VsCode:

Neovim:

Possible approach
I'm no expert, and have never touched rust, so in my naivete I would just suggest to do whatever it took to support bash, replicated with windows batch. Thank you for your time.
Beta Was this translation helpful? Give feedback.
All reactions