Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Expose the build command to more places #2510

Open
jdneo opened this issue Jun 15, 2022 · 1 comment
Open

Expose the build command to more places #2510

jdneo opened this issue Jun 15, 2022 · 1 comment

Comments

@jdneo
Copy link
Collaborator

jdneo commented Jun 15, 2022

Below are some feedbacks from user surveys:

  • there no build and run feature in a click like netbeans.
  • Add a command to rebuild the project the current active file is part of.
  • "I really like editing in VS Code but find it not as powerful as tools like Eclipse for build and debug. "
  • The burden I got is there was not shortcut for compile java code, it would be awesome if we had it."
  • For a maven project I find I have to routinely run "mvn clean compile" after making code changes before it will build.

Actually, we have build action which is called Force Java Compilation, it looks like we need to do some enhancement to expose it to more places. Some ideas:

  1. Expose build action to more places (for example, can be invoked in Java Project explorer)
  2. Allow to build some of the projects instead of the entire workspace
  3. Considering renaming it?? - Because in other IDEs they all call it build, here we call it compilation
  4. Ask VS Code to have a dedicate tool bar menu called build or sth...
@jdneo
Copy link
Collaborator Author

jdneo commented Jun 22, 2022

Some investigation about the naming.

Eclipse

In Eclipse, the action that generate the jar artifact is called export.
export

And the build action will generate all the compiled classes in the output path:

eclipse-build.mp4

IDEA

The term Compile and Build can be found both in IDEA. While, Compile is used to compile a single source file, Build is used for an entire module/project
image

intellij-build.mp4

Looks like the term build is commonly used in popular IDEs and does very similar things with our Force Java compilation command. I think it makes sense to make this command's name include the keyword build, so that users can find it more easily.

// cc @rgrunber @fbricon

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants