Skip to content

Intellisense doesn't work after specific const string #1364

@schperplata

Description

@schperplata

Description

Python Intellisense (variable explorer, autocompletition) stops working after string definition ending with backshlash.

Behavior

import sys #just an example, the same for any imported module

SOME_CONSTANT = "some text without backshlash"
# sys.something -> autocompletition works

SOME_CONSTANT = "some text, ending with backslash\"
# sys.??? -> autocompletition stop working to the end of the file

Environment data

VS Code version: Code 1.22.1 (950b8b0, 2018-04-06T02:26:57.615Z)
OS version: Windows_NT x64 10.0.16299
Extensions: python | ms- | 2018.3.1
Python v3.6

System info

CPUs: Intel(R) Core(TM) i5-4570 CPU @ 3.20GHz (4 x 3193)
Memory (System): 15.89GB (11.98GB free)
Process Argv: C:\Program Files\Microsoft VS Code\Code.exe

Metadata

Metadata

Labels

area-intellisenseLSP-related functionality: auto-complete, docstrings, navigation, refactoring, etc.bugIssue identified by VS Code Team member as probable bug

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions