microsoft / microsoft/vscode-java-debug
Filter out run and debug contextual menu when the file doesn't contain a Main
Open
@testforstephen is already working on this.
Since Jan 20, 2021.
ai-triaged
enhancement
feature request
ux
- Dominant language
- TypeScript
- Stars
- 591
- Forks
- 429
- Avg merge
- 1d 9h
- Merged PRs (30d)
- 19
Description
Run and debug contextual menu are available on files that cannot be run or debug. it would be better to not provide the menu. it will allow having a lighter contextual menu, do nto give false hope to end-users and avoid an error notifications when clicking on it
Environment
- Operating System:
- JDK version:
- Visual Studio Code version:
- Java extension version:
- Java Debugger extension version:
Steps To Reproduce
- create a java file which does not contain a Main class
- right-click on it
[attach a sample project reproducing the error]
attach logs
Current Result
Expected Result
Additional Informations
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.