eclipse
does intellij support variables in launch configurations?
There is no direct equivalent in IntelliJ. To make it easier to share configurations or other project settings between multiple developers, you can use path variables (Settings | Path Variables, see the Help for more information). To customize the options before launching the run configuration, enable the “Before launch | Show Settings” option in the … Read more
What is the id=xxx next to variable entries in the Eclipse Debugger
The ID number is arbitrarily assigned by the eclipse debugger, it is just a clue that can help when you are debugging to easily figure out if two variables are pointing to the same object or not …
Eclipse bug? Switching on a null with only default case
This is a bug. Here’s the specified behavior for a switch statement according to the Java Language Specification, 3rd Edition: JLS 14.11 The switch Statement SwitchStatement: switch ( Expression ) SwitchBlock When the switch statement is executed, first the Expression is evaluated. If the Expression evaluates to null, a NullPointerException is thrown and the entire … Read more
Which is the Best Java IDE for Spring Framework? [closed]
You should definitely use SpringSource Tool Suite, an Eclipse-based IDE created by SpringSource themselves. Also on the official SpringSource channel @YouTube you’ll find a pretty extensive 5-part introduction to using Spring & STS.
disable eclipse auto completion
Well I found how to stop the tags auto-closing. For some reason it’s under the Web | HTML Files preferences (even for a PHP file). I realise PHP is embedded in HTML but it seems odd the way the Editor options cross over like this. You need to restart Eclipse for this change to work.
Refactoring C/C++ in Vim (e.g. method extraction like in Eclipse)
No, although Vim is a good environment for editing, and can be customised in a lot of ways (code folding, syntax colouring, macro expansion etc.) most of these are done on the syntax level, rather than the semantic level. Even the code folding just matches up opposing braces. To do a proper refactoring, you have … Read more
Eclipse giving me Invalid arguments ‘ Candidates are: void * memset(void *, int, ?) ‘ though I know the args are good
In Eclipse: right click the project click properties Expand “C/C++ general“ the item in the left hand tree view by clicking the arrow, (just clicking the item itself does not expand the suboptions) From the suboptions select “Preprocessor Include Paths, Macros etc.“ Click the “Providers“ tab Check the box next to “CDT GCC Built-in Compiler … Read more
How do I get IntelliJ to give me a warning if I have failed to provide JavaDoc description/annotation for public fields and methods?
For older versions of IntelliJ: Preferences > Inspections > JavaDoc issues > Declaration has JavaDoc problems For newer versions of IntelliJ: File > Settings… > Editor > Inspections > Java > JavaDoc issues > Declaration has JavaDoc problems Make sure to move “scope” slider to desired level of visibility for packages, classes, methods, fields and … Read more
How can I go to the next Eclipse marker (e.g. build error) using the keyboard?
The best I’ve come up with so far is Ctrl + F7 to flip to the Problems view, then ↓ to pick the topmost error, then Enter to go to it (which returns focus to the editor).