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

Miscoloration caused by '?' at end of comment #56402

Closed
mikeduffy opened this issue Aug 14, 2018 · 1 comment
Closed

Miscoloration caused by '?' at end of comment #56402

mikeduffy opened this issue Aug 14, 2018 · 1 comment
Assignees
Labels
*duplicate Issue identified as a duplicate of another issue(s) upstream Issue identified as 'upstream' component related (exists outside of VS Code)

Comments

@mikeduffy
Copy link

Issue Type: Bug

With extensions disabled, place the following three lines in a .ts file:

  const a = 2 // tunable?
  console.log(`${a}`)
  const b = 3

The third line will be miscolored by VS Code. Adding a blank line after the first will correct the issue, as will removing the ${...} from the template string.

Here's an image of the problem: https://imgur.com/a/6wLJJv9

VS Code version: Code 1.26.0 (4e93618, 2018-08-13T16:20:44.170Z)
OS version: Darwin x64 17.7.0

System Info
Item Value
CPUs Intel(R) Core(TM) i7-7820HQ CPU @ 2.90GHz (8 x 2900)
GPU Status 2d_canvas: enabled
checker_imaging: disabled_off
flash_3d: enabled
flash_stage3d: enabled
flash_stage3d_baseline: enabled
gpu_compositing: enabled
multiple_raster_threads: enabled_on
native_gpu_memory_buffers: enabled
rasterization: enabled
video_decode: enabled
video_encode: enabled
webgl: enabled
webgl2: enabled
Load (avg) 4, 3, 3
Memory (System) 16.00GB (0.50GB free)
Process Argv /Applications/Visual Studio Code.app/Contents/MacOS/Electron -psn_0_8259552
Screen Reader no
VM 0%
Extensions (5)
Extension Author (truncated) Version
vscode-eslint dba 1.4.12
tslint eg2 1.0.34
cpptools ms- 0.17.7
csharp ms- 1.15.2
vscode-proto3 zxh 0.2.1
@mjbvz
Copy link
Collaborator

mjbvz commented Aug 20, 2018

Duplicate of microsoft/TypeScript-TmLanguage#646

@mjbvz mjbvz closed this as completed Aug 20, 2018
@mjbvz mjbvz added upstream Issue identified as 'upstream' component related (exists outside of VS Code) *duplicate Issue identified as a duplicate of another issue(s) labels Aug 20, 2018
@vscodebot vscodebot bot locked and limited conversation to collaborators Oct 4, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
*duplicate Issue identified as a duplicate of another issue(s) upstream Issue identified as 'upstream' component related (exists outside of VS Code)
Projects
None yet
Development

No branches or pull requests

2 participants