New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

coc-cssmodules

Package Overview
Dependencies
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

coc-cssmodules

css modules autocompletion and go to definition coc.nvim plugin

  • 1.1.1
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
23
decreased by-17.86%
Maintainers
1
Weekly downloads
 
Created
Source

coc-cssmodules

coc.nvim plugin for autocompletion and go-to-definition functionality for css modules.

The supported languages are css(postcss), sass and scss. styl files are parsed as regular css.

Installation

:CocInstall coc-cssmodules

Settings

Camel cased css class names

If you write kebab-case classes in css files, but want to get camelCase complete items, set following to true.

{
   "cssmodules.camelCase": true
}

Options and transformation

You can set the cssmodules.camelCase option to true, "dashes" or false(default).

Classname in css filetruedashesfalse(default)
.button.button.button.button
.btn__icon--mod.btnIconMod.btn__iconMod.btn__icon--mod

hintName setting

You can change the hint name by setting it in the coc-setting.json file. Default is cssmodules

example

{
   "cssmodules.hintName": "cssmodules"
}

Acknowledgments

This plugin was based on vscode-css-modules plugin.

Keywords

FAQs

Package last updated on 29 Nov 2020

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc