Skip to content

Problem with syntaxic coloring of quotes in a Dockerfile #46419

@le-martre

Description

@le-martre

Issue Type

Bug

Description

  • Open a new empty document
  • Set the language as "Dockerfile"
  • Write the following and observe to first escaped quote not being registered thus throwing off the syntaxic coloring of the rest of the document :

RUN echo //blep.derp.com:9875/:_authToken=\"er99iWoLDerYl666YRUS134YfEghohhrrrr516LwfM=\" >> ~/.npmrc

Fun fact, if you write the same line twice, the second time both quotes will be registered correctly

VS Code Info

VS Code version: Code 1.20.1 (f88bbf9, 2018-02-13T15:31:21.019Z)
OS version: Linux x64 4.4.0-109-generic

System Info
Item Value
CPUs Intel(R) Core(TM) i7-6700HQ CPU @ 2.60GHz (8 x 2885)
Load (avg) 1, 1, 1
Memory (System) 7.67GB (1.26GB free)
Process Argv /usr/share/code/code --unity-launch
Screen Reader no
VM 0%
Extensions (7)
Extension Author (truncated) Version
vscode-docker Pet 0.0.25
npm-intellisense chr 1.3.0
vscode-eslint dba 1.4.7
vscode-npm-script eg2 0.3.3
live-html-previewer hdg 0.3.0
python ms- 2018.2.1
vetur oct 0.11.7
Reproduces without extensions

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions