GithubHelp home page GithubHelp logo

syntax-highlighting-for-postcss's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

syntax-highlighting-for-postcss's Issues

CSS autocompletion does not work

Somehow, on my ".pcss" files that are edited with PostCSS, I do not get any auto complete.

I created a `../User/PostCSS.sublime-settings' file with:

{
  "auto_complete": true
}

but still no luck.

Love this plugin, but I really miss autocompletion, even the most basic ones.

Add LICENSE file

@hudochenkov hi, thanks for syntax highlighter. It becomes extremely useful to add PostCSS support to GitHub.

But they need a LICENSE file in the project root.

They need some license from this list. I recommend MIT.

attr/format/url with string concatenation

Using attr, format, or url with string concatenation ruins proceeding syntax highlighting. I believe a fix would be as simple as changing:

<string>(?&lt;=url\(|format\(|attr\().+(?=\))</string>

to

<string>(?&lt;=url\(|format\(|attr\().+?(?=\))</string>

in Syntaxes/PostCSS.tmLanguage

Sample of issue:
before

Sample of fix:
after

Remove fork badge

Fork badge is bad, because your repo doesn’t showed as separated project.

You can send a email to GitHub team and they will remove fork status.

Cannot set extension to syntax

Hello,

I need to be able to set all .css files to use the PostCSS syntax, however, it is not listed as an option.

Screenshot 2020-01-29 at 19 48 25

Please can you advise or fix?

Thank you!

Messing up with SCSS highlighting

Since this highlighting is fork of SCSS highlighting I didn't change syntax scope from source.scss. I did this for other Sublime Text plugins compatibility. They are relies on scope and know nothing about source.postcss scope. This bring up issue when comments settings for PostCSS and comments settings for SCSS is conflicted and Sublime Text uses only PostCSS settings (at least in my setup). This is not breaks SCSS, because it's standard CSS comments (/* */), but it's not user expecting.

I'm waiting for adding PostCSS compatibility to following plugins in order to fix this issue:

Emmet autocompletion

Hello,

I've got small problem with Emmet autocompletion.

For example:

/* Colors */

$pelorous : #3fbcc0;
$flamingo : #f54b38;

Now, when I'm trying to c -> tab to get color property, it autocompletes "Colors" from my comment. It does not happen on basic CSS syntax highlighting.

Thanks in advance and thanks for all good work.

Variable highlighting

This is the finest syntax highlighter I’ve used with Sublime Text. Could it parse valid CSS variables? Would it be in scope to parse Sassy variables?

variable highlighting proposal

The subtle highlighting of var and --hello make a world of readability difference.

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.