Commit Graph

155 Commits

Author SHA1 Message Date
Jinbo Wang 4a85531207
Fix the issue that npm preLaunchTask does not exit (#519)
Signed-off-by: Jinbo Wang <jinbwan@microsoft.com>
2018-12-19 15:18:04 +08:00
Yan Zhang 66e671ff33 Add to more categories. (#514) 2018-12-19 14:42:24 +08:00
Jinbo Wang 0651087117
Update 0.16.0 CHANGELOG (#511)
* Update 0.16.0 CHANGELOG

* Update CHANGELOG.md

* Update CHANGELOG.md

* Update CHANGELOG.md
2018-12-12 10:47:55 +08:00
Jinbo Wang 359395aba5
Bump version to 0.16.0 (#510)
Signed-off-by: Jinbo Wang <jinbwan@microsoft.com>
2018-12-12 10:14:05 +08:00
Jinbo Wang 88a9c7d900
Keep CodeLens config consistent with F5 generation (#509)
Signed-off-by: Jinbo Wang <jinbwan@microsoft.com>
2018-12-11 18:12:50 +08:00
Jinbo Wang bcd69b52e4
Remove the emoji before Run/Debug codelens (#488)
Signed-off-by: Jinbo Wang <jinbwan@microsoft.com>
2018-12-03 15:02:52 +08:00
Jinbo Wang 5ab4fd83ed
Add an user setting to control whether to build the workspace before debugging (#485)
* Add an user setting to control whether to build the workspace before debuging

Signed-off-by: Jinbo Wang <jinbwan@microsoft.com>

* Add Chinese translation for the new setting

Signed-off-by: Jinbo Wang <jinbwan@microsoft.com>
2018-12-03 13:30:12 +08:00
Jinbo Wang a458e5e76e
Support Chinese Locale for launch configurations (#484)
* Support Chinese Locale for launch configurations

Signed-off-by: Jinbo Wang <jinbwan@microsoft.com>

* Fix Chinese translation per review comments

Signed-off-by: Jinbo Wang <jinbwan@microsoft.com>
2018-11-30 17:52:18 +08:00
Jinbo Wang 6d5f126b44
Use vscode.open api to replace opn library (#483)
Signed-off-by: Jinbo Wang <jinbwan@microsoft.com>
2018-11-30 12:17:48 +08:00
Jinbo Wang 6b383e9e48
Refine the launch json (#481)
* Refine the launch json

Signed-off-by: Jinbo Wang <jinbwan@microsoft.com>

* Fix review comments

Signed-off-by: Jinbo Wang <jinbwan@microsoft.com>

* Remove the unimportant options from default launch.json

Signed-off-by: Jinbo Wang <jinbwan@microsoft.com>
2018-11-30 11:26:06 +08:00
Yan Zhang bea47476ee
Update version of telemetry dependencies. (#474) 2018-11-13 11:13:57 +08:00
Jinbo Wang 14fe7d5d0d
bump version to 0.15.0 (#467)
Signed-off-by: Jinbo Wang <jinbwan@microsoft.com>
2018-10-31 13:41:10 +08:00
Jinbo Wang aea51411e5
Prepare changelog for 0.15.0 (#466)
* Prepare changelog for 0.15.0

* Update CHANGELOG.md

* Update CHANGELOG.md
2018-10-31 13:36:52 +08:00
Thad House ddb9e10a43 Add way to disable run and debug code lens provider (#465)
* Add way to disable run and debug code lens provider

There are cases where it will never work properly, and it is confusing a chunk of my users that attempt to use it, and wonder why it fails

Closes #464

* Add translation support

* Add type to lambda

* Add period to description
2018-10-31 10:29:15 +08:00
Julien Russo 8bd8705b13 Added italian translation for extension configuration. (#463)
* Improved i18n.

Moved english translation to package.nls.json file, added italian translation and modified package.json to use .nls files.

* Fixes
2018-10-30 18:32:36 -07:00
Jinbo Wang 03830dbd81
Prepare CHANGELOG for 0.14.0 (#456) 2018-10-10 12:28:50 +08:00
Jinbo Wang f2e74f5ecf
bump version to 0.14.0 (#457)
Signed-off-by: Jinbo Wang <jinbwan@microsoft.com>
2018-10-10 11:30:23 +08:00
Yan Zhang 067d21cc3a
Dispose telemetry wrapper on deactivation. (#455)
* Dispose telemetry wrapper on deactivation.

* Wait to complete the dispose.
2018-10-09 13:35:11 +08:00
Jinbo Wang 9619db035e
Update telemetry package version (#453)
Signed-off-by: Jinbo Wang <jinbwan@microsoft.com>
2018-10-09 10:30:24 +08:00
Jinbo Wang 774c4236eb
Remove the unnecessary file watcher because vscode will invoke codeLens provider whenever there is code change (#448)
Signed-off-by: Jinbo Wang <jinbwan@microsoft.com>
2018-09-29 16:05:51 +08:00
Mona Sun 273efd18c6 Add args/vmagrs test case (#447) 2018-09-27 19:21:06 +08:00
Sheng Chen 3691e8392b
dispose the telemetry reporter (#446) 2018-09-27 15:47:03 +08:00
Yan Zhang 71a1f7bed4
Add contributing instructions. (#429)
* Add contributing instructions.

* Resolve comments.
2018-09-20 10:43:17 +08:00
Jinbo Wang ec2e5dd76a
Update changelog (#436)
* Update changelog

Signed-off-by: Jinbo Wang <jinbwan@microsoft.com>

* Update changelog per review
2018-09-19 15:43:16 +08:00
Andy Xu(devdiv) 5495abcce7
Add change log for 0.13.0 (#435)
* add change log for 0.13.0

* typo

* fix statement according to PR review
2018-09-19 11:26:25 +08:00
Andy Xu(devdiv) bf27425fe8
bump version 0.13.0 (#434) 2018-09-19 10:04:20 +08:00
Jinbo Wang c080a0d275
Use the java_home info exposed by vscode-java to launch debuggee program (#432)
Signed-off-by: Jinbo Wang <jinbwan@microsoft.com>
2018-09-18 14:24:23 +08:00
Jinbo Wang 447d2dfd69
resolveDebugConfiguration returns null to tell vscode to continue generating launch.json (#430)
* resolveDebugConfiguration returns null to tell vscode to continue generating launch.json

Signed-off-by: Jinbo Wang <jinbwan@microsoft.com>

* Use truthy to check the value is empty or not
2018-09-18 12:21:38 +08:00
Jinbo Wang 7dc2273755
Use Language Server consistent java home to launch debuggee (#428)
* Use Language Server consistent java home to launch debuggee

Signed-off-by: Jinbo Wang <jinbwan@microsoft.com>

* refactor checkJavaHome to getJavaHome
2018-09-18 10:42:15 +08:00
Yan Zhang f191fbd4d7
Use telemetry wrapper to unify BI format. (#417)
* Use telemetry wrapper to unify BI format.

* Turn off debug mode.

* Resolve comments: not export help function.
2018-09-14 16:37:35 +08:00
Jinbo Wang 8eb2078de6
Fix the display order and icon issues for main class prompt wizard (#426)
* Fix the display order and icon issues for main class prompt wizard

Signed-off-by: Jinbo Wang <jinbwan@microsoft.com>

* Fix review comments

* Add return type for the function declaration

* fix the code format

* use _.get to guard the undefined case\
2018-09-14 12:43:53 +08:00
Andy Xu(devdiv) f4b5507914
fix undefined workspace folder (#425) 2018-09-13 10:12:16 +08:00
Andy Xu(devdiv) 8944deef16
Fix issue #398:Not allowing {fileBasenameNoExtension} (#416)
* Fix issue #398:Not allowing {fileBasenameNoExtension} to be used in main class launch configuration
2018-09-12 10:35:06 +08:00
Jinbo Wang 51619efd5e
Use codeLens to run Java program (#410)
* Use codeLens to run Java program

Signed-off-by: Jinbo Wang <jinbwan@microsoft.com>

* Move codeLens action name to local constants

* use lodash _.flatten to flatten the codeLens result

* Add return statement
2018-09-11 13:41:58 +08:00
Jinbo Wang b3ce6810f0
Change active editor oct icon to file-text instead of clock (#419)
* Change active editor oct icon to file-text instead of clock

Signed-off-by: Jinbo Wang <jinbwan@microsoft.com>

* Make tslint happy
2018-09-11 11:19:18 +08:00
Andy Xu(devdiv) 140474e956
Accept both string and string array in args and vmArgs. (#414)
* Accept both string and string array in args and vmArgs.
2018-09-10 12:55:56 +08:00
Andy Xu(devdiv) a69d509ad3
Merge hotfix to master (#409)
* Update testplan for setting environment variables. (#394)

* Bump version to 0.12.2 (#406)
2018-09-06 14:09:00 +08:00
Yan Zhang 31973a5efe
Merge hotfix back to master branch. (#400)
* Update testplan for setting environment variables. (#394)

* Update testplan for setting environment variables.

* Update TestPlan.md

* Update changelog for hotfix 0.12.1 (#396)

* Update changelog for hotfix 0.12.1

* Update CHANGELOG.md

* Bump version to 0.12.1 (#397)
2018-09-03 13:45:47 +08:00
Jinbo Wang e0335fa6dd
Update mainClass configError troubleshooting info (#386)
Signed-off-by: Jinbo Wang <jinbwan@microsoft.com>
2018-08-29 13:06:14 +08:00
Andy Xu(devdiv) 7970e8b587
Bump version 0.12.0 (#385)
* Bump version 0.12.0
2018-08-29 11:21:11 +08:00
Yan Zhang 8aa451f1cd
Ignore auto-generated files in test projects. (#384) 2018-08-29 11:16:46 +08:00
Yan Zhang a45353d964
Add test plan: start without debugging (#383) 2018-08-29 11:11:49 +08:00
Andy Xu(devdiv) ddda9174a9
add change log for 0.12.0 (#382)
* add change log for 0.12.0
2018-08-29 10:51:01 +08:00
Jinbo Wang 5031c63df5
Fix the duplicated error dialog after the user clicks Learn More (#380)
Signed-off-by: Jinbo Wang <jinbwan@microsoft.com>
2018-08-28 16:20:00 +08:00
Jinbo Wang 8ac5ca5c38
Validate mainClass and projectName before launch (#368)
* Validate mainClass and projectName before launch

Signed-off-by: Jinbo Wang <jinbwan@microsoft.com>

* Fix review comments

1. Better naming about validate and fix mainClass and ProjectName.
2. Use lodash library to find the debug configuration index from the
workspaceConfiguration list.

* Revert 'errorMessage' to the neutral 'message' for IValidationResult scheme

* Pass containsExternalClasspaths flag to the mainClass validator

* Correct the learn more link for mainClass configError

* Fix learn more link for mainClass configError

* Remove extra empty line

* Use lodash _.isEmpty to check empty array

* Use try/catch to handle the rejected/exceptional case
2018-08-28 11:16:01 +08:00
Yan Zhang 76af46219d
Robustness: judge no launch.json exists. (#377)
* Robustness: judge no launch.json exists.

* Use a common function to judge an empty config.

* Update configurationProvider.ts

* Update configurationProvider.ts

* Add comments to reduce ambiguity.
2018-08-27 12:44:43 +08:00
Jinbo Wang c40301a1ed
Put recently used main class in the top (#372)
* Put recently used main class in the top

Signed-off-by: Jinbo Wang <jinbwan@microsoft.com>

* Refactor the History interface to an accurate name

* Combine all the boolean operations in one statement

* Rename getId to getKey to keep properties consistent
2018-08-27 10:21:55 +08:00
Jinbo Wang ae23fcb02e
"Learn More" link jumps to the associated troubleshooting paragraph directly (#371)
* Learn More link to the corresponding troubleshooting paragraph directly

Signed-off-by: Jinbo Wang <jinbwan@microsoft.com>

* Update LS troubleshooting anchor point

* make tslint happy

* Give a meaningful sample message instead of xyz

* Refactor IMessage interface
2018-08-22 14:37:55 +08:00
Yaohai Zheng a51187af18
Signal async task completion for GULP 4.0 (#362) 2018-08-12 18:53:05 -07:00
Jinbo Wang 90ea267a54
Update the words for "Update project configuration" command (#359)
* Update the words for "Update project configuration"

Java:Update Project configuration (Shift+Alt+U): is available when the editor is focused on a Maven pom.xml or a Gradle file. It forces project configuration / classpath updates (eg. dependency changes or Java compilation level), according to the project build descriptor.

* Update the goal of "Update project configuration" per review
2018-08-10 10:43:46 +08:00