Comments (3)
The one thing that worked for me was to disable named suggestions entirely, in VS Code settings:
"javascript.suggest.names": false,
Unfortunately, I would prefer to keep that setting enabled.
from vscode-css-modules.
Trying to solve this problem myself, I was lead to VS Code microsoft/vscode#21611
via the following StackOverflow answer:
See this comment of an open VS Code issue.
When your CompletionProvider was registered using a DocumentSelector that is more significant than that of other providers and returns at least one completion item, the other providers are skipped.
The word-based suggestions provider is less significant and so it does not contribute any suggestions.Depending on the nature of your extension you could try to define a less specific DocumentSelector when registering your CompletionProvider.
If this is not possible I think there is no other option than to providing all completion items yourself (including word-based suggestions).
But I'm a little out of my depth as I don't have much experience using the VS Code API, so I'm just leaving my notes here.
from vscode-css-modules.
@waynebloss Thanks for your sharing, it's useful for us to improve extension's ux
from vscode-css-modules.
Related Issues (20)
- Feature request: Jump to last CSS property when clicking on a class name HOT 2
- require bug HOT 3
- not working with tsconfig paths aliases HOT 11
- Access properties like `styles['test']` HOT 1
- Access properties like `styles['test']` HOT 5
- Extension causes high cpu load HOT 1
- Intellisense priority issues breaks Go to definition HOT 11
- Support Sass (.sass or .scss files) HOT 1
- Autocomplete for imports HOT 4
- bracket syntax cannot jump HOT 2
- Go to definition is broken HOT 1
- Incorrect commented import is used in completion HOT 1
- Can not jump to the classname under the corresponding scope
- Not working on next.js project HOT 7
- autocomplete does not work with path alias HOT 3
- Typescript support HOT 3
- Path Alias Doesn't Work With Wildcard
- Does not work with tsconfig paths on nextjs HOT 1
- Autocompletion doesnt work with dollar character HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from vscode-css-modules.