Signed-off-by: Yan Zhang <yanzh@microsoft.com>
This commit is contained in:
Yan Zhang 2020-07-24 13:17:38 +08:00 коммит произвёл GitHub
Родитель 520a94e04b
Коммит 38d8c033af
Не найден ключ, соответствующий данной подписи
Идентификатор ключа GPG: 4AEE18F83AFDEB23
7 изменённых файлов: 18 добавлений и 10 удалений

Просмотреть файл

@ -1,6 +1,14 @@
# Change Log
All notable changes to the "vscode-maven" extension will be documented in this file.
## 0.23.0
#### Changed
- Rename project explorer. [#512](https://github.com/microsoft/vscode-maven/pull/512)
- Skip project selection when there is only one project. [#516](https://github.com/microsoft/vscode-maven/pull/516)
#### Fixed
- Fix: terminals were wrongly closed. [#513](https://github.com/microsoft/vscode-maven/pull/513)
## 0.22.0
#### Added
- Better support for PowerShell. [#494](https://github.com/microsoft/vscode-maven/pull/494)

Просмотреть файл

@ -2,7 +2,7 @@ Manifest-Version: 1.0
Bundle-ManifestVersion: 2
Bundle-Name: com.microsoft.java.maven
Bundle-SymbolicName: com.microsoft.java.maven.plugin;singleton:=true
Bundle-Version: 0.22.0
Bundle-Version: 0.23.0
Bundle-Activator: com.microsoft.java.maven.PluginActivator
Bundle-RequiredExecutionEnvironment: JavaSE-1.8
Import-Package: org.eclipse.jdt.core,

Просмотреть файл

@ -4,7 +4,7 @@
<parent>
<groupId>com.microsoft.java.maven</groupId>
<artifactId>parent</artifactId>
<version>0.22.0</version>
<version>0.23.0</version>
</parent>
<artifactId>com.microsoft.java.maven.plugin</artifactId>
<packaging>eclipse-plugin</packaging>

Просмотреть файл

@ -4,7 +4,7 @@
<groupId>com.microsoft.java.maven</groupId>
<artifactId>parent</artifactId>
<name>${base.name} :: Parent</name>
<version>0.22.0</version>
<version>0.23.0</version>
<packaging>pom</packaging>
<properties>
<base.name>JDTLS Maven Extension</base.name>

2
package-lock.json сгенерированный
Просмотреть файл

@ -1,6 +1,6 @@
{
"name": "vscode-maven",
"version": "0.22.0",
"version": "0.23.0",
"lockfileVersion": 1,
"requires": true,
"dependencies": {

Просмотреть файл

@ -2,7 +2,7 @@
"name": "vscode-maven",
"displayName": "Maven for Java",
"description": "%description%",
"version": "0.22.0",
"version": "0.23.0",
"icon": "resources/logo.png",
"publisher": "vscjava",
"preview": true,
@ -51,7 +51,7 @@
"main": "./dist/extension",
"contributes": {
"javaExtensions": [
"./jdtls.ext/com.microsoft.java.maven.plugin/target/com.microsoft.java.maven.plugin-0.22.0.jar"
"./jdtls.ext/com.microsoft.java.maven.plugin/target/com.microsoft.java.maven.plugin-0.23.0.jar"
],
"commands": [
{

Просмотреть файл

@ -22,17 +22,17 @@ export function registerArtifactSearcher(context: vscode.ExtensionContext): void
registerCommand(context, COMMAND_SEARCH_ARTIFACT, async (param: any) => await resolver.pickAndAddDependency(param));
languages.registerHoverProvider("java", {
context.subscriptions.push(languages.registerHoverProvider("java", {
provideHover(document: TextDocument, position: Position, _token: CancellationToken): ProviderResult<Hover> {
return resolver.getArtifactsHover(document, position);
}
});
}));
languages.registerCodeActionsProvider("java", {
context.subscriptions.push(languages.registerCodeActionsProvider("java", {
provideCodeActions(document: TextDocument, range: Range | Selection, codeActionContext: CodeActionContext, _token: CancellationToken): ProviderResult<(Command | CodeAction)[]> {
return resolver.getArtifactsCodeActions(document, codeActionContext, range);
}
});
}));
}
}