Skip to content

Intellisense doesn't work after specific const string #1364

Closed

Description

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

Activity

  1. MikhailArkhipov commented on Apr 10, 2018

    @MikhailArkhipov

    I don't think we handle escapes in the tokenizer.

  2. added
    bugIssue identified by VS Code Team member as probable bug
    area-intellisenseLSP-related functionality: auto-complete, docstrings, navigation, refactoring, etc.
    on Apr 10, 2018
  3. locked as resolved and limited conversation to collaborators on Jul 11, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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