This repository was archived by the owner on Mar 10, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 173
Show output window only on error #436
Open
zsombok
wants to merge
419
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 hidden or 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
Author
|
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 |
Ignore the workflows when packing
Removed Travis and tweaked GitHub workflow
Still broken @ CLI level, more testing to be done
# 5.0.0 - 2021-04-06 ### 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`, `Error` or `None` - 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 ### 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 - Error catching no longer fails when the error is with finding SASS files. Instead, this fact is highlighted ### 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)* ### 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 - A lot of documentation tweaks
# 5.0.0 - 2021-04-06 ### 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`, `Error` or `None` - 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 ### 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 - Error catching no longer fails when the error is with finding SASS files. Instead, this fact is highlighted ### 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)* ### 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 - A lot of documentation tweaks
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
- Added funding message to README - Added funding link to extension config - Aligned all badges to use the `for-the-badge` style
- Added funding message to README - Added funding link to extension config - Aligned all badges to use the `for-the-badge` style
### Breaking Changes - Requires VS Code v1.95 or later ### Updated - `sass-embedded` to `1.87.0` [Changelog][cl:se] - `autoprefixer` to `10.4.21` [Changelog][cl:fd] - `fdir` to `6.4.4` [Changelog][cl:fd] - `postcss` to `8.5.3` [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:se]: https://github.com/sass/embedded-host-node/blob/main/CHANGELOG.md
…3/vscode-live-sass-compiler into vs-bump-plus-dependents
- Migrated to ESLint flat config - Added new dependencies, caused by migration - Code tweaks for new linting
### Breaking Changes - Requires VS Code v1.95 or later ### Updated - `sass-embedded` to `1.87.0` [Changelog][cl:se] - `autoprefixer` to `10.4.21` [Changelog][cl:fd] - `fdir` to `6.4.4` [Changelog][cl:fd] - `postcss` to `8.5.3` [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:se]: https://github.com/sass/embedded-host-node/blob/main/CHANGELOG.md
- Those who historically used `useNewCompiler` will find that source contents are no longer included inline by default.
To restore the old behavior, set `generateMapIncludeSources` to `true`.
### Added
- New `formats[].generateMapIncludeSources` setting allows you to decide on map output on a format basis. By default, they aren't included
The `liveSassCompile.settings.generateMapIncludeSources` is applied if the formats setting is `null` (its default).
### Breaking Changes
- Those who historically used `useNewCompiler` will find that source contents are no longer included inline by default.
To restore the old behaviour, set `generateMapIncludeSources` to `true`.
### Added
- New `formats[].generateMapIncludeSources` setting allows you to decide on map output on a format basis. By default, they aren't included
The `liveSassCompile.settings.generateMapIncludeSources` is applied if the formats setting is `null` (its default).
### Changed - Start-up optimisation for when `compileOnLaunch` is `true`, in larger projects
### Changed - Start-up optimisation for when compiling is done upon launch (in larger projects)
- Dependency bumps - Updated files to reflect the v6.1.3/6.1.4 changes that were made to the changelog, publish file and package versioning
- Dependency bumps - Updated files to reflect the v6.1.3/6.1.4 changes that were made to the changelog, publish file and package versioning
fixed typo— "hear"
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