Граф коммитов

41 Коммитов

Автор SHA1 Сообщение Дата
Jinbo Wang 8d5fe37a6a
Support creating a new maven module to existing multi-module project via 'New Module...' command (#1018)
* Support creating a new maven module to existing multi-module project via 'New Module...' command
2024-01-19 13:28:32 +08:00
Gustavo Simon a771212de9
Created a UI to add favorites into the user workspace scope. (#906) 2022-11-25 00:07:38 +08:00
Yan Zhang 44ab06e5fa
add shortcut to reload all maven projects (#847)
Signed-off-by: Yan Zhang <yanzh@microsoft.com>
2022-07-21 17:32:17 +08:00
Yan Zhang 65c94e1f45
add setting for format of project node name (#834)
Signed-off-by: Yan Zhang <yanzh@microsoft.com>
2022-07-14 14:57:56 +08:00
Yan Zhang a20519772a
update command id: manage workspace trust (#749)
Signed-off-by: Yan Zhang <yanzh@microsoft.com>
2021-10-19 16:57:04 +08:00
Melody618 60c5412d67
Add go-to-effective command to conflict dependencies (#716) 2021-08-30 17:13:06 +08:00
Yan Zhang cee40635ee
add setting for project opening method (#717) 2021-08-23 14:00:38 +08:00
Melody618 16920bc6b3
Add maven.warnConflictsInDiagnostics configuration setting (#715) 2021-08-23 10:25:41 +08:00
Melody618 3a8fa9fc93
refine right-click command entry for dependencies (#699)
* fix: do not show exclude command on root dependencies

* only conflict dependencies has set version command

* change set-version to resolve-conflict

* correct when clause
2021-08-12 17:09:47 +08:00
Melody618 50257f0c59
add "set dependency version" command (#659)
* implement command: set dependency version

* fix effectiveVersion bug

* fix bug: find {gid:aid} and get fullText

* refine code based on comments
2021-07-23 14:17:04 +08:00
Melody618 c121f62cea
implement inline command for dependency: Jump to definition (#660)
* implement Dependency inline command: jump to definition

* fix bugs and modify details based on comments
2021-07-22 16:44:51 +08:00
Melody618 1fc1eccf62
add "exclude dependency" command to help resolve conflicts (#651)
* implement command: exclude dependency

* refine the way to parse raw data

* modify code details based on comments

* change variable names

Co-authored-by: Yan Zhang <Eskibear@users.noreply.github.com>
2021-07-14 13:04:10 +08:00
Yan Zhang 3900799e34
In untrusted workspace: hide advanced feature from commpand palette/explorer (#631)
* adopt workspace trust API

Signed-off-by: Yan Zhang <yanzh@microsoft.com>

* Prevent all execution-related commands from running in untrusted workspace

Signed-off-by: Yan Zhang <yanzh@microsoft.com>

* untrusted workspace: hide advanced feature from commpand palette/explorer

Signed-off-by: Yan Zhang <yanzh@microsoft.com>

* use viewWelcome for more descriptive info in resitricted mode

Signed-off-by: Yan Zhang <yanzh@microsoft.com>

* remove old implementation

Signed-off-by: Yan Zhang <yanzh@microsoft.com>
2021-05-21 13:41:56 +08:00
mannixsuo 33c71d96fd
add "maven.settingsFile" (#581)
Co-authored-by: mmsuo <mmsuo@travelsky.com>
2021-03-22 14:13:08 +08:00
Yan Zhang 2ca0001682
calculate effective pom on demand (#587)
* calculate effective pom on demand

Signed-off-by: Yan Zhang <yanzh@microsoft.com>

* fix tslint & wording

Signed-off-by: Yan Zhang <yanzh@microsoft.com>
2021-03-16 15:20:15 +08:00
Andrew e10265b30d
Make optional the Explorer context menu entry (#536)
Introduces an extension setting that allows users to enable or disable
the global "Create Maven Project" entry in the File Explorer right-click
menu. If enabled, the entry appears in the context of folders; if
disabled, the entry never appears.

The setting is enabled by default, with consideration given to ease of
use and continuity across versions. See #536 and #537 for details.
2020-09-17 10:12:38 +08:00
Yan Zhang 50b7ff8216
register 'execute commands' onto Project Manager (#531)
* register 'execute commands' onto Project Manager

Signed-off-by: Yan Zhang <yanzh@microsoft.com>

* refine wording

Signed-off-by: Yan Zhang <yanzh@microsoft.com>

* use new command id: maven.goal.execute.fromProjectManager

Signed-off-by: Yan Zhang <yanzh@microsoft.com>

* fix wording

Signed-off-by: Yan Zhang <yanzh@microsoft.com>
2020-08-31 11:13:03 +08:00
Yan Zhang 7d324a7029
register 'add dependency' command to Project Manager extension (#529)
* register 'add dependency' command to Project Manager extension

Signed-off-by: Yan Zhang <yanzh@microsoft.com>

* update wording

Signed-off-by: Yan Zhang <yanzh@microsoft.com>
2020-08-26 13:30:31 +08:00
Yan Zhang 1aaf0197bf
rename maven project explorer (#512)
Signed-off-by: Yan Zhang <yanzh@microsoft.com>
2020-07-07 13:47:57 +08:00
Yan Zhang bf717eaf2f
refine wording (#470)
Signed-off-by: Yan Zhang <yanzh@microsoft.com>
2020-02-12 20:29:16 +08:00
Yan Zhang e81fedee1c
walk up parent folders to find available mvnw (#460)
Signed-off-by: Yan Zhang <yanzh@microsoft.com>
2020-01-22 15:11:45 +08:00
Yan Zhang cc59ea34af
support to debug favorite commands (#459)
* support to debug favorite commands

Signed-off-by: Yan Zhang <yanzh@microsoft.com>

* fix tslint

Signed-off-by: Yan Zhang <yanzh@microsoft.com>
2020-01-22 11:19:10 +08:00
Yan Zhang 9bc009d342
add inline action buttons for plugin goals (#396)
* add inline action buttons for plugin goals

* remove comments

Signed-off-by: Yan Zhang <yanzh@microsoft.com>
2019-09-17 15:28:20 +08:00
Yan Zhang a538b28e19
Change display name of command maven.archetype.generate (#346)
* Change display name of command maven.archetype.generate

* update wording
2019-06-21 09:28:54 +08:00
Yan Zhang ec2fdaa2dc
Allow to specify whether to auto-update EffectivePOM (#331)
* add config to control whether to auto-update effective-pom

* by default not re-calucate effective pom when changes detected

* show progress of refreshing plugins menu
2019-05-20 11:05:27 +08:00
Justin Ridgewell 56c2c56f8b Add pomfile.globPattern configuration setting (#318)
Fixes part 1 of #316.
2019-05-03 10:19:50 +08:00
Yan Zhang 627922cc34
Add shortcut to show raw dependency tree (#284)
* show raw dependency tree

* use spawn to avoid max buffer exceeding
2019-03-28 09:26:19 +08:00
Yan Zhang 7ae8f46451
Enable debugging plugin goal (#281)
* Enable debugging plugin goal

* npm audix fix for js-yaml

* address comments
2019-03-25 15:14:36 +08:00
Yan Zhang ee3b15e2dd
Add missing description (#275)
* Add missing description

* add new line
2019-03-12 14:16:37 +08:00
Yan Zhang 01ad3780f1
Change wording of custom goals for consitency (#268) 2019-03-04 15:42:24 +08:00
Yan Zhang 5dee227e47
Allow to specify/execute favorite Maven commands. (#267)
* Allow to specify/execute favorite Maven commands.

* Make the config ready for nls

* Fix for refactored APIs.
2019-03-04 13:58:45 +08:00
Yan Zhang 66ff08d406
add shortcut command to add dependency in current pom.xml (#258)
* Can query/select dependency from Maven central

* Can insert dependency node to activeTextDocument

* Can update document to add the new dependency

* Refine eol and tab-indent
2019-02-25 14:22:03 +08:00
Yan Zhang 2e9700138d
Retrieve completion item from local Maven repo on the fly (#222) 2019-01-23 12:30:44 +08:00
Yan Zhang 24e6785fee
Use Maven Central Repository search API to complete POM file (#221)
* Completion using maven search api, TBC

* Parse the whole xml document to get more context info

* Add completion for artifact id

* Add completion for version

* Tune local/central completion providers.

* Add default version range of LATEST

* Distinguish completion items from local/central provider
2019-01-22 16:36:45 +08:00
Yan Zhang 5b3a349990
Provide completion in more cases. (#212)
* Always provide code snippet.

* Refine completion for groupId/artifactId/version.
2019-01-04 15:05:23 +08:00
Yan Zhang 8ba0d51854
Allow to switch flat/hierarchical view of projects & modules (#202)
* Add config to specify the way of viewing maven projects.

* Organize Maven project nodes according to the config.

* Add commands to switch between flat/hierarchical view.

* Add description for commands.
2018-12-28 16:20:26 +08:00
Yan Zhang a7a5c1b74d
Add a feature flag for the completion. (#199) 2018-12-28 09:46:01 +08:00
Yan Zhang 0b1194623a
Add space between English and Chinese characters. (#188)
* Add space between English and Chinese characters.

* Refine wording.
2018-12-17 15:34:20 +08:00
Yan Zhang 0f1714aba9 Allow to manually refresh plugin goals. (#158)
* Make the filename legal in Windows.

* Can refresh tree item.

* Reuse the MavenProject node to avoid extra calculation of effective-pom

* Rename maven.project.refreshAll to maven.explorer.refresh
2018-12-07 10:33:49 +08:00
Yan Zhang 3120dc1a9a Allow to view/execute plugin specified goals. (#157)
* Refactor and add Plugins node.

* Make explorer provider static.

* Can list plugin goals.

* Fetch plugins from effective-pom

* Add command to execute plugin goals

* Add icons for plugins

* Renaming.
2018-12-07 10:33:49 +08:00
Yan Zhang 6817a8ba66
Add Chinese localization for package.json (#147)
* Add Chinese localization for package.json

* Add Chinese localization for configuration descriptions.

* Update package.nls.zh.json

* Update package.nls.zh.json
2018-11-21 13:17:02 +08:00