-
Notifications
You must be signed in to change notification settings - Fork 13.1k
Closed
Labels
BugA bug in TypeScriptA bug in TypeScriptDomain: LS: Completion ListsThe issue relates to showing completion lists in an editorThe issue relates to showing completion lists in an editorFix AvailableA PR has been opened for this issueA PR has been opened for this issue
Milestone
Description
TypeScript Version: 3.0.0-dev.20180713
Search Terms:
- isNewIdentifierLocation
- completions
- suggest
Bug
The completionInfo request seems to always return isNewIdentifierLocation when inside a function call such as:
console.log(c|)Expected behavior:
I believe that isNewIdentifierLocation should only be returned when the user is starting to write a arrow function with a parenthesized parameter list, such as:
(c|)or
console.log((c|)svipas and highco
Metadata
Metadata
Assignees
Labels
BugA bug in TypeScriptA bug in TypeScriptDomain: LS: Completion ListsThe issue relates to showing completion lists in an editorThe issue relates to showing completion lists in an editorFix AvailableA PR has been opened for this issueA PR has been opened for this issue