Signed-off-by: Yaohai Zheng <yaozheng@microsoft.com>
This commit is contained in:
Yaohai Zheng 2019-03-26 09:52:36 +08:00 коммит произвёл GitHub
Родитель 7388757888
Коммит 1b6b32a1c4
Не найден ключ, соответствующий данной подписи
Идентификатор ключа GPG: 4AEE18F83AFDEB23
10 изменённых файлов: 137 добавлений и 1102 удалений

3
.gitignore поставляемый
Просмотреть файл

@ -9,4 +9,5 @@ out/
.vscode-test/
vscode-java-*.vsix
packages/
dist
dist
.settings

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

@ -11,4 +11,6 @@ gulpfile.js
.gitignore
dist/**/*.map
webpack.*.js
tslint.json
node_modules
scripts

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

@ -4,6 +4,14 @@ All notable changes to the "vscode-java-dependency" extension will be documented
The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/)
and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html).
## 0.4.0 - 2019-3-26
## Added:
- Add sync command to synchronize/desynchronize dependency viewer selection with folder explorer [PR#140](https://github.com/Microsoft/vscode-java-dependency/pull/140).
## Updated:
- Update package view icons [PR#138](https://github.com/Microsoft/vscode-java-dependency/pull/138)
- Fix error when window.activeTextEditor is undefined [PR#136](https://github.com/Microsoft/vscode-java-dependency/pull/136).
- Fix NPE issue when opne a non java file [Issue#139](https://github.com/Microsoft/vscode-java-dependency/issues/139).
## 0.3.0 - 2018-12-21
## Added:
- Add the ability to show hierarchical package presentation [#57](https://github.com/Microsoft/vscode-java-dependency/issues/57).

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

@ -1,8 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<classpath>
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-1.8"/>
<classpathentry kind="con" path="org.eclipse.pde.core.requiredPlugins"/>
<classpathentry kind="src" path="src/"/>
<classpathentry exported="true" kind="lib" path="lib/commons-io-2.5.jar"/>
<classpathentry kind="output" path="target/classes"/>
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-1.8"/>
<classpathentry kind="con" path="org.eclipse.pde.core.requiredPlugins"/>
<classpathentry kind="src" path="src/"/>
<classpathentry kind="output" path="target/classes"/>
</classpath>

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

@ -2,7 +2,7 @@ Manifest-Version: 1.0
Bundle-ManifestVersion: 2
Bundle-Name: JDTLS EXT Core
Bundle-SymbolicName: com.microsoft.jdtls.ext.core;singleton:=true
Bundle-Version: 0.3.0
Bundle-Version: 0.4.0
Bundle-Activator: com.microsoft.jdtls.ext.core.JdtlsExtActivator
Bundle-RequiredExecutionEnvironment: JavaSE-1.8
Bundle-ActivationPolicy: lazy

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

@ -5,7 +5,7 @@
<parent>
<groupId>com.microsoft.jdtls.ext</groupId>
<artifactId>jdtls-ext-parent</artifactId>
<version>0.3.0</version>
<version>0.4.0</version>
</parent>
<artifactId>com.microsoft.jdtls.ext.core</artifactId>
<packaging>eclipse-plugin</packaging>

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

@ -50,8 +50,8 @@ import org.eclipse.jdt.internal.core.JarEntryFile;
import org.eclipse.jdt.internal.core.JarEntryResource;
import org.eclipse.jdt.internal.core.JrtPackageFragmentRoot;
import org.eclipse.jdt.ls.core.internal.JDTUtils;
import org.eclipse.lsp4j.jsonrpc.json.adapters.CollectionTypeAdapterFactory;
import org.eclipse.lsp4j.jsonrpc.json.adapters.EnumTypeAdapterFactory;
import org.eclipse.lsp4j.jsonrpc.json.adapters.CollectionTypeAdapter;
import org.eclipse.lsp4j.jsonrpc.json.adapters.EnumTypeAdapter;
import com.google.gson.Gson;
import com.google.gson.GsonBuilder;
@ -60,11 +60,12 @@ import com.microsoft.jdtls.ext.core.model.PackageNode;
import com.microsoft.jdtls.ext.core.model.PackageRootNode;
import com.microsoft.jdtls.ext.core.model.TypeRootNode;
@SuppressWarnings("deprecation")
public class PackageCommand {
private static final Gson gson = new GsonBuilder().registerTypeAdapterFactory(new CollectionTypeAdapterFactory())
.registerTypeAdapterFactory(new EnumTypeAdapterFactory()).create();
private static final Gson gson = new GsonBuilder()
.registerTypeAdapterFactory(new CollectionTypeAdapter.Factory())
.registerTypeAdapterFactory(new EnumTypeAdapter.Factory())
.create();
private static final Map<NodeKind, BiFunction<PackageParams, IProgressMonitor, List<PackageNode>>> commands;

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

@ -4,7 +4,7 @@
<groupId>com.microsoft.jdtls.ext</groupId>
<artifactId>jdtls-ext-parent</artifactId>
<name>${base.name} :: Parent</name>
<version>0.3.0</version>
<version>0.4.0</version>
<packaging>pom</packaging>
<properties>
<base.name>Java Project Manager</base.name>

1192
package-lock.json сгенерированный

Разница между файлами не показана из-за своего большого размера Загрузить разницу

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

@ -2,7 +2,7 @@
"name": "vscode-java-dependency",
"displayName": "Java Dependency Viewer",
"description": "%description%",
"version": "0.3.0",
"version": "0.4.0",
"publisher": "vscjava",
"preview": true,
"aiKey": "5c642b22-e845-4400-badb-3f8509a70777",
@ -31,7 +31,7 @@
"main": "./dist/extension",
"contributes": {
"javaExtensions": [
"./server/com.microsoft.jdtls.ext.core-0.3.0.jar"
"./server/com.microsoft.jdtls.ext.core-0.4.0.jar"
],
"commands": [
{
@ -153,7 +153,7 @@
"compile": "tsc -watch -p ./",
"watch": "webpack --mode development --watch --info-verbosity verbose",
"postinstall": "node ./node_modules/vscode/bin/install",
"test": "node ./scripts/download-vscode-for-system-tests && node ./scripts/install-vsix-dependencies redhat.java && node ./scripts/install-vsix-dependencies vscode-java-dependency-0.3.0.vsix && node ./scripts/run-vscode-tests",
"test": "node ./scripts/download-vscode-for-system-tests && node ./scripts/install-vsix-dependencies redhat.java && node ./scripts/install-vsix-dependencies vscode-java-dependency-0.4.0.vsix && node ./scripts/run-vscode-tests",
"build-server": "./node_modules/.bin/gulp build_server",
"vscode:prepublish": "tsc -p ./ && webpack --mode production"
},
@ -174,7 +174,7 @@
"ts-loader": "^5.3.1",
"tslint": "^5.11.0",
"typescript": "^3.1.6",
"vscode": "^1.1.22",
"vscode": "^1.1.33",
"webpack": "^4.27.1",
"webpack-cli": "^3.1.2"
},