When using vscode, there are times when suggestions are poorly suggested.
Example (Pipe is the cursor):
export class MyClass {
public myMethod() {
|
}
}
When I am at that location, the words constructor , public, private, etc. shouldn't be suggested. With the change of how vscode selects the best word, when I type con it suggests console, constructor, and others. Due to habit I see console on top of the list and press enter, however constructor gets inserted because of vscode suggestion logic (this gets annoying).
I feel that the best way around this would be to remove items from the suggestions if they are not valid within that scope at the cursors location.
When using vscode, there are times when suggestions are poorly suggested.
Example (Pipe is the cursor):
When I am at that location, the words
constructor,public,private, etc. shouldn't be suggested. With the change of how vscode selects the best word, when I typeconit suggestsconsole,constructor, and others. Due to habit I seeconsoleon top of the list and press enter, howeverconstructorgets inserted because of vscode suggestion logic (this gets annoying).I feel that the best way around this would be to remove items from the suggestions if they are not valid within that scope at the cursors location.