Skip to content

Javascript Syntax Highlighting & Slash-symbols in RegExps #711

@faiwer

Description

@faiwer
  • 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

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions