* 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
* 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.
* 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
* 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
* 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
* 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
* 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
* 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.
* 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
* 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