billymoon / Stylus

Stylus Package for Sublime Text 2 / 3
Other
129 stars 31 forks source link

Add autocomplete support for : ; #80

Closed alanaasmaa closed 7 years ago

alanaasmaa commented 7 years ago

Hi, i love stylus but i still like to use : ; to make my code look more clean.

Autocompletion does not include the, Is it possible to get a setting to include them ?

grassator commented 7 years ago

@alanaasmaa which autocompletion are you using? Stylus package doesn't include any by default.

alanaasmaa commented 7 years ago

"installed_packages": [ "A File Icon", "AdvancedNewFile", "All Autocomplete", "Color Highlighter", "DocBlockr", "Emmet", "Git", "GitGutter", "Gulp", "HTML-CSS-JS Prettify", "HTML5", "jQuery", "Laravel Blade Highlighter", "LESS", "Material Theme", "Package Control", "PHP Codebeautifier", "PHP Companion", "ProjectManager", "SideBarEnhancements", "Smarty", "Stylus", "Stylus Clean Completions", "SublimeCodeIntel", "SublimeLinter", "SublimeLinter-contrib-htmlhint", "SublimeLinter-csslint", "SublimeLinter-jshint", "SublimeLinter-php", "SublimeLinter-phpcs", "SublimeLinter-phpmd", "TabsExtra" ]

Theser are my packages. Oh i didnt know that,.

grassator commented 7 years ago

@alanaasmaa I think then you are using Stylus Clean Completions for the autocomplete which explicitly doesn't support semicolons, so this is something you need bring up with the package author or fork it and include the (semi)colons.

If you are OK with Emmet expansions (like d:n + Tab -> display: none;), you can configure emmet to include the (semi)colons.

Since either way this is not connected to the Stylus syntax package, I'm closing this issue.