Commit Graph

111 Commits

Author SHA1 Message Date
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
Jinbo Wang c5c6dc2385
Update CHANGELOG.md (#320)
* Update CHANGELOG.md

* Update CHANGELOG.md
2018-06-27 10:46:51 +08:00
Jinbo Wang c3c3cfcdcd
Update the compatible minimum VS Code version to support logpoint feature (#318)
Signed-off-by: Jinbo Wang <jinbwan@microsoft.com>
2018-06-27 10:20:21 +08:00
Eynar c4afa93ba2 Grammar correction (#306) 2018-06-25 09:06:16 +08:00
Andy Xu(devdiv) ec38bc4057
fix the ci error of https://travis-ci.org/Microsoft/vscode-java-debug… (#312)
* fix the ci error of https://travis-ci.org/Microsoft/vscode-java-debug/jobs/389570209

* add dependency used in scripts
2018-06-19 14:31:13 +08:00
Jinbo Wang 87c30b0dc4 Fix the wrong license link in README (#304) 2018-06-08 13:53:22 +08:00
Jinbo Wang 0c019e4ea2
Bump version to 0.9.0 (#292)
Signed-off-by: Jinbo Wang <jinbwan@microsoft.com>
2018-04-26 02:58:13 +00:00
Jinbo Wang 7527c31f68
Update CHANGELOG.md (#289) 2018-04-26 02:54:04 +00:00
Andy Xu(devdiv) 917b99aa50
update travis to get rid of gulp3 issue on node 10 (#290)
* update travis to get rid of gulp3 issue on node 10

https://github.com/nodejs/node/issues/20285

* Update .travis.yml
2018-04-26 10:47:10 +08:00
Yaohai Zheng efad02bf65
Bump version to 0.8.0 (#269) 2018-04-03 10:25:11 +08:00
Andy Xu(devdiv) 4b1be3c9c3
doesn't popup error message when user cancels the main class selection. (#267)
* doesn't popup error message when user cancels the main class selection.

* add detailed type declaration

* remove the useless check, since pickItems.length will always be larger than 0

* doesn't popup error message when user cancels the main class selection.

* remove trailing spacess.
2018-04-02 09:42:49 +08:00
Summer 1334496a0c
wait for build succeeded before launch debug session (#257) 2018-03-30 09:40:29 +08:00
Andy Xu(devdiv) ab595f02b1
fix issue 187:If only 1 main class detected, proceed and start it dir… (#262)
* fix issue 187:If only 1 main class detected, proceed and start it directly
2018-03-27 10:54:44 +08:00
Yaohai Zheng 00da939a67
Turn on HCR by default. (#263) 2018-03-26 11:32:47 +08:00
Andy Xu(devdiv) f592dbb71a
add more items in changelog (#253)
* 0.7.0

* add missing items in change log.
2018-03-15 15:11:05 +08:00
Andy Xu(devdiv) 15dfa0b176
Bump version 0.7.0 (#252)
* bump version 0.7.0
2018-03-15 11:40:35 +08:00
Andy Xu(devdiv) 7ce34f0479
update readme and change log for 0.7.0 (#251)
* update readme and change log for 0.7.0
2018-03-15 10:31:00 +08:00
Andy Xu(devdiv) 4f64fddcb3
Respond to debug warning/error notification event with custom request (#249)
* Respond to debug warning/error notification event with custom request
2018-03-15 09:48:00 +08:00
Jinbo Wang 1ade5b2710
Support prompting user for program arguments (#245)
* Support prompting user for program arguments

* fix review comments

* Fix the issue that ESC and enter empty args will cause the debug session is not started

* Refine the message per review
2018-03-12 13:42:51 +08:00
Yaohai Zheng ef4de79c17
Refine failure scenario. (#244) 2018-03-06 10:12:39 +08:00
Summer 820642f7bb
update readme to include GDPR information (#240) 2018-02-28 09:21:05 +08:00
Yaohai Zheng 55fdc08c1e
Update changelog (#231) 2018-02-01 14:06:41 +08:00
Yaohai Zheng 54413bced7
Bump version to 0.6.0. (#230) 2018-02-01 13:44:00 +08:00
Yaohai Zheng 280ae6fb12
Add hot code replace read me. (#225) 2018-01-30 11:47:41 +08:00
Rome Li 935dadd2ea
Respond to hot code replace event with custom request (#216) 2018-01-10 14:52:23 +08:00
Yaohai Zheng c28844c8a0
Temporarily remove save document event for HCR. (#211) 2017-12-20 22:12:15 -08:00
Yaohai Zheng 7672f2248a
Update changelog for 0.5.0 (#203) 2017-12-19 05:25:23 -08:00
Andy Xu(devdiv) 0a121eb7dd
update readme (#202)
* update readme

* update README.md

* Update package.json

* Update package.json

* Update README.md
2017-12-19 16:07:56 +08:00
Jinbo Wang d0878efe21
bump version to 0.5.0 (#199)
Signed-off-by: Jinbo Wang <jinbwan@microsoft.com>
2017-12-19 14:29:09 +08:00
Yaohai Zheng dd884d34bc
Add HCR document update event. (#195)
* Add HCR document update event.

* Fix const value.

* Refine HCR event.
2017-12-18 21:35:05 -08:00
Jinbo Wang 80cceab24e
Adpot new vscode debug activation event (#196)
Signed-off-by: Jinbo Wang <jinbwan@microsoft.com>
2017-12-18 11:37:54 +08:00
Jinbo Wang 34f7376a65
Support step filter when stepping (#155)
* Support step filter when debugging

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

* Refine the description message per review comments

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

* refine message for attach mode

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

* Rename debugFilters/stepFilters to stepFilters/classNameFilters

* Resolve review comments
2017-12-06 18:40:23 +08:00