GithubHelp home page GithubHelp logo

Comments (5)

iChenLei avatar iChenLei commented on July 17, 2024

Any idea for this feature ? @clinyong

from vscode-css-modules.

iChenLei avatar iChenLei commented on July 17, 2024

@PodaruDragos Hello, I think there isn't a easy solution for your issue. Because vscode-css-modules is not a typechecker, We don't known whenever to auto complete .test or ['test'] . We only check if property is kebab-case or not and then auto complete your code like styles['kebab-case'] pr styles.camelCase (#48) , because styles.kebab-case is invalid javascript, we must check it and this case is simple(only need check if it is kebab-case).

from vscode-css-modules.

clinyong avatar clinyong commented on July 17, 2024

@iChenLei is right. When you are typing styles['], vscode doesn't trigger our CompletionProvider. It's hard to do this ourself.

from vscode-css-modules.

PodaruDragos avatar PodaruDragos commented on July 17, 2024

Ok, thanks for clearing this out

from vscode-css-modules.

Viijay-Kr avatar Viijay-Kr commented on July 17, 2024

React CSS Modules Addresses this problem .

My project has only non camel case selectors and this feature was so needed so I built my own extension with lots of other features too.
I hope it helps

from vscode-css-modules.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.