I know it is possible to compile Java code from within the editor..
I use Run.. (F5) > cmd /c javac "$(FULL_CURRENT_PATH)" && pause
It works fine (it compiles) except for one thing: when there is an error in my source file, the cmd will close directly. So I can't see the compilers output about the error (error message)
I know I can just use: Run.. (F5) > cmd /k javac "$(FULL_CURRENT_PATH)", but then I have to close the cmd manualy everytime I have compiled something.
Has anyone got the solution?
Thanks
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Notepad++ has been wonderful for my HTML and PHP editing needs, but I don't see Notepadd++ being effective for use as a Java IDE. If your looking for a functional IDE for Java programming, I'd recommend using Netbeans or Eclipse.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
That didn't answer the question... I have tried other Java IDE's and Notepad++ is just one step away from being the ideal IDE for any language, it just needs a plugin or change in code to allow piping programs through compilers to be easier to set up. Although there are tools in the program, there is no set tutorial or method to create the same external tool caller that Textpad has. Anyone who is more advanced in this field needs to fix this problem please.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Are you sure there is no such plugin? Please look closer. Look in the Plugins menu. (hint: Plugins -> NppExec -> Help/About..., and, PLEASE, don't be shamed to read the notes in the dialog you'll see)
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
The || means only execute pause when javac fails.. which is just what you want.
Take a look here: http://technet.microsoft.com/en-us/library/bb490954.aspx under the "Using multiple commands and conditional processing symbols" section.
-Steven R / TOAST
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi there,
I know it is possible to compile Java code from within the editor..
I use Run.. (F5) > cmd /c javac "$(FULL_CURRENT_PATH)" && pause
It works fine (it compiles) except for one thing: when there is an error in my source file, the cmd will close directly. So I can't see the compilers output about the error (error message)
I know I can just use: Run.. (F5) > cmd /k javac "$(FULL_CURRENT_PATH)", but then I have to close the cmd manualy everytime I have compiled something.
Has anyone got the solution?
Thanks
Notepad++ has been wonderful for my HTML and PHP editing needs, but I don't see Notepadd++ being effective for use as a Java IDE. If your looking for a functional IDE for Java programming, I'd recommend using Netbeans or Eclipse.
That didn't answer the question... I have tried other Java IDE's and Notepad++ is just one step away from being the ideal IDE for any language, it just needs a plugin or change in code to allow piping programs through compilers to be easier to set up. Although there are tools in the program, there is no set tutorial or method to create the same external tool caller that Textpad has. Anyone who is more advanced in this field needs to fix this problem please.
Are you sure there is no such plugin? Please look closer. Look in the Plugins menu. (hint: Plugins -> NppExec -> Help/About..., and, PLEASE, don't be shamed to read the notes in the dialog you'll see)
Yep. Me too - I want the Notepad++, but with Textpad's ctrl+1 (compile) and ctrl+2 (run) functionality. The perfect combo of them both.
And an IDE is just NOT the answer. I don't want an IDE. I want a text editor. One that folds, like Notepad++, but compiles like Textpad.
Yeah use:
(F5) > cmd /c javac "$(FULL_CURRENT_PATH)" || pause
instead.
The || means only execute pause when javac fails.. which is just what you want.
Take a look here: http://technet.microsoft.com/en-us/library/bb490954.aspx under the "Using multiple commands and conditional processing symbols" section.
-Steven R / TOAST
Thanks! It works perfectly, just what i needed