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

Conversation

@zsombok
Copy link

@zsombok zsombok commented Jan 24, 2021

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

@zsombok
Copy link
Author

zsombok commented Jan 31, 2021

WEEEEEE! Thanks for updating quickly! Huge frustration&time-saver! Cheers

@glenn2223
Copy link

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

glenn2223 added 28 commits April 4, 2021 01:25
# 5.0.0-rc.4 - 2021-04-04

### Fixes
- Saving a partial (or all files by a command) no longer compiles the partials themselves ([#50](#50))
# 5.0.0-rc.4 - 2021-04-04

### Fixes
- Saving a partial (or all files by a command) no longer compiles the partials themselves ([#50](#50))
Ignore the workflows when packing
- No longer throws error on phantom/non-existent directories ([ #57](#57))
- Errors catching no longer fails when the error is with finding SASS files. Instead this issue is highlighted
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
# 5.0.1 - 2021-04-07

### Fixed
- Bump to stop installation issues caused by original RC uploads ([#54](#54))

### Changes
- No extension changes
# 5.0.1 - 2021-04-07

### Fixed
- Bump to stop installation issues caused by original RC uploads ([#54](#54))

### Changes
- No extension changes
Packages then uses that package instead of building for each.
Uploads package to the release
Packages then uses that package instead of building for each.
Uploads package to the release
glenn2223 and others added 30 commits October 11, 2024 00:11
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
- 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
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants