Skip to content
This repository has been archived by the owner on Mar 10, 2022. It is now read-only.

Commit

Permalink
v0.4.0 update with few fixes, settings renamed & new #8 settings added.
Browse files Browse the repository at this point in the history
  • Loading branch information
ritwickdey committed Aug 21, 2017
1 parent a1de815 commit f07deef
Show file tree
Hide file tree
Showing 3 changed files with 43 additions and 5 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@

| Version | Date | Changelog|
| ------- | -------- | ------ |
|0.4.0|21.08.17|&mdash; ***[Renamed]*** `liveSassCompile.settings.excludeFolders` is renamed to `liveSassCompile.settings.excludeList`. <br><br>&mdash; ***[Fixed]*** You can set glob pattern to exclude files through `liveSassCompile.settings.excludeList` settings. You can also use negative glob pattern.*[For More details, follow settings section]* <br><br>&mdash; ***[New Settings [#8](https://github.com/ritwickdey/vscode-live-sass-compiler/issues/8) ]*** `liveSassCompile.settings.includeItems` : This setting is useful when you deals with only few of sass files. Only mentioned Sass files will be included. NOTE: No need to include partial sass files. *[Thanks [PatrickPahlke](https://github.com/PatrickPahlke)]*.|
|0.3.4|15.08.17|**[Fixed [#7](https://github.com/ritwickdey/vscode-live-sass-compiler/issues/7)]** Duplicate Output. _[Thanks [Tomekk-hnm](https://github.com/tomekk-hnm)]_.|
|0.3.3|01.08.17|[[#5](https://github.com/ritwickdey/vscode-live-sass-compiler/issues/5)] Critical Fix Update for Linux & macOS. (Thanks a lot to [Shea Fitzek](https://github.com/sheafitzek)). |
|0.3.2 | 01.08.17 | [Hot Fix] CSS & map link was broken. |
Expand Down
41 changes: 39 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -43,20 +43,57 @@ Open VSCode Editor and Press `ctrl+P`, type `ext install live-sass`.
* _Default value is `null`, CSS will be generated at same directory of every SASS/SCSS files._
* **`liveSassCompile.settings.extensionName` :** To customize extension name (`.css` or `.min.css`) of generated CSS.
* _Default is `.css`._
* **`liveSassCompile.settings.excludeFolders` :** To Exclude specific folders. All Sass/Scss files inside the folders will be ignored.
* **`liveSassCompile.settings.excludeList` :** To Exclude specific folders. All Sass/Scss files inside the folders will be ignored.
* _default value :_
```json
[
"**/node_modules/**",
".vscode/**"
]
```
* You can use negative glob pattern.

* _Example : if you want exclude all file except `file1.scss` & `file2.scss` from `path/subpath` directory, you can use the expression -_

```json
[
"path/subpath/*[!(file1|file2)].scss"
]
```
* **`liveSassCompile.settings.includeItems` :** This setting is useful when you deals with only few of sass files. Only mentioned Sass files will be included.

* *NOTE: No need to include partial sass files.*
* *Default value is `null`*
* Example :
```json
[
"path/subpath/a.scss",
"path/subpath/b.scss",
]
```

## Extension Dependency
This extension has dependency on _[Live Server](https://marketplace.visualstudio.com/items?itemName=ritwickdey.LiveServer)_ extension for live browser reload.

## What's new ?

* #### Version 0.4.0 (21.08.2017)
* ***[Renamed]*** `liveSassCompile.settings.excludeFolders` is renamed to `liveSassCompile.settings.excludeList`.

* ***[Fixed]*** You can set glob pattern to exclude files through `liveSassCompile.settings.excludeList` settings. You can use negative glob pattern.

* _Example : if you want exclude all file except `file1.scss` & `file2.scss` from `path/subpath` directory, you can use the expression_ -
```json
[
"path/subpath/*[!(file1|file2)].scss"
]
```


* ***[New Settings [#8](https://github.com/ritwickdey/vscode-live-sass-compiler/issues/8) ]*** `liveSassCompile.settings.includeItems` : This setting is useful when you deals with only few of sass files. Only mentioned Sass files will be included. NOTE: No need to include partial sass files. *[Thanks [PatrickPahlke](https://github.com/PatrickPahlke)]*.



* #### Version 0.3.4 (15.08.2017)
* **[Fixed [#7](https://github.com/ritwickdey/vscode-live-sass-compiler/issues/7)]** Duplicate Output. _[Thanks [Tomekk-hnm](https://github.com/tomekk-hnm)]_.

Expand Down Expand Up @@ -85,7 +122,7 @@ Inside of the `settings.json`, type following key-value pairs. By the way you'll
"liveSassCompile.settings.savePath": "/dist/css",
"liveSassCompile.settings.format": "compressed",
"liveSassCompile.settings.extensionName" : ".min.css",
"liveSassCompile.settings.excludeFolders": [
"liveSassCompile.settings.excludeList": [
"**/node_modules/**",
".vscode/**"
]
Expand Down
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
{
"name": "live-sass",
"displayName": "Live Sass Compiler",
"description": "Compile SASS or SCSS to CSS at realtime with live browser reload.",
"version": "0.3.4",
"description": "Compile Sass or Scss to CSS at realtime with live browser reload.",
"version": "0.4.0",
"publisher": "ritwickdey",
"author": {
"name": "Ritwick Dey",
Expand Down Expand Up @@ -96,7 +96,7 @@
"liveSassCompile.settings.includeItems": {
"type": ["array", "null"],
"default": null,
"description": "Only this Sass files will be included. \nNo need to include partial sass files."
"description": "This setting is useful when you deals with only few of sass files. Only mentioned Sass files will be included. \nNOTE: No need to include partial sass files."
}
}
}
Expand Down

0 comments on commit f07deef

Please sign in to comment.