Skip to content
This repository has been archived by the owner on Apr 1, 2020. It is now read-only.

Commit

Permalink
messages
Browse files Browse the repository at this point in the history
  • Loading branch information
Peiwen Lu committed May 11, 2014
1 parent 8a798c0 commit abcd545
Show file tree
Hide file tree
Showing 4 changed files with 87 additions and 3 deletions.
8 changes: 5 additions & 3 deletions README.md
Expand Up @@ -2,7 +2,7 @@


Syntax highlighting package for both SCSS and Sass on Sublime Text. Also available for [TextMate](https://github.com/P233/Syntax-highlighting-for-Sass/tree/textmate) and [Atom](https://github.com/P233/Atom-Syntax-highlighting-for-Sass). Syntax highlighting package for both SCSS and Sass on Sublime Text. Also available for [TextMate](https://github.com/P233/Syntax-highlighting-for-Sass/tree/textmate) and [Atom](https://github.com/P233/Atom-Syntax-highlighting-for-Sass).


Install via **Package Control**. Install via [Package Control](https://sublime.wbond.net/packages/Syntax%20Highlighting%20for%20Sass).




## Features: ## Features:
Expand All @@ -19,7 +19,7 @@ Install via **Package Control**.
* Support old indented Sass syntax `:property-name property-value` * Support old indented Sass syntax `:property-name property-value`
* Can be used for CSS syntax highlighting * Can be used for CSS syntax highlighting


### Built-in Completions Packages ### Built-in Completion Packages


Pick up the package name which you are not intend to use, then add it/them into the `ignored_packages` list of your settings file. (If you know a better way to do this please please let me know.) Pick up the package name which you are not intend to use, then add it/them into the `ignored_packages` list of your settings file. (If you know a better way to do this please please let me know.)


Expand Down Expand Up @@ -60,7 +60,7 @@ source.scss meta.property-list.css.sass - variable.other.value


#### Mixin Completion #### Mixin Completion


Mixin name completions will only popup directly behind `@include` or `+` Built-in mixin name completions will only popup directly behind `@include` or `+`


![](https://p233.github.com/Syntax-highlighting-for-Sass/03.gif) ![](https://p233.github.com/Syntax-highlighting-for-Sass/03.gif)


Expand Down Expand Up @@ -142,6 +142,8 @@ source.scss - variable.other - support.function.name.sass.library


#### Property-name Completion #### Property-name Completion


The latest version of [Emmet CSS Snippets](https://sublime.wbond.net/packages/Emmet%20Css%20Snippets) now fully supports this feature. I recommend to use it instead of the built-in properties completion package.

**Sass Scope** **Sass Scope**


``` ```
Expand Down
4 changes: 4 additions & 0 deletions messages.json
@@ -0,0 +1,4 @@
{
"install": "messages/install.txt",
"0.2.0": "messages/0.2.0.txt"
}
43 changes: 43 additions & 0 deletions messages/0.2.0.txt
@@ -0,0 +1,43 @@

Thank you for using Syntax Highlighting for Sass.

With over 80 improvements this package now works much better than ever! Here are some new features:

## Improved lots of highlighting rules and fully support Sass 3.3 syntax

## Built-in Completion Packages

There are 8 built-in completion packages. Pick up the package name which you are not intend to use, then add it/them into the `ignored_packages` list of your settings file. (If you know a better way to do this please please let me know.)

* SHS-At-Rule
* SHS-Bourbon
* SHS-Bourbon-Neat
* SHS-Compass-Mixins
* SHS-Compass-Variables
* SHS-CSS-Properties
* SHS-CSS-Property-Values
* SHS-Sass-Functions

## Smart Completion Rule

1. Typing @-rule, ID, class, placeholder-selector, mixin name, function name, comment, and quoted content will never popup any completions.
2. ** When typing property values, property name and other completions will no longer popup.
3. Built-in mixin name completions will only popup directly behind `@include` or `+`.
4. Built-in variable compltions will only popup when you typing variables.

** The latest version of [Emmet CSS Snippets](https://sublime.wbond.net/packages/Emmet%20Css%20Snippets) now fully supports this feature. I recommend to use it instead of the built-in properties completion package.

## Improved support for Goto Symbol and Goto Definition features

## Comment Tag

Use `{{` and `}}` to wrap a keyword inside comment, then this keyword (comment tag) will be indexed by the Goto Symbol and Goto Definition features.



-------
For more details please check https://github.com/P233/Syntax-highlighting-for-Sass/
-------

-------------
Enjoy coding!
35 changes: 35 additions & 0 deletions messages/install.txt
@@ -0,0 +1,35 @@

Thank you for installing Syntax Highlighting for Sass.

Here are some core features that you might want to know, for more details please check https://github.com/P233/Syntax-highlighting-for-Sass/

## Built-in Completion Packages

There are 8 built-in completion packages. Pick up the package name which you are not intend to use, then add it/them into the `ignored_packages` list of your settings file. (If you know a better way to do this please please let me know.)

* SHS-At-Rule
* SHS-Bourbon
* SHS-Bourbon-Neat
* SHS-Compass-Mixins
* SHS-Compass-Variables
* SHS-CSS-Properties
* SHS-CSS-Property-Values
* SHS-Sass-Functions

## Smart Completion Rule

1. Typing @-rule, ID, class, placeholder-selector, mixin name, function name, comment, and quoted content will never popup any completions.
2. ** When typing property values, property name and other completions will no longer popup.
3. Built-in mixin name completions will only popup directly behind `@include` or `+`.
4. Built-in variable compltions will only popup when you typing variables.

** The latest version of [Emmet CSS Snippets](https://sublime.wbond.net/packages/Emmet%20Css%20Snippets) now fully supports this feature. I recommend to use it instead of the built-in properties completion package.

## Comment Tag

Use `{{` and `}}` to wrap a keyword inside comment, then this keyword (comment tag) will be indexed by the Goto Symbol and Goto Definition features.



-------------
Enjoy coding!

0 comments on commit abcd545

Please sign in to comment.