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

Syntax Highlighting for Batch scripts doesn't handle percent escapes #42472

Closed
pedro-w opened this issue Jan 30, 2018 · 1 comment
Closed

Syntax Highlighting for Batch scripts doesn't handle percent escapes #42472

pedro-w opened this issue Jan 30, 2018 · 1 comment
Assignees

Comments

@pedro-w
Copy link

pedro-w commented Jan 30, 2018

  • VSCode Version: Code 1.19.3 (7c4205b, 2018-01-25T10:36:43.673Z)
  • OS Version: Windows_NT ia32 10.0.16299
  • Extensions:
Extension Author (truncated) Version
vscode-svgviewer css 1.4.3
vbscript Dar 1.0.4
vscode-firefox-debug hbe 1.0.1
copy-markdown-as-html jer 1.0.0
cpptools ms- 0.14.6
csharp ms- 1.13.1
debugger-for-edge msj 0.4.1
svg-snippets sid 1.0.1
markdown-pdf yza 0.1.7

If a batch script references a file with a percent (%) sign in it, the percent needs to be doubled to escape it. VS code seems not to apply correct syntax highlighting to this.
example


Steps to Reproduce:

  1. Save a batch file containing (for example) text copy "50% done.txt" %K%
  2. Make sure Language Mode is Batch
  3. See highlighting is not right

Reproduces without extensions: Yes

@aeschli
Copy link
Contributor

aeschli commented Feb 16, 2018

This issue was moved to mmims/language-batchfile#24

@aeschli aeschli closed this as completed Feb 16, 2018
@vscodebot vscodebot bot locked and limited conversation to collaborators Apr 2, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants