This repository has been archived by the owner on Mar 10, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 168
Show output window only on error #436
Open
zsombok
wants to merge
397
commits into
ritwickdey:master
Choose a base branch
from
glenn2223:master
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
WEEEEEE! Thanks for updating quickly! Huge frustration&time-saver! Cheers |
Can you close this PR and add any issues/feature requests over on my own version. I had no idea this was even here until, by chance, I clicked over to PR's on Ritwick's original version. Thanks |
# 5.0.0-rc.1 - 2021-04-01 ### Breaking changes - Not dependant on `ritwickdey.LiveServer` as there was no actual code dependencies in the extension ([#23](#23)). If you require the Live Server extension, it can still be installed from [here](https://marketplace.visualstudio.com/items?itemName=ritwickdey.LiveServer) - Changes to the `showOutputWindow` setting, **now called `showOutputWindowOn`** ([#26](#26)) - The system now acts as more of a logger rather than a mass of information - Accepted values are now `Trace`, `Debug`, `Information`, `Warning` or `Error` - The default is now `Warning` - Changes to [`autoprefix` settings](https://github.com/glenn2223/vscode-live-sass-compiler/blob/master/docs/settings.md#livesasscompilesettingsautoprefix) ([#41](#41)) - The default is now `defaults` *(as per Autoprefixer recommendations)* - The setting no longer accepts `string[] OR null`, but a `string[] OR boolean` - Rather than `null`, you now use `false` - No longer supporting `brace expansion` glob patterns ([#27](#27)) - This is because the underlying glob pattern matching has moved from `minimatch` to `picomatch`. A full feature comparison can be found [here](https://github.com/micromatch/picomatch#library-comparisons) - Only works on VS Code v1.52 and newer ([#34](#34)) - Settings have been updated for continuity and to better aid extension performance ([#30](#30)) - `formats[].savePath` must start with a path separator but not end in one - `includeItems` must start with a path separator and end in either `.sass` or `.scss` (for performance purposes) - `forceBaseDirectory` must start with a path separator but not end in one ### Changed - Now using `fdir` with `picomatch` instead of `glob` and `minimatch` - Speed improvements, the most significant of which will be on larger projects - Greater support for glob patterns ### Added - When `autoprefix` is true we will search for either: - a `.browserlistsrc` file or, - `"browserslist": [ string[] ]` in a `package.json` file *(This allows you to use the same setting across your solution, rather than duplicating content)* - Increased range of glob pattern support - Full support for `extglobs` - Added support for `posix brackets` - Added support for `regex syntax` - *Full comparison can be found [here](https://github.com/micromatch/picomatch#library-comparisons)* - When a change is detected the initial output now includes a date and time stamp - See [this comment](#26 (comment)) on [#26](#26) ### Fixed - Fixed: the `formats[].savePathSegmentKeys` setting would allow non string values in the array - Fixed: the `excludeList` setting would allow non string values in the array - Fixed: the `includeItems` setting would allow non string values in the array - Fixed: the `autoprefix` setting would allow non string values in the array - Fixed: some setting descriptions have been updated for better clarity/readability ### Updated - `autoprefixer` from `10.2.4` to `10.2.5` - Fixed `:` support in `@supports` - `postcss` from `8.2.4` to `8.2.9` - Small fixes *(nothing user facing)* - `sass` from `1.32.5` to `1.32.8` - Allow `@forward...with` to take arguments that have a `!default` flag without a trailing comma. - Improve the performance of unitless and single-unit numbers. - Other small changes *(nothing user facing)* - Various dev dependency updates *(nothing user facing)*
# 5.0.0-rc.1 - 2021-04-01 ### Breaking changes - Not dependant on `ritwickdey.LiveServer` as there was no actual code dependencies in the extension ([#23](#23)). If you require the Live Server extension, it can still be installed from [here](https://marketplace.visualstudio.com/items?itemName=ritwickdey.LiveServer) - Changes to the `showOutputWindow` setting, **now called `showOutputWindowOn`** ([#26](#26)) - The system now acts as more of a logger rather than a mass of information - Accepted values are now `Trace`, `Debug`, `Information`, `Warning` or `Error` - The default is now `Warning` - Changes to [`autoprefix` settings](https://github.com/glenn2223/vscode-live-sass-compiler/blob/master/docs/settings.md#livesasscompilesettingsautoprefix) ([#41](#41)) - The default is now `defaults` *(as per Autoprefixer recommendations)* - The setting no longer accepts `string[] OR null`, but a `string[] OR boolean` - Rather than `null`, you now use `false` - No longer supporting `brace expansion` glob patterns ([#27](#27)) - This is because the underlying glob pattern matching has moved from `minimatch` to `picomatch`. A full feature comparison can be found [here](https://github.com/micromatch/picomatch#library-comparisons) - Only works on VS Code v1.52 and newer ([#34](#34)) - Settings have been updated for continuity and to better aid extension performance ([#30](#30)) - `formats[].savePath` must start with a path separator but not end in one - `includeItems` must start with a path separator and end in either `.sass` or `.scss` (for performance purposes) - `forceBaseDirectory` must start with a path separator but not end in one ### Changed - Now using `fdir` with `picomatch` instead of `glob` and `minimatch` - Speed improvements, the most significant of which will be on larger projects - Greater support for glob patterns ### Added - When `autoprefix` is true we will search for either: - a `.browserlistsrc` file or, - `"browserslist": [ string[] ]` in a `package.json` file *(This allows you to use the same setting across your solution, rather than duplicating content)* - Increased range of glob pattern support - Full support for `extglobs` - Added support for `posix brackets` - Added support for `regex syntax` - *Full comparison can be found [here](https://github.com/micromatch/picomatch#library-comparisons)* - When a change is detected the initial output now includes a date and time stamp - See [this comment](#26 (comment)) on [#26](#26) ### Fixed - Fixed: the `formats[].savePathSegmentKeys` setting would allow non string values in the array - Fixed: the `excludeList` setting would allow non string values in the array - Fixed: the `includeItems` setting would allow non string values in the array - Fixed: the `autoprefix` setting would allow non string values in the array - Fixed: some setting descriptions have been updated for better clarity/readability ### Updated - `autoprefixer` from `10.2.4` to `10.2.5` - Fixed `:` support in `@supports` - `postcss` from `8.2.4` to `8.2.9` - Small fixes *(nothing user facing)* - `sass` from `1.32.5` to `1.32.8` - Allow `@forward...with` to take arguments that have a `!default` flag without a trailing comma. - Improve the performance of unitless and single-unit numbers. - Other small changes *(nothing user facing)* - Various dev dependency updates *(nothing user facing)*
# 5.0.0-rc.1 - 2021-04-01 ### Breaking changes - Not dependant on `ritwickdey.LiveServer` as there was no actual code dependencies in the extension ([#23](#23)). If you require the Live Server extension, it can still be installed from [here](https://marketplace.visualstudio.com/items?itemName=ritwickdey.LiveServer) - Changes to the `showOutputWindow` setting, **now called `showOutputWindowOn`** ([#26](#26)) - The system now acts as more of a logger rather than a mass of information - Accepted values are now `Trace`, `Debug`, `Information`, `Warning` or `Error` - The default is now `Warning` - Changes to [`autoprefix` settings](https://github.com/glenn2223/vscode-live-sass-compiler/blob/master/docs/settings.md#livesasscompilesettingsautoprefix) ([#41](#41)) - The default is now `defaults` *(as per Autoprefixer recommendations)* - The setting no longer accepts `string[] OR null`, but a `string[] OR boolean` - Rather than `null`, you now use `false` - No longer supporting `brace expansion` glob patterns ([#27](#27)) - This is because the underlying glob pattern matching has moved from `minimatch` to `picomatch`. A full feature comparison can be found [here](https://github.com/micromatch/picomatch#library-comparisons) - Only works on VS Code v1.52 and newer ([#34](#34)) - Settings have been updated for continuity and to better aid extension performance ([#30](#30)) - `formats[].savePath` must start with a path separator but not end in one - `includeItems` must start with a path separator and end in either `.sass` or `.scss` (for performance purposes) - `forceBaseDirectory` must start with a path separator but not end in one ### Changed - Now using `fdir` with `picomatch` instead of `glob` and `minimatch` - Speed improvements, the most significant of which will be on larger projects - Greater support for glob patterns ### Added - When `autoprefix` is true we will search for either: - a `.browserlistsrc` file or, - `"browserslist": [ string[] ]` in a `package.json` file *(This allows you to use the same setting across your solution, rather than duplicating content)* - Increased range of glob pattern support - Full support for `extglobs` - Added support for `posix brackets` - Added support for `regex syntax` - *Full comparison can be found [here](https://github.com/micromatch/picomatch#library-comparisons)* - When a change is detected the initial output now includes a date and time stamp - See [this comment](#26 (comment)) on [#26](#26) ### Fixed - Fixed: the `formats[].savePathSegmentKeys` setting would allow non string values in the array - Fixed: the `excludeList` setting would allow non string values in the array - Fixed: the `includeItems` setting would allow non string values in the array - Fixed: the `autoprefix` setting would allow non string values in the array - Fixed: some setting descriptions have been updated for better clarity/readability ### Updated - `autoprefixer` from `10.2.4` to `10.2.5` - Fixed `:` support in `@supports` - `postcss` from `8.2.4` to `8.2.9` - Small fixes *(nothing user facing)* - `sass` from `1.32.5` to `1.32.8` - Allow `@forward...with` to take arguments that have a `!default` flag without a trailing comma. - Improve the performance of unitless and single-unit numbers. - Other small changes *(nothing user facing)* - Various dev dependency updates *(nothing user facing)*
v5.0.0-rc2 => ahead
# 5.0.0-rc.3 - 2021-04-02 ### Fixes - Checking file exclusion not working when there was a `forceBasePath` - Trace logging wrote `Folder: [object Object]` it now writes the folder name - Re-added ability to turn off output window on errors [#53](#53). This adds the new `showOutputWindowOn` option `"None"` The only time the output window is shown is: - Running the `liveSass.command.debugInclusion` (`Check file will be included`) command - Running the `liveSass.command.debugFileList` (`Get all included files`) command - When the `forceBaseDirectory` is not found or invalid (i.e. a file instead of a folder) ### Changed - Some documentation tweaks
# [5.0.0-rc.3] - 2021-04-02 ### Fixes - Checking file exclusion not working when there was a `forceBasePath`<!-- Remove this on full v5 release --> - Trace logging wrote `Folder: [object Object]` it now writes the folder name<!-- Remove this on full v5 release --> - Re-added ability to turn off output window on errors [#53](#53). This adds the new `showOutputWindowOn` option `"None"` The only time the output window is shown is: - Running the `liveSass.command.debugInclusion` (`Check file will be included`) command - Running the `liveSass.command.debugFileList` (`Get all included files`) command - When the `forceBaseDirectory` is not found or invalid (i.e. a file instead of a folder) ### Changed - Some documentation tweaks
Wrong date has been corrected
Wrong date has been corrected
You can now decide to output source maps for each format/output. Now you can have source maps for dev outputs and none for production outputs
Update SASS past 1.62 by forcing import of node version
Allow broader `extensionName` values
Allow `generateMap` at a `formats[]` level
# 6.1.0 - 2023-08-12 <small>[Compare to previous release][comp:6.1.0]</small> ### Added - New 'formats[].generateMap' setting allows you to decide on map output on a format basis The `liveSassCompile.settings.generateMap` is applied if this setting is `null` (its default). ### Changes - 'formats[].extensionName' now allows any string ending with `.css` without throwing a warning. - Tweaks to docs, reflecting the settings changes and correcting outdated info too ### Updated - `sass` to `1.65.1` [Changelog][cl:sa] - `fdir` to `6.0.2` [Changelog][cl:fd] - `postcss` to `8.4.27` [Changelog][cl:pc] - Various dev dependency updates _(nothing user facing)_ [comp:6.1.0]: v6.0.6...v6.1.0 [cl:fd]: https://github.com/thecodrr/fdir/releases [cl:pc]: https://github.com/postcss/postcss/blob/main/CHANGELOG.md [cl:sa]: https://github.com/sass/dart-sass/blob/main/CHANGELOG.md
# 6.1.0 - 2023-08-12 <small>[Compare to previous release][comp:6.1.0]</small> ### Added - New 'formats[].generateMap' setting allows you to decide on map output on a format basis The `liveSassCompile.settings.generateMap` is applied if this setting is `null` (its default). ### Changes - 'formats[].extensionName' now allows any string ending with `.css` without throwing a warning. - Tweaks to docs, reflecting the settings changes and correcting outdated info too ### Updated - `sass` to `1.65.1` [Changelog][cl:sa] - `fdir` to `6.0.2` [Changelog][cl:fd] - `postcss` to `8.4.27` [Changelog][cl:pc] - Various dev dependency updates _(nothing user facing)_ [comp:6.1.0]: v6.0.6...v6.1.0 [cl:fd]: https://github.com/thecodrr/fdir/releases [cl:pc]: https://github.com/postcss/postcss/blob/main/CHANGELOG.md [cl:sa]: https://github.com/sass/dart-sass/blob/main/CHANGELOG.md
Corrected ' with `
Updated `Publich CI` action to remove a warning
Updated `Publish CI` action to remove a warning when the action runs
# 6.1.1 - 2023-08-18 <small>[Compare to previous release][comp:6.1.1]</small> ### Changes - Updated sass to v1.66.0 to revert breaking change "_Drop support for the additional CSS calculations defined in CSS Values and Units 4. Custom Sass functions whose names overlapped with these new CSS functions were being parsed as CSS calculations instead, causing an unintentional breaking change outside our normal compatibility policy for CSS compatibility changes_" ### Updated - `sass` to `1.66.0` [Changelog][cl:sa] - `fdir` to `6.1.0` [Changelog][cl:fd] - `postcss` to `8.4.28` [Changelog][cl:pc] - `autoprefixer` to `10.4.15` [Changelog][cl:ap] - Various dev dependency updates _(nothing user facing)_ [comp:6.1.1]: v6.1.0...v6.1.1 [cl:ap]: https://github.com/postcss/autoprefixer/blob/main/CHANGELOG.md [cl:fd]: https://github.com/thecodrr/fdir/releases [cl:pc]: https://github.com/postcss/postcss/blob/main/CHANGELOG.md [cl:sa]: https://github.com/sass/dart-sass/blob/main/CHANGELOG.md
# 6.1.1 - 2023-08-18 <small>[Compare to previous release][comp:6.1.1]</small> ### Changes - Updated sass to v1.66.0 to revert breaking change "_Drop support for the additional CSS calculations defined in CSS Values and Units 4. Custom Sass functions whose names overlapped with these new CSS functions were being parsed as CSS calculations instead, causing an unintentional breaking change outside our normal compatibility policy for CSS compatibility changes_" ### Updated - `sass` to `1.66.0` [Changelog][cl:sa] - `fdir` to `6.1.0` [Changelog][cl:fd] - `postcss` to `8.4.28` [Changelog][cl:pc] - `autoprefixer` to `10.4.15` [Changelog][cl:ap] - Various dev dependency updates _(nothing user facing)_ [comp:6.1.1]: v6.1.0...v6.1.1 [cl:ap]: https://github.com/postcss/autoprefixer/blob/main/CHANGELOG.md [cl:fd]: https://github.com/thecodrr/fdir/releases [cl:pc]: https://github.com/postcss/postcss/blob/main/CHANGELOG.md [cl:sa]: https://github.com/sass/dart-sass/blob/main/CHANGELOG.md
### Fixed - File resolution in network drives on windows is working again; after break in v6.1.1. Closes [#323](#323) ### Updated - `fdir` to `6.1.1` [Changelog][cl:fd] - `picomatch` to `3.0.1` [Changelog][cl:pm] [cl:fd]: https://github.com/thecodrr/fdir/releases [cl:pm]: https://github.com/micromatch/picomatch/blob/master/CHANGELOG.md
Corrected the wording and issue link in the last changelog update
### Fixed - Fix for a network file-resolution bug introduced in v6.1.1. Closes [#323](#323) ### Updated - `fdir` to `6.1.1` [Changelog][cl:fd] - `picomatch` to `3.0.1` [Changelog][cl:pm] [cl:fd]: https://github.com/thecodrr/fdir/releases [cl:pm]: https://github.com/micromatch/picomatch/blob/master/CHANGELOG.md
# 6.1.2 - 2023-11-22 <small>[Compare to previous release][comp:6.1.2]</small> ### Fixed - Fix for a network file-resolution bug introduced in v6.1.1. Closes [#322](#322) ### Updated - `sass` to `1.69.5` [Changelog][cl:sa] - `fdir` to `6.1.1` [Changelog][cl:fd] - `picomatch` to `3.0.1` [Changelog][cl:pm] - `postcss` to `8.4.31` [Changelog][cl:pc] - `autoprefixer` to `10.4.16` [Changelog][cl:ap] - Various dev dependency updates _(nothing user facing)_ [comp:6.1.2]: v6.1.1...v6.1.2 [cl:ap]: https://github.com/postcss/autoprefixer/blob/main/CHANGELOG.md [cl:fd]: https://github.com/thecodrr/fdir/releases [cl:pc]: https://github.com/postcss/postcss/blob/main/CHANGELOG.md [cl:pm]: https://github.com/micromatch/picomatch/blob/master/CHANGELOG.md [cl:sa]: https://github.com/sass/dart-sass/blob/main/CHANGELOG.md
# 6.1.2 - 2023-11-22 <small>[Compare to previous release][comp:6.1.2]</small> ### Fixed - Fix for a network file-resolution bug introduced in v6.1.1. Closes [#322](#322) ### Updated - `sass` to `1.69.5` [Changelog][cl:sa] - `fdir` to `6.1.1` [Changelog][cl:fd] - `picomatch` to `3.0.1` [Changelog][cl:pm] - `postcss` to `8.4.31` [Changelog][cl:pc] - `autoprefixer` to `10.4.16` [Changelog][cl:ap] - Various dev dependency updates _(nothing user facing)_ [comp:6.1.2]: v6.1.1...v6.1.2 [cl:ap]: https://github.com/postcss/autoprefixer/blob/main/CHANGELOG.md [cl:fd]: https://github.com/thecodrr/fdir/releases [cl:pc]: https://github.com/postcss/postcss/blob/main/CHANGELOG.md [cl:pm]: https://github.com/micromatch/picomatch/blob/master/CHANGELOG.md [cl:sa]: https://github.com/sass/dart-sass/blob/main/CHANGELOG.md
Reshuffled some code around to group some types and functionality. I will probably do more as I work on this
### Breaking Changes - We have moved to the quicker `sass-embedded`. Closes [#327](#327) This uses the latest compiler, but drops these settings: - `liveSassCompile.settings.formats[].linefeed` - `liveSassCompile.settings.formats[].indentType` - `liveSassCompile.settings.formats[].indentWidth` _Note: these 3 would've been dropped for SASS 2.0 anyway_ - `liveSassCompile.settings.useNewCompiler` ### Changed - Switched from `sass@1.69.5` to `sass-embedded@1.79.3` - as mentioned above ### Updated - `autoprefixer` to `10.4.20` [Changelog][cl:fd] - `fdir` to `6.3.0` [Changelog][cl:fd] - `picomatch` to `4.0.2` [Changelog][cl:pm] - `postcss` to `8.4.47` [Changelog][cl:pc] - Various dev dependency updates _(nothing user facing)_ [cl:ap]: https://github.com/postcss/autoprefixer/blob/main/CHANGELOG.md [cl:fd]: https://github.com/thecodrr/fdir/releases [cl:pc]: https://github.com/postcss/postcss/blob/main/CHANGELOG.md [cl:pm]: https://github.com/micromatch/picomatch/blob/master/CHANGELOG.md
### Breaking Changes - We have moved to the quicker `sass-embedded`. Closes [#327](#327) This uses the latest compiler, but drops these settings: - `liveSassCompile.settings.formats[].linefeed` - `liveSassCompile.settings.formats[].indentType` - `liveSassCompile.settings.formats[].indentWidth` _Note: these 3 would've been dropped for SASS 2.0 anyway_ - `liveSassCompile.settings.useNewCompiler` ### Changed - Switched from `sass@1.69.5` to `sass-embedded@1.79.3` - as mentioned above ### Updated - `autoprefixer` to `10.4.20` [Changelog][cl:fd] - `fdir` to `6.3.0` [Changelog][cl:fd] - `picomatch` to `4.0.2` [Changelog][cl:pm] - `postcss` to `8.4.47` [Changelog][cl:pc] - Various dev dependency updates _(nothing user facing)_ [cl:ap]: https://github.com/postcss/autoprefixer/blob/main/CHANGELOG.md [cl:fd]: https://github.com/thecodrr/fdir/releases [cl:pc]: https://github.com/postcss/postcss/blob/main/CHANGELOG.md [cl:pm]: https://github.com/micromatch/picomatch/blob/master/CHANGELOG.md
### Updated - `fdir` to `6.4.0` [Changelog][cl:fd] - `sass-embedded` to `1.79.4` [Changelog][cl:fd] - Various dev dependency updates _(nothing user facing)_ ### Other - Fixed broken tests and added added several new tests - Added test badge to README - Code formatting and linting [cl:fd]: https://github.com/thecodrr/fdir/releases [cl:se]: https://github.com/sass/embedded-host-node/blob/main/CHANGELOG.md
Added a missing call for `actions/checkout@v4`
- Corrected internal VS task - Gave more time to a test, so it can succeed
### Updated - `fdir` to `6.4.0` [Changelog][cl:fd] - `sass-embedded` to `1.79.4` [Changelog][cl:se] - Various dev dependency updates _(nothing user facing)_ ### Other - Fixed broken tests and added added several new tests - Added test badge to README - Code formatting and linting [cl:fd]: https://github.com/thecodrr/fdir/releases [cl:se]: https://github.com/sass/embedded-host-node/blob/main/CHANGELOG.md
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
I'm not sure if I missed this option, but is it possible to show output window only when there is error during compilation?
If not, could you add?
Thanks