Discovered in microsoft/vscode#130096
Bug Report
🔎 Search Terms
- word based suggestions
- javascript
- spread
- warning suggestions
🕗 Version & Regression Information
4.4.1-rc
💻 Code
- In a JS file:
- Put cursor inside the object literal and type:
.
🙁 Actual behavior
JS warning suggestions (word based suggestions) are returned:
[Trace - 22:36:59.359] <semantic> Response received: completionInfo (308). Request took 7 ms. Success: true
Result: {
"isGlobalCompletion": false,
"isMemberCompletion": true,
"isNewIdentifierLocation": false,
"entries": [
{
"name": "abc",
"kind": "warning",
"kindModifiers": "",
"sortText": "17"
}
]
}
🙂 Expected behavior
No suggestions should be returned in this case since the user is likely starting to type a spread operator
Discovered in microsoft/vscode#130096
Bug Report
🔎 Search Terms
🕗 Version & Regression Information
4.4.1-rc
💻 Code
.🙁 Actual behavior
JS
warningsuggestions (word based suggestions) are returned:🙂 Expected behavior
No suggestions should be returned in this case since the user is likely starting to type a spread operator