You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.MD
+16Lines changed: 16 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -315,6 +315,22 @@ function Foo() {
315
315
}
316
316
```
317
317
318
+
### Ambiguous Suggestions
319
+
320
+
Some variables like `Object` or `lodash` are common to access properties as well as call directly:
321
+
322
+
```ts
323
+
Object.assign(...)
324
+
Object()
325
+
// or
326
+
lodash.version
327
+
lodash(...)
328
+
```
329
+
330
+
To not be annoying, we don't insert a method snippet on such suggestion accept.
331
+
332
+
Instead, for these *ambiguous* suggestions we require you to accept the same suggestion twice to ensure you actually want a method snippet.
333
+
318
334
## Auto Imports
319
335
320
336
With this plugin you have total (almost) control over auto imports that appear in completions, quick fixes and import all quick fix. Some examples of what you can do:
0 commit comments