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

Javascript Syntax Highlighting & Slash-symbols in RegExps #711

Closed
faiwer opened this issue Jan 22, 2019 · 0 comments
Closed

Javascript Syntax Highlighting & Slash-symbols in RegExps #711

faiwer opened this issue Jan 22, 2019 · 0 comments
Assignees

Comments

@faiwer
Copy link

faiwer commented Jan 22, 2019

  • VSCode Version: 1:30.2
  • OS Version: LinuxMint 18.2 Sonya

Hello, everybody. There're some problems with JS syntax highlighting when I use regexp with //:

a => (
	{
		a: /^mods\//, b: 2
	});

img_22_01_01_039bf0aa8ee
img_22_01_01_fb1df875e42
It seems that vscode handle them as // comments.

There's also one without regexp, but with \\
img_22_01_01_5786111f019

Does this issue occur when all extensions are disabled?: Yes

@mjbvz mjbvz transferred this issue from microsoft/vscode Jan 22, 2019
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

No branches or pull requests

2 participants