All,
I can't seem to find a toggle to tell NBEclipse to save all modified editors when I run the project (Ctrl+F11 or F11). I found the option to save automatically on build, but of course NB doesn't have an explicit build option. It builds continuously on save .
I checked the "General -> Workspace -> Save Automatically before build" option, but that doesn't force a save on run.
I guess my next option is to create a "Save All, then Run" command attach it to a key.
Thanks.
Auto Save All before running project
Re: Auto Save All before running project
I looked for this too a while back but never found it. I finally decided I didn't really need it. I just use the C/C++ perspective (instead of the NetBurner perspective) when developing. By default the C/C++ perspective has the Build toolbar. I also turn off the build-on-save option (I think it ends up costing me more time than it saves). I like it better to have the build option available and have the build, auto-save everything.
If you want to stay with the NetBurner perspective you can add the Build configuration. Right-click on the toolbar and select Customize Perspective..., then go to the Command Groups Availability tab and enable the Build Configuration optons. Then switch to the Tool Bar Visibility tab and enable the Build Configuration option.
The problem I've found with building with the run button is when the build fails. You get a prompt asking if you want to continue and even if you hit no, AutoUpdate still runs and downloads your last successful build which is typically NOT what you wanted to have happen. If you like keyboard shortcuts try reassigning Build to F11 and leave Run at Ctrl-F11.
If you want to stay with the NetBurner perspective you can add the Build configuration. Right-click on the toolbar and select Customize Perspective..., then go to the Command Groups Availability tab and enable the Build Configuration optons. Then switch to the Tool Bar Visibility tab and enable the Build Configuration option.
The problem I've found with building with the run button is when the build fails. You get a prompt asking if you want to continue and even if you hit no, AutoUpdate still runs and downloads your last successful build which is typically NOT what you wanted to have happen. If you like keyboard shortcuts try reassigning Build to F11 and leave Run at Ctrl-F11.