Closed
Description
From @dedmazayukr on November 19, 2017 21:20
Why the constant in lower case is defined as a variable ? The constant must be constant, regardless of the register.
- VSCode Version: Version 1.18.1
- OS Version: Ubuntu 17.10
Steps to Reproduce:
-
Write for example: (lowercase and uppercase)
const variable = 'as variable.other.readwrite';
const CONSTANT = 'as variable.other.constant';
-
Press
ctrl+shift+p
, and selectDeveloper: Inspect TM Scope
-
Click on word
CONSTANT
--> variable.other.constant (correctly)
Reproduces without extensions: Yes
Languages: javascript and typescript
Copied from original issue: microsoft/vscode#38735
Metadata
Metadata
Assignees
Labels
No labels