Skip to content

Commit

Permalink
chore: prep for release (#164)
Browse files Browse the repository at this point in the history
  • Loading branch information
sketchbuch authored Apr 28, 2024
1 parent dfc862c commit 6244e13
Show file tree
Hide file tree
Showing 6 changed files with 29 additions and 41 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ on:
workflow_dispatch:
jobs:
vscemp:
name: VScode Marketplace
name: VSCode Marketplace
runs-on: ubuntu-latest
steps:
- name: Checkout
Expand All @@ -25,7 +25,7 @@ jobs:
- name: Install Vsce
run: npm i -g vsce

- name: Publish to VScode Marketplace
- name: Publish to VSCode Marketplace
if: github.event_name != 'workflow_dispatch'
run: vsce publish -p ${{ secrets.VSCE_TOKEN }}

Expand Down
25 changes: 7 additions & 18 deletions .github/workflows/publish_vscodemp_manual.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Publish this VSCode Extension to the VSCode Marketplace and OpenVSIX Marketplace
# Publish this VSCode Extension to the VSCode Marketplace

name: Publish to VSCode Marketplace (Manual)
on:
Expand All @@ -8,21 +8,10 @@ jobs:
name: VScode Marketplace
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4

- name: Setup Node
uses: actions/setup-node@v4
- name: Publish to VSCode Marketplace
uses: HaaLeo/publish-vscode-extension@v1.6.2
with:
node-version: '${{ vars.NODE_VERSION }}'
registry-url: 'https://registry.npmjs.org'

- name: Install Dependencies
run: yarn

- name: Install Vsce
run: npm i -g vsce

- name: Publish to VScode Marketplace
if: github.event_name == 'workflow_dispatch'
run: vsce publish -p ${{ secrets.VSCE_TOKEN_OLD }}
dryRun: true
pat: ${{ secrets.VSCE_TOKEN }}
registryUrl: https://marketplace.visualstudio.com
yarn: true
9 changes: 9 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,15 @@

[Back to Readme](README.md)

## [2.0.4](https://github.com/sketchbuch/vsc-workspace-sidebar/compare/v2.0.0...v2.0.4) (2024-04-28)
- Closes [#145](https://github.com/sketchbuch/vsc-workspace-sidebar/issues/145): Adds additional information on the loading screen
- Closes [#146](https://github.com/sketchbuch/vsc-workspace-sidebar/issues/146): Updated documentation
- Closes [#147](https://github.com/sketchbuch/vsc-workspace-sidebar/issues/147): Impoved the config watch to be more efficient
- Closes [#153](https://github.com/sketchbuch/vsc-workspace-sidebar/issues/153): Closed folders are now opened when searching
- Fixes [#148](https://github.com/sketchbuch/vsc-workspace-sidebar/issues/148): The wrong tooltip was used on some folders. This has been corrected
- Fixes [#157](https://github.com/sketchbuch/vsc-workspace-sidebar/issues/157): excludeHiddenFolders is no longer applied to the last folder in a rootFolder path.
- Added space between root folders and made the root folder name more obvious via CSS changes. Also the root folders will now have their name cleaned if `workspaceSidebar.cleanLabels` is true

## [2.0.0](https://github.com/sketchbuch/vsc-workspace-sidebar/compare/v1.7.1...v2.0.0) (2024-03-05)
- Closes [#61](https://github.com/sketchbuch/vsc-workspace-sidebar/issues/61): Mutiple root folders
- Closes [#102](https://github.com/sketchbuch/vsc-workspace-sidebar/issues/102) [#124](https://github.com/sketchbuch/vsc-workspace-sidebar/issues/124): Better invalid folder handling
Expand Down
28 changes: 9 additions & 19 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,25 +10,15 @@ You can then easily change Workspaces or open another Workspace in a new window.

![Workspace Sidebar Preview](docs/images/preview/preview.gif)

## What's new in v2.0.0?

Firstly, multiple root folders are now supported. Previously only one root folder was possible. You can also override default values for depth and the exclusion of hidden folders. This took quite a rewrite as the entire extension was only built for one root folder.

```json
{
"workspaceSidebar.rootFolders": [
{ "path": "/home/user/Apps", "excludeHiddenFolders": false},
{ "path": "~/Projects", "depth": 5}
{ "path": "/data/Dev"},
]
}
```

The root folder setting are now machine scoped to allow different machines (including remote) to have different root folders. This has the side-effect that they are no longer synced like other settings, so each machine will need to provide their own root folders config.

Secondly, symlinks are now usable. Previously they showed an error message about not being a folder. How path issues and handled in cases where folders are files, or not existing at all have also been improved.

Lastly, the documentation has been updated, not just the markdown but also the settings show more information particularly when they are arrays or objects.
## What's new in v2.0.4?

- Added space between root folders and made the root folder name more obvious via CSS changes. Also the root folders will now have their name cleaned if `workspaceSidebar.cleanLabels` is true
- Adds additional information on the loading screen
- Closed folders are now opened when searching
- excludeHiddenFolders is no longer applied to the last folder in a rootFolder path.
- Impoved the config watch to be more efficient
- The wrong tooltip was used on some folders. This has been corrected
- Updated documentation

[See the Changelog](CHANGELOG.md) for more detailed information.

Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "vsc-workspace-sidebar",
"description": "An extension for VSCode to switch Workspaces with ease.",
"displayName": "Workspace Sidebar",
"version": "2.0.3",
"version": "2.0.4",
"activationEvents": [
"onStartupFinished"
],
Expand Down
2 changes: 1 addition & 1 deletion src/webviews/Workspace/WorkspaceViewProvider.ts
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ export class WorkspaceViewProvider
public static readonly viewType = EXT_WEBVIEW_WS
private _view?: vscode.WebviewView
private _cssGenerator: CssGenerator
private readonly _version: string = '2.0.0'
private readonly _version: string = '2.0.4'

constructor(
private readonly _ctx: vscode.ExtensionContext,
Expand Down

0 comments on commit 6244e13

Please sign in to comment.