Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Language support: Add support for Batch files (.BAT) #294

Open
intellekta opened this issue Dec 14, 2020 · 1 comment · May be fixed by #304
Open

Language support: Add support for Batch files (.BAT) #294

intellekta opened this issue Dec 14, 2020 · 1 comment · May be fixed by #304

Comments

@intellekta
Copy link

To add Batch Support:

In package.json add
"onLanguage:batch", under "onLanguage:ada",

In parser.ts add:
case "bat": this.setCommentFormat("::", "rem.||(", ")"); break;

sample batch:

@echo off
cls
echo single line comments
::! alert
::TODO: something
echo multi line comments
rem.||(
  * ! alert
  * TODO something
)
:end

@EdwinBetanc0urt
Copy link

Adding this change to the .bat and .cmd extension would help

Captura de pantalla (2)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants