Skip to content

Commit bbad506

Browse files
committed
feat: ✨ Update README and CHANGELOG for new settings and packaging instructions
* Added new settings to README for `powershellLocalization.logLevel` and `powershellLocalization.uiCulture`. * Updated CHANGELOG to reflect the release version 0.2.0 and included new features and fixes. * Reorganized packaging instructions for clarity.
1 parent ab82c2b commit bbad506

4 files changed

Lines changed: 17 additions & 15 deletions

File tree

.github/copilot-instructions.md

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -27,17 +27,12 @@ A Visual Studio Code extension that displays PowerShell localization variable va
2727
yarn run lint
2828
```
2929

30-
4. **Install Visual Studio Code Extension manager** (takes ~90 seconds, NEVER CANCEL):
31-
```bash
32-
npm install -g @vscode/vsce
33-
```
34-
35-
5. **Package the extension** (takes ~5 seconds):
30+
4. **Package the extension** (takes ~5 seconds):
3631
```bash
3732
echo 'y' | vsce package --allow-missing-repository
3833
```
3934

40-
6. **Complete build and validation** (total time ~2-3 minutes, NEVER CANCEL - use 300+ second timeout):
35+
5. **Complete build and validation** (total time ~2-3 minutes, NEVER CANCEL - use 300+ second timeout):
4136
```bash
4237
yarn install && yarn run compile && yarn run lint && vsce package --allow-missing-repository
4338
```
@@ -168,6 +163,7 @@ yarn run lint && yarn run compile && vsce package --allow-missing-repository
168163
- [ ] CHANGELOG.md has been updated with your changes in the "Unreleased" section
169164
- [ ] Changelog entries follow Keep a Changelog format with appropriate categories
170165
- [ ] Changelog descriptions are clear and user-focused
166+
- [ ] README.md has been updated if your changes affect user-facing functionality or installation instructions
171167

172168
## Architecture Overview
173169

CHANGELOG.md

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,10 @@ in this file.
66
Check [Keep a Changelog](http://keepachangelog.com/) for recommendations on how
77
to structure this file.
88

9-
## [Unreleased]
9+
## [0.2.0] August 12, 2025
1010

1111
### Added
12+
1213
- UICulture configuration support for PowerShell localization
1314
- New `powershellLocalization.uiCulture` setting to specify default UI culture (e.g., 'en-US', 'fr-FR')
1415
- Setting validates culture format using pattern `^[a-z]{2}(-[A-Z]{2})?$`
@@ -39,6 +40,7 @@ to structure this file.
3940
- Debug messages are now filtered out by default, providing cleaner output
4041

4142
### Fixed
43+
4244
- LocalizationParser.ps1 now defaults to en-US culture when UICulture parameter is not provided
4345
- Fixes Import-LocalizedData failures in environments with invariant culture
4446
- Ensures localization files can be found in culture-specific subdirectories
@@ -60,3 +62,6 @@ to structure this file.
6062
- The extension turns on when it detects PowerShell files.
6163
- The localized data is cached for efficiency and is reloaded when the psm1 or
6264
psd1 files are modified.
65+
66+
[0.2.0]: https://github.com/PSInclusive/PowerShellLocalization/tree/v0.2.0
67+
[0.1.0]: https://github.com/PSInclusive/PowerShellLocalization/tree/v0.1.0

README.md

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -37,12 +37,13 @@ code.
3737

3838
This extension contributes the following settings:
3939

40-
- `powershellLocalization.enableDecorations`: Enable/disable decoration display
41-
of localization variable values during code writing (default: true)
42-
- `powershellLocalization.enableInlineValues`: Enable/disable inline display of
43-
localization variable values during debugging (default: false)
44-
- `powershellLocalization.searchExclude`: Configure glob patterns for excluding
45-
directories and files from PowerShell module scanning
40+
| Setting | Description | Default | Options |
41+
|---------|-------------|---------|---------|
42+
| `powershellLocalization.enableDecorations` | Enable/disable decoration display of localization variable values during code writing | `true` | `true`, `false` |
43+
| `powershellLocalization.enableInlineValues` | Enable/disable inline display of localization variable values during debugging | `false` | `true`, `false` |
44+
| `powershellLocalization.searchExclude` | Configure glob patterns for excluding directories and files from PowerShell module scanning | Excludes `node_modules`, `out`, `dist`, and `.git` directories | Array of glob patterns |
45+
| `powershellLocalization.logLevel` | Set the logging level for the extension | `info` | `error`, `warn`, `info`, `debug` |
46+
| `powershellLocalization.uiCulture` | Specify the UI culture for PowerShell localization data | `en-US` | Language codes like `en-US`, `fr-FR`, `de-DE` |
4647

4748
## Installation
4849

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"name": "powershelllocalization",
33
"displayName": "PowerShell Localization",
44
"description": "View PowerShell localization variables inline.",
5-
"version": "0.1.0",
5+
"version": "0.2.0",
66
"license": "MIT",
77
"author": {
88
"name": "Gilbert Sanchez"

0 commit comments

Comments
 (0)