pulsar-ide-css
A Pulsar-native IDE provider package for CSS, SCSS, and LESS (based on VSCode’s CSS language server)
savetheclocktower 111 0 0.0.5 MIT GitHub
  • Made for Pulsar!

    This package was written specifically for Pulsar and did not exist in the Atom package repository.

pulsar-ide-css package

Visual Studio Code’s CSS language server in Pulsar. Uses vscode-langservers-extracted.

Supports CSS, SCSS, and LESS.

Features:

  • Completion (via the builtin autocomplete-plus)
  • Symbol listing and navigation (via the builtin symbols-view)
  • Diagnostics (via linter and linter-ui-default)
  • Highlighting references (put your cursor on a token and see all other usages of that token; used via pulsar-find-references)
  • Ability to do smart project-wide renaming of certain tokens: variable names, animation names, etc. (via pulsar-refactor)

Configuration

A recent version of Node should be used. The version of Node inherited from your shell environment will usually suffice; if Pulsar fails to find it, you may specify it in the “Path To Node Binary” configuration field.

The settings under the “Server Settings” section correspond almost exactly to the settings exposed by the language server. When you change a setting in the UI, it applies to CSS, SCSS, and LESS all at once.

If you want to override a setting for just one language, use a scope-specific override in your config.cson:

".source.css.less":
  "pulsar-ide-css":
    serverSettings:
      lint:
        universalSelector: "error"