Skip to content

Commit 772266a

Browse files
committed
v2.0.1 update #73
1 parent f80fd81 commit 772266a

File tree

4 files changed

+13
-144
lines changed

4 files changed

+13
-144
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33

44
| Version | Date | Changelog|
55
| ------- | -------- | ------ |
6+
|2.1.0| 28.06.2018 | — ***[Fixes [#73](https://github.com/ritwickdey/vscode-live-sass-compiler/issues/73)]*** Change detection of Partial Sass was missing in `v2.0.0` |
67
|2.0.0|27.06.2018| &mdash; Fixes [#6](https://github.com/ritwickdey/vscode-live-sass-compiler/issues/6) [#62](https://github.com/ritwickdey/vscode-live-sass-compiler/issues/62) <br>&mdash; Include Path Fixes <br>&mdash; Grid Autoprefix <br>&mdash; Autoprefix is now on by default|
78
|1.3.0|19.02.2018| &mdash; ***[NEW [#41](https://github.com/ritwickdey/vscode-live-sass-compiler/pull/41)]*** <br> - added ability to suppress the output window<br> - Statusbar button Color change based on `Success` and `error`.<br><br>_[Thanks a lot to [Brandon Baker](https://github.com/bmwigglestein) for sumitting the PR ]_|
89
|1.2.0|21.12.17| &mdash; ***[New Features [#26](https://github.com/ritwickdey/vscode-live-sass-compiler/issues/26)]*** `savePath` setting updated. You can now specify `savePath` location relative to your Sass files. *See Settings section for more details* *[Thanks [Marius](https://github.com/morsanu)]* <br><br>&mdash; ***[Bug Fixed [#25](https://github.com/ritwickdey/vscode-live-sass-compiler/issues/25)]*** No more extra new line in generated CSS. *[Thanks [Shahril Amri](https://github.com/redemption024)]* <br><br>&mdash;**[Bug Fixed [#33](https://github.com/ritwickdey/vscode-live-sass-compiler/issues/33)]** Now firefox is recognizing source scss file. *[Thanks [Felix](https://github.com/felix007)]*|

README.md

Lines changed: 7 additions & 139 deletions
Original file line numberDiff line numberDiff line change
@@ -32,153 +32,21 @@ A VSCode Extension that help you to compile/transpile your SASS/SCSS files to CS
3232
Open VSCode Editor and Press `ctrl+P`, type `ext install live-sass`.
3333

3434
## Settings
35-
* ~~**`liveSassCompile.settings.format`**~~
36-
<hr>
37-
* ~~**`liveSassCompile.settings.savePath`**~~
38-
<hr>
39-
* ~~**`liveSassCompile.settings.extensionName`**~~
40-
41-
<hr>
42-
* ***[NEW]*** **`liveSassCompile.settings.formats`** : To setup Format (style), Extension Name & Save location for exported css [Multiple Format Supported].
43-
44-
* *Format can be _`expanded`_, _`compact`_, _`compressed`_ or _`nested`_. _Default is `expanded`._*
45-
46-
* *Extension Name can be `.css` or `.min.css`. Default is `.css`.*
47-
48-
* ***[New]*** Save location is relative from workspace root or your Sass files.
49-
* Default value is `null`. (`null` means, it will generate CSS in the location of scss/sass. By The Way, It is `null`, NOT `"null"`).
50-
51-
* "`/`" denotes relative to root.
52-
53-
* "`~`" denotes relative to every sass file. - Complex Scenario. *([Checkout the example](https://github.com/ritwickdey/vscode-live-sass-compiler/issues/26#issue-274641546))*
54-
55-
* *Example :*
56-
57-
```js
58-
"liveSassCompile.settings.formats":[
59-
// This is Default.
60-
{
61-
"format": "expanded",
62-
"extensionName": ".css",
63-
"savePath": null
64-
},
65-
// You can add more
66-
{
67-
"format": "compressed",
68-
"extensionName": ".min.css",
69-
"savePath": "/dist/css"
70-
},
71-
// More Complex
72-
{
73-
"format": "compressed",
74-
"extensionName": ".min.css",
75-
"savePath": "~/../css/"
76-
}
77-
]
78-
```
79-
<hr>
80-
* **`liveSassCompile.settings.excludeList`:** To Exclude specific folders. All Sass/Scss files inside the folders will be ignored.
81-
* _default value :_
82-
```json
83-
"liveSassCompile.settings.excludeList": [
84-
"**/node_modules/**",
85-
".vscode/**"
86-
]
87-
```
88-
* You can use negative glob pattern.
89-
90-
* _Example : if you want exclude all file except `file1.scss` & `file2.scss` from `path/subpath` directory, you can use the expression -_
91-
92-
```json
93-
"liveSassCompile.settings.excludeList": [
94-
"path/subpath/*[!(file1|file2)].scss"
95-
]
96-
```
97-
<hr>
98-
* **`liveSassCompile.settings.includeItems`:** This setting is useful when you deals with only few of sass files. Only mentioned Sass files will be included.
99-
100-
* *NOTE: No need to include partial sass files.*
101-
* *Default value is `null`*
102-
* Example :
103-
```json
104-
"liveSassCompile.settings.includeItems": [
105-
"path/subpath/a.scss",
106-
"path/subpath/b.scss",
107-
]
108-
```
109-
<hr>
110-
* **`liveSassCompile.settings.generateMap`:** Set it as `false` if you don't want `.map` file for compiled CSS.
111-
* _Default is `true`._
112-
113-
<hr>
114-
* **`liveSassCompile.settings.autoprefix` :**
115-
Automatically add vendor prefixes to unsupported CSS properties (e. g. `transform` -> `-ms-transform`).
116-
117-
* _Specify what browsers to target with an array of strings (uses [Browserslist](https://github.com/ai/browserslist))._
118-
* _Set `null` to turn off. (Default is `null`)_
119-
120-
* Example:
121-
```json
122-
"liveSassCompile.settings.autoprefix": [
123-
"> 1%",
124-
"last 2 versions"
125-
]
126-
```
127-
<hr>
128-
* **`liveSassCompile.settings.showOutputWindow` :** Set this to `false` if you do not want the output window to show.
129-
* *NOTE: You can use the command palette to open the Live Sass output window.*
130-
* *Default value is `true`*
131-
132-
<hr>
35+
All settings are now listed here [Settings Docs](./docs/settings.md).
36+
37+
## FAQ
38+
*All FAQs are now listed here [FAQ Docs](./docs/faqs.md)*
13339

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

13743
## What's new ?
13844

139-
* #### Version 2.0.0 (27.06.2018)
140-
* Fixes [#6](https://github.com/ritwickdey/vscode-live-sass-compiler/issues/6) [#62](https://github.com/ritwickdey/vscode-live-sass-compiler/issues/62)
141-
* Include Path Fixes
142-
* Grid Autoprefix
143-
* Autoprefix is now on by default
144-
145-
45+
* #### Version 2.1.0 (27.06.2018)
46+
* ***[Fixes [#73](https://github.com/ritwickdey/vscode-live-sass-compiler/issues/73)]*** Change detection of Partial Sass was missing in `v2.0.0`
14647

14748
## Changelog
14849
To check full changelog click here [changelog](CHANGELOG.md).
14950

15051
## LICENSE
151-
This extension is licensed under the [MIT License](LICENSE)
152-
153-
## FAQ (For Beginners)
154-
155-
### How to config the settings in my project?
156-
157-
Create a `.vscode` folder in the root of project. Inside of `.vscode` folder create a json file named `settings.json`.
158-
Inside of the `settings.json`, type following key-value pairs. By the way you'll get intelli-sense.
159-
160-
```json
161-
{
162-
"liveSassCompile.settings.formats":[
163-
{
164-
"format": "expanded",
165-
"extensionName": ".css",
166-
"savePath": "/css"
167-
},
168-
{
169-
"extensionName": ".min.css",
170-
"format": "compressed",
171-
"savePath": "/dist/css"
172-
}
173-
],
174-
"liveSassCompile.settings.excludeList": [
175-
"**/node_modules/**",
176-
".vscode/**"
177-
],
178-
"liveSassCompile.settings.generateMap": true,
179-
"liveSassCompile.settings.autoprefix": [
180-
"> 1%",
181-
"last 2 versions"
182-
]
183-
}
184-
```
52+
This extension is licensed under the [MIT License](LICENSE)

package-lock.json

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"name": "live-sass",
33
"displayName": "Live Sass Compiler",
44
"description": "Compile Sass or Scss to CSS at realtime with live browser reload.",
5-
"version": "2.0.0",
5+
"version": "2.1.0",
66
"publisher": "ritwickdey",
77
"author": {
88
"name": "Ritwick Dey",
@@ -139,7 +139,7 @@
139139
"array",
140140
"null"
141141
],
142-
"default": [
142+
"default": [
143143
"> 1%",
144144
"last 2 versions"
145145
],
@@ -187,7 +187,7 @@
187187
"@types/mocha": "^2.2.32"
188188
},
189189
"announcement": {
190-
"onVersion": "2.0.0",
191-
"message": "SassCompiler: CSS Prefix is now by Default. Grid Prefix added & Core Library is upgraded"
190+
"onVersion": "2.1.0",
191+
"message": "SassCompiler@2.1.0: Fixes Partial Sass Issue"
192192
}
193193
}

0 commit comments

Comments
 (0)