Commit Graph

142 Commits

Author SHA1 Message Date
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
Yaohai Zheng ce42c1cd50
Fix security vulnerability. (#356) 2018-08-06 22:30:27 -07:00
Jinbo Wang 58376158b5
Enable bot to manage long inactivity issues (#353)
* Enable bot to manage long inactivity issues

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

* Update the config file for no-response bot

* Fix the line break issue
2018-08-07 10:14:10 +08:00
Jinbo Wang 959e521294
Update CHANGELOG for 0.11.0 release (#348) 2018-08-01 15:52:51 +08:00
Jinbo Wang d4f25062d9 Bump version to 0.11.0
Signed-off-by: Jinbo Wang <jinbwan@microsoft.com>
2018-08-01 15:42:45 +08:00
Jinbo Wang 0e86ed2cc7
Add a troubleshooting page for the frequently asked errors (#341)
* Add a troubleshooting page for the frequently asked errors

* Update the wrong link and remove the unnecessary separator

* Update Troubleshooting.md

* Make tslint happy

* Refine the words per review

* Add the missing items parameter for showErrorMessage function

* Log the troubleshooting usage

* Add a reference in README to link to troubleshooting page

* Update the fix steps for illegal request type error

* Refine the description words for differnt errors

* Add jdk troubleshooting item

* Add a link to submit an issue

* Add compilation as a try step for ClassNotFoundException

* Add the missing license header

* Resolve the review comments for troubleshooting doc

* Extract dup code to a helper function

* Merge activation event to usage data

* Refactor showMessage utility method

* Add opn to dependency list

* update package-lock.json
2018-08-01 14:35:48 +08:00
Andy Xu(devdiv) 205e38797a
upgrade dependency versions. (#346)
* upgrade dependency versions.
2018-08-01 11:32:25 +08:00
Yan Zhang 9919c0e2f4
update test plan for new launch.json generation UX (#343) 2018-07-26 00:28:15 +08:00
Yan Zhang 2344c606cb
Improve launch.json auto-generation UX (#342)
* remove 'attach' config from default

* add default launch config with empty mainClass

* add back default attach config
2018-07-19 10:46:06 +08:00
Yan Zhang 56aa89d207
check in test plan (#340)
* move test plan into repo

* move test projects here

* save test plan images to local

* update .vscodeignore
2018-07-18 13:59:30 +08:00
Yan Zhang 38359b2dae
auto select java debugger for .java file (#329) 2018-07-12 11:44:27 +08:00
Jinbo Wang cf96c76805
Update the supported feature list (#323) 2018-06-27 11:03:09 +08:00
Jinbo Wang ac0886d5ab
bump version to 0.10.0 (#321)
Signed-off-by: Jinbo Wang <jinbwan@microsoft.com>
2018-06-27 10:57:48 +08:00
Jinbo Wang e37c15c68f
Update README.md (#322) 2018-06-27 10:54:34 +08:00