diff --git a/CHANGELOG.md b/CHANGELOG.md index 9426e66..7b49c2b 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,14 +1,25 @@ # Change Log All notable changes to the "vscode-maven" extension will be documented in this file. - -Check [Keep a Changelog](http://keepachangelog.com/) for recommendations on how to structure this file. +- [Change Log](#change-log) + - [Unreleased](#unreleased) + - [Released](#released) + - [0.1.0](#010) + - [0.0.6](#006) + - [0.0.5](#005) + - [0.0.4](#004) + - [0.0.3](#003) + - [0.0.2](#002) + - [0.0.1](#001) ## Unreleased -- Add context menu on `pom.xml`. -- Support maven archetype generate. ## Released +### 0.1.0 +- Change Logo. +- Add context menu on `pom.xml`. +- Support maven archetype generate. + ### 0.0.6 - Run command in dedicated terminals for each maven project. - Can persist/edit custom goals. diff --git a/README.md b/README.md index a09077c..1b28720 100644 --- a/README.md +++ b/README.md @@ -10,12 +10,24 @@ Maven extension for VS Code. It now reads `pom.xml` in root folder, and provide * support generating effective pom. * support VSCode multi-root workspace. +## Usage +* Basic + ![Screenshot](images/screen.gif) +* Custom goals + ![Screenshot](images/customGoal.gif) +* Archetype + +![Screenshot](images/archetype.gif) + + ## Requirements Maven installed and PATH added, i.e., `mvn` command can be executed directly in the terminal. ## Release Notes + +Refer to [CHANGELOG](CHANGELOG.md) \ No newline at end of file diff --git a/images/archetype.gif b/images/archetype.gif new file mode 100644 index 0000000..4a35051 Binary files /dev/null and b/images/archetype.gif differ diff --git a/package.json b/package.json index cdfa0ee..234f255 100644 --- a/package.json +++ b/package.json @@ -2,7 +2,7 @@ "name": "vscode-maven", "displayName": "Maven Project Explorer", "description": "Browse maven projects in sidebar, execute goals.", - "version": "0.0.6", + "version": "0.1.0", "icon": "resources/logo.png", "publisher": "eskibear", "engines": { @@ -12,7 +12,7 @@ "Languages", "Other" ], - "homepage": "https://github.com/Eskibear/vscode-maven/blob/v0.0.6/README.md", + "homepage": "https://github.com/Eskibear/vscode-maven/blob/v0.1.0/README.md", "repository": { "type": "git", "url": "https://github.com/Eskibear/vscode-maven.git" diff --git a/resources/logo.png b/resources/logo.png index 5d84630..f569a53 100644 Binary files a/resources/logo.png and b/resources/logo.png differ diff --git a/src/mavenProjectsTreeDataProvider.ts b/src/mavenProjectsTreeDataProvider.ts index a322c93..a81cd10 100644 --- a/src/mavenProjectsTreeDataProvider.ts +++ b/src/mavenProjectsTreeDataProvider.ts @@ -19,14 +19,16 @@ export class MavenProjectsTreeDataProvider implements vscode.TreeDataProvider { - const basepath = wf.uri.fsPath; - const item = Utils.getProject(basepath, "pom.xml"); - if (item) { - item.iconPath = this.context.asAbsolutePath(path.join("resources", "project.svg")); - ret.push(item); - } - }); + if (vscode.workspace.workspaceFolders) { + vscode.workspace.workspaceFolders.forEach(wf => { + const basepath = wf.uri.fsPath; + const item = Utils.getProject(basepath, "pom.xml"); + if (item) { + item.iconPath = this.context.asAbsolutePath(path.join("resources", "project.svg")); + ret.push(item); + } + }); + } return Promise.resolve(ret); } else if (element.contextValue === 'mavenProject') {