Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Missing Colons and Semicolons in completion #37

Closed
Sunnier opened this issue Sep 27, 2013 · 3 comments
Closed

Missing Colons and Semicolons in completion #37

Sunnier opened this issue Sep 27, 2013 · 3 comments

Comments

@Sunnier
Copy link

Sunnier commented Sep 27, 2013

Stardard Sublime CSS highlighter adds colons and semicolons as you type in rules, which is VERY convenient. Please add this feature.

Ex:
position: relative;

as you type 'pos' and them hit Enter to complete the word, it should add a colon at the end like 'position:' , same with 'relative;' it should add a semicolon at the end;

ps: Thank you for a great bundle!

@nathos
Copy link
Owner

nathos commented Sep 28, 2013

@Sunnier,

The reason that semicolons aren't added is because the package is currently optimized for Sass indented syntax, not SCSS.

I would like to fully support both syntaxes in the future, but it will require having two separate syntax definitions in the package that are kept in sync feature-wise. (Pull requests welcome!)

Since I haven't had time to implement this (and other features) on my own, I'll work on putting together a roadmap for the package that is perhaps a little easier to work toward collaboratively.

Thanks!

(this is a duplicate of #10 )

@sp00n
Copy link

sp00n commented Jul 3, 2014

Well, is there any way for us to activate the insertion of the semicolon if we don't care about the SASS syntax at all?
The colon already works for me.

// Edit
Correction: the colon works only sometimes for me?? I have one file where it does, and in another it doesn't...

// Edit 2
The colon working or not seems to be linked to different "levels" when writing code. See here: #57

@nathos
Copy link
Owner

nathos commented Jul 3, 2014

This is all a result of seaofcloud's package originally being written to only support the indented .sass syntax.

For better SCSS support today, you could use a package like https://sublime.wbond.net/packages/SCSS

I'd like to completely refactor my plugin, with full separate syntaxes. Finding the time & help to do so is certainly a challenge :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants