All Projects β†’ mrmlnc β†’ Vscode Csscomb

mrmlnc / Vscode Csscomb

Licence: mit
πŸ”Œ VS Code plugin for CSScomb β€” CSS coding style formatter.

Programming Languages

typescript
32286 projects

Projects that are alternatives of or similar to Vscode Csscomb

Vscode Smoothtype
VS Code extension to add cursor transitions while typing, similar to MS Office and the Windows 10 Mail app.
Stars: ✭ 54 (-14.29%)
Mutual labels:  vscode, vscode-extension, visual-studio-code
Vscode Stylefmt
πŸ”Œ VS Code plugin for stylefmtβ€” Format your CSS using stylefmt.
Stars: ✭ 42 (-33.33%)
Mutual labels:  vscode, vscode-extension, visual-studio-code
Marp Vscode
Marp for VS Code: Create slide deck written in Marp Markdown on VS Code
Stars: ✭ 442 (+601.59%)
Mutual labels:  vscode, vscode-extension, visual-studio-code
Vscode Stylelint
A Visual Studio Code extension to lint CSS/SCSS/Less with stylelint
Stars: ✭ 260 (+312.7%)
Mutual labels:  vscode, vscode-extension, visual-studio-code
Vscode Hack
Hack language & HHVM debugger support for Visual Studio Code
Stars: ✭ 45 (-28.57%)
Mutual labels:  vscode, vscode-extension, visual-studio-code
Vscode Restclient
REST Client Extension for Visual Studio Code
Stars: ✭ 3,289 (+5120.63%)
Mutual labels:  vscode, vscode-extension, visual-studio-code
Vscode Peacock
Subtly change the color of your Visual Studio Code workspace. Ideal when you have multiple VS Code instances, use VS Live Share, or use VS Code's Remote features, and you want to quickly identify your editor.
Stars: ✭ 690 (+995.24%)
Mutual labels:  vscode, vscode-extension, visual-studio-code
Processing Vscode
A Visual Studio Code extension for the programming language Processing
Stars: ✭ 141 (+123.81%)
Mutual labels:  vscode, vscode-extension, visual-studio-code
Vscode Intelephense
PHP intellisense for Visual Studio Code
Stars: ✭ 872 (+1284.13%)
Mutual labels:  vscode, vscode-extension, visual-studio-code
Vscode Bookmarks
Bookmarks Extension for Visual Studio Code
Stars: ✭ 804 (+1176.19%)
Mutual labels:  vscode, vscode-extension, visual-studio-code
VSCode-Anywhere
VSCode with preconfigured tools for your programming languages : binaries, settings, extensions and documentations
Stars: ✭ 26 (-58.73%)
Mutual labels:  vscode, visual-studio-code, vscode-extension
Theme Bear
🐻 A VSCode dark theme 🐻
Stars: ✭ 27 (-57.14%)
Mutual labels:  vscode, vscode-extension, visual-studio-code
vscode-less
πŸ”Œ Less intellisense for Variables and Mixins in all Less files.
Stars: ✭ 21 (-66.67%)
Mutual labels:  vscode, visual-studio-code, vscode-extension
Awesome Vscode
🎨 A curated list of delightful VS Code packages and resources.
Stars: ✭ 19,659 (+31104.76%)
Mutual labels:  vscode, vscode-extension, visual-studio-code
Vscode Auto Rename Tag
Automatically rename paired HTML/XML tag
Stars: ✭ 161 (+155.56%)
Mutual labels:  vscode, vscode-extension, visual-studio-code
Vscode Markdown Pdf
Markdown converter for Visual Studio Code
Stars: ✭ 571 (+806.35%)
Mutual labels:  vscode, vscode-extension, visual-studio-code
Vscode Auto Close Tag
Auto Close Tag for Visual Studio Code
Stars: ✭ 132 (+109.52%)
Mutual labels:  vscode, vscode-extension, visual-studio-code
Vscode Mjml
This repo is archived. MJML preview, lint, compile for Visual Studio Code.
Stars: ✭ 138 (+119.05%)
Mutual labels:  vscode, vscode-extension, visual-studio-code
Vscode Git Graph
View a Git Graph of your repository in Visual Studio Code, and easily perform Git actions from the graph.
Stars: ✭ 767 (+1117.46%)
Mutual labels:  vscode, vscode-extension, visual-studio-code
Without Guns For Vs Code
Visual Studio Code extension that teaches you mindful programming
Stars: ✭ 14 (-77.78%)
Mutual labels:  vscode, vscode-extension, visual-studio-code

vscode-csscomb

VS Code plugin for CSScomb β€” CSS coding style formatter.

⚠️ This plugin is archived

The main package (csscomb) has no maintainer and does not develop. In this regard, the development of the plugin does not make sense.

Alternatively you can use:

I'm ready to go back to developing the plugin if the csscomb will develops again.

Donation

Do you like this project? Support it by donating, creating an issue or pull request.

Donate

Install

  • Press F1 and select Extensions: Install Extensions.
  • Search for and select csscomb.

See the extension installation guide for details.

Usage

  1. Put a cssconfig.json in your project root, or set the config in the setting csscomb.preset. You can start with one of the predefined configs or generate a config. See details in config docs.
  2. Run CSSComb in the Command Palette (F1, Ctrl+Shift+P on Windows, Cmd+Shift+P on macOS).

Supported languages

  • Styles: CSS, Less, Sass, SCSS

  • Styles inside <style> or <style lang="LANGUAGE"> tags: HTML, Vue, Svelte

    ⚠️ The plugin does not support formatting when saving template files (HTML, Vue, Svelte) by formatOnSave option and formatting of the selected fragments (selections).

Supported settings

csscomb.preset

  • Type: Object or String
  • Defaut: {}
  • Example: '~/path/to/file/csscomb.json' or 'csscomb'

Config file. Can be built-in config (csscomb, zen, or yandex), path to a config file, or an object containing custom configuration.

Warning!

If you want to specify a file in the current directory, the path must begin with a ./ or ../ if relative to the current directory. Also you can use HOME directory as ~ symbol.

csscomb.ignoreFilesOnSave

  • Type: Array
  • Default: []
  • Example: ["variables.less", "mixins/**/*"]

An optional array of glob-patterns to ignore files on save.

csscomb.supportEmbeddedStyles

  • Type: Boolean
  • Default: true

Support embedded CSS into HTML.

csscomb.formatOnSave

  • Type: Boolean
  • Default: false

Auto format on save.

csscomb.syntaxAssociations

  • Type: Object
  • Default: {}

Configuration of syntax associations.

{
	"csscomb.syntaxAssociations": {
		"postcss": "scss"
	}
}

For example:

{
  "csscomb.formatOnSave": true,
  "csscomb.preset": "yandex",
  "csscomb.preset": {
    "remove-empty-rulesets": true,
    "always-semicolon": true
  }
}

Keyboard shortcuts

For changes keyboard shortcuts, create a new rule in File -> Preferences -> Keyboard Shortcuts:

{
  "key": "ctrl+shift+c",
  "command": "csscomb.execute"
}

Custom configuration

We support the following configs:

  • .csscomb.json or csscomb.json
  • .csscomb.js or csscomb.js
  • Path in the CSSCOMB_CONFIG env variable
  • Config in the csscombConfig field in the package.json file

Custom configuration is fun and simple: just put .csscomb.json file in the project root or your HOME directory.

You can read more about available options in docs.

Changelog

See the Releases section of our GitHub project for changelogs for each release version.

License

This software is released under the terms of the MIT license.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].