redhat-developer / redhat-developer/vscode-java
Shortcut: command java.actions does not work
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 2.3k
- Forks
- 546
- Avg merge
- 20h 1m
- Merged PRs (30d)
- 11
Description
I'm trying use shortcuts to generate java code, but java.action isn't working
Environment
- Operating System: elementary OS 5.0 Juno (Ubunto 18.04.2 LTS)
- JDK version: openjdk 11.0.3
- Visual Studio Code version: 1.36.1; 2213894ea0415ee8c85c5eea0d0ff81ecc191529; x64
- Java extension version: Java Extension Pack 0.7.1
- $JAVA_HOME: /usr/lib/jvm/java-1.11.0-openjdk-amd64/bin
Steps To Reproduce
-
Set a new shortcut for command java.action.generateConstructorsPrompt
Ex:

-
Try it in a java class
Current Result
Show a message: Internal Error

Expected Result

Additional Informations
I tried java.action.generateConstructorsPrompt and java.action.organizeImports.
Both commands does not work.
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.
Research direction
Reproduce the issue in Visual Studio Code using the listed Java extension, JDK, and operating system versions. Start with the java.action.generateConstructorsPrompt and java.action.organizeImports commands and inspect the resulting Internal Error. Done means both commands work when assigned to shortcuts and produce their expected Java actions.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java, typescript, vscode
- Domain
- developer-experience, tooling
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 30/100