I have made an extremely simple project in IntelliJ's IDEA, basically just a form with a JToolBar containing a JButton, and when I try to launch it, I get an NPE in form.$$$setupUI$$$ - but no such thing is reflected in the actual form.java, so I have no way to debug it or track down the bug.
Is there a way to make IDEA show (and maybe ...
I am using IntellJ IDEA 9.0.2 CE on OS X Snow Leopard. The Services menu never seems to contain any entries, even though I have installed several text services (which do show up in other applications). Is there a way to use these?
I am relatively new to the Mac.
Thanks.
...
I'm learning hibernate and I am running into some issues. The book i'm reading is Harnessing Hibernate - Oreilly. They explain everything using ANT, but I'm not really in the moood for the hassle to write such a huge build.xml. So I'm trying to get it to work with IntelliJ.
I managed to make a mapping according to a DB table in my MySQL...
I'm finally making the voyage back to IntelliJ via Eclipse. Currently my Eclipse is set up so that if I currently have a statement such as this (where ^ denotes where my cursor currently sits):
foo.bar("hello"^)
and I hit the semi-colon (;) key, it will automatically put the semi-colon at the end of the statement:
foo.bar("hello");
...
I'm trying to set up an old Flex project in IntelliJ IDEA but are having a problem with all embeded fonts. The font is installed on my Windows 7 PC and are also located in the folder fonts in the directory where my ActionScript sources are located. I'm using the SDK compiler config from flex_sdk_4.1 with additional option of -static-link...
I'm currently using IntelliJ IDEA for Java development, but I'm also interested in answers targeting other IDEs or general concepts for debugging Java code. Because this is a feature I've missed in a number of IDEs, I'm unsure if I've missed a workflow concept when transferring my debug habits from other languages.
Let's say I'm writing...
So I have IntelliJ and love it, and have been using the python plugin for a while. But I noticed that they have PyCharm coming out in beta now. I haven't been using pycharm since I just use IntelliJ for everything, but is there a compelling reason to buy pycharm?
...
I am learning circumflex orm and using maven with idea for the first time. I expected that my sources in src will compile to build directory. But it doesn't happen. And if I specify sourceDirectory and outputDirectory like ${basedir}/src or ${project.basedir}/build I get intellij idea's inspections that such folders doesn't exist (sic!)
...
I've inherited an existing IntelliJ project and after spedning some time with it, I have everything almost figured out.
The one place I am stuck is that I see a ton of EJBs.
I see that there is an EJB (container-managed persistence), and I'd like to make a new bean.
Withing that EJB, all of the source files begin with:
/*
* Generated ...
I'm having some trouble on a checked out project here at work.
I have a class called GridBuilder, which is located in a package called com.ent.proj.utils.grid
package com.ent.proj.utils.grid
import grails.orm.HibernateCriteriaBuilder
import org.hibernate.criterion.Criterion
import org.hibernate.Criteria
class GridBuilder {
}
The w...
Is there a way to tell IntelliJ never to use wildcard imports?
Under 'Settings > Code Style > Imports', I can see that you can specify the 'class count' prior to IntelliJ using wildcard imports. However, if I never want to use wildcard imports can I turn this functionality off?
I have tried putting -1 or leaving the field blank but t...
While writing javascript code IDEA adds deprecation warnings for some methods (It strikes it out). Is it some hot-key or menu item that will show where exactly this method was marked as deprecated.
...
How to setup IntelliJ IDEA to prevent splitting of anonymous class, declared by one line, into several lines during auto-reformating(CTRL+ALT+L)?
For example, to prevent splitting of
x = foo(new Boo() {});
into two lines:
x = foo(new Boo() {
});
...
In FireFox, I'm constantly using the ctrl+[1-9] shortcut to switch tabs. Basically ctrl+1 will take me to the first tab, ctrl+2 will take me to the second one and so on.
Is there an equivalent for this shortcut in IntelliJ Idea? (I looked around the keymap settings but couldn't find anything.)
I should mention that I'm a complete begi...
In the JIndent formatter you can add "special" comments that prevent the formatter from processing a group of lines (//J-, //J+, if I remember correctly).
Is there an equivalent for the built-in formatter in IntelliJ IDEA (9.0.3 CE)? I'm normally very anal about my code style :-), but one of my colleagues is writing a chunk of SQL (in S...
I'd like to selectively disable the IntelliJ IDEA code formatter for a portion of code just like I can in Eclipse. Does IntelliJ support this feature, and if so, how do I use it?
...
When I trying to run Ant — he show me an alert with “Project JDK not specified”. How I can use Ant in Intellij Idea for web-applications without JDK?
...
Currently in IntelliJ, if I right-click a package in the Project pane, I can see things such as:
new > Java class
new > File
new > Package
I want to add some new menu items in the 'new' context menu such as Interface and Enum. Does anyone know how to do this?
I've been playing around in the Settings > Menus and Toolbars without any ...
I have a project with mixed Java and Scala sources, following the instructions on this page, which works when running Maven from the command line.
However, people using IDEs like IDEA and Netbeans have problems resolving Scala classes in Java code (but not the other way around, thanks to the nice plugins available). Is there a way to r...
I'm using Intellij IDEA 9.0.2
After each make, if i have errors, window "messages Make" is stealing focus from the main editor. Do you know how to correct this?
...