Specify compile location #443
Replies: 3 comments 2 replies
-
How do you usually compile your projects? Do you use any shortcuts in Remember the IDE itself is just a tool to help write code and the compiler compiles it. You can create your project and use the command below to compile as you wish. javac MyProject.java -d out/ To run it use the next command. java -cp out/ MyProject |
Beta Was this translation helpful? Give feedback.
-
I've never tried to compile anything using the However, you can customize any command to behave the way you want. You can try using this shortcut to be executed when you hit the vim.api.nvim_set_keymap('n', 'cc', '<cmd>:!javac *.java -d out/ <CR>', {}) EDIT: Also, you can use this plugin to customize nvim commands locally for your projects. |
Beta Was this translation helpful? Give feedback.
-
That's a good reason to add |
Beta Was this translation helpful? Give feedback.
-
I want to specify the location where the project is compiled. When compiling 2 new folders are created, one named like the project with some random letters and numbers after a underscore before it and one named jdtls-project. I want the project to be compiled in my current project location in ./out/.
How to specify the compile location?
Beta Was this translation helpful? Give feedback.
All reactions