hudochenkov / syntax-highlighting-for-postcss Goto Github PK
View Code? Open in Web Editor NEWPostCSS syntax highlighting for Sublime Text.
License: MIT License
PostCSS syntax highlighting for Sublime Text.
License: MIT License
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.
@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.
This one is very well done and complete.
Using attr
, format
, or url
with string concatenation ruins proceeding syntax highlighting. I believe a fix would be as simple as changing:
<string>(?<=url\(|format\(|attr\().+(?=\))</string>
to
<string>(?<=url\(|format\(|attr\().+?(?=\))</string>
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.
You are going to add SugarSS?
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:
Auto-complete (tab completion) is not functional.
Midas is a awesome highlighter for PostCSS
https://github.com/ben-eb/midas
There seems to be a slight bug when a variable name follows a space and an opening parenthesis.
This doesn't highlight correctly:
max-width: calc($desktopImageSize * ($desktopColumns - 1));
This does:
max-width: calc($desktopImageSize *($desktopColumns - 1));
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.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.