Suggestions for other/better Free/Open Source plugins for current Intellij CE are welcome:
Some file types are really just zipped (or maybe gzipped) folders containing xml and/or other plaintext based files.
- *.epub e-books
- OpenDocument files
- Java source jar files
- JEE web application archives (*.war)
- Pentaho report files (*.prpt)
If you happen to have such files in a software project, and don’t want to treat them like opaque binary blobs, you need a tool that helps you to transparently unzip, act on and rezip them. Also you probably want to be able to diff them without resorting to commercial tools like BeyondCompare.
IntelliJ CE (Community Edition) supports archive diffs as part of its regular Comparing Files functionality. All you need to do is make sure the file extension of the file types you want to be treated as archives are accordingly registered in Settings – Editor – File Types.
The screenshot below shows *.war and *.jar registered as Archive file name patterns (by default) and *.prpt (Pentaho report files) as an example of a manually added pattern:
To avoid distracting back-and-forth code changes, Intellij can be configured to match the default Eclipse behavior:
Go to File – Settings – Editor – Code Style – Java – Imports tab
Prevent on-demand imports (i.e. wildcards) by settings high count limits:
Define the imports layout (i.e. grouping and order) like this:
Java 5, 6, 7 and newer
Usually this boils down to:
This will cause your JVM process to execute (suspend=n) and listen for a socket connection from a remote debugging client on port 4444.
If you are for some terrible reason stuck on Java 1.4, then you must use the older approach like this:
To enabled remote debugging for a Apache Tomcat on Windows, create bin\setenv.bat in your Tomcat installation, with this content:
Add a debug configuration via Run menu:
I am looking for a framework that allows me to develop modern apps (mobile, web, desktop) all from one Java codebase. I prefer Java because I know it very well, it is already cross-platform and a statically typed language that allows IntelliJ, Eclipse and Netbeans to be better than any dynamically typed scripting language editor could ever be.
By using RoboVM, libgdx even supports iOS.
For user input (forms) libgdx provides the scene2d.ui widgets. I hope that will be sufficient for most of my UIs. Now I just have to get OpenGL to work on my Linux box …
- Close any running IntelliJ IDEA instances
- Add this line to your idea.properties file:
- Start IntelliJ, go to File – Settings – HTTP Proxy, select “Auto-detect proxy settings”.