intellij-idea

Maven Artifact Search is always empty

When using Alt-Insert to insert a dependency into the POM, the Artifact Search is always completely blank regardless of what I search for. I tried to add repo1 to Settings->Maven->Repository Services, it says "no repository found." I find that hard to believe. I've also tried to "update" my local repository but that results in an err...

What is Eclipse's Ctrl+T shortcut equivalent in IntelliJ IDEA?

When I'm editing a java class in Eclipse, when my cursor is over a class variable. If I do Ctrl+T, it will popup a hover that shows all its parents and subclasses. What is the equivalent in IntelliJ? Example: Use|r user = new User(); The pipe is my cursor. ...

Equivalent shortcuts between Eclipse and IntelliJ

Equivalent shortcuts between Eclipse and IntelliJ I would like to start a community Wiki list of equivalent shortcuts between Eclipse and IntelliJ ...

JAVA 1.5 in OSX 10.6.4

Hello, I am trying to debug a j2ee application in tomcat using Intellij Idea in an OS X 10.6.4 system. I need it specifically to run over a 1.5 JVM and 1.5 JDK so that the jgroups-all component doesn't crash the application through this error: class: java.lang.ClassNotFoundException: [Lorg.jgroups.Address; at com.opensymphony.osca...

IntelliJ IDEA with hibernate support

I have IntelliJ IDEA 8.1.3. It has support for a hibernate facet/plugin which I have enabled. When I do this it recognises the HQL query strings but highlights in red all the objects and properties. I can't see how to get IDEA to be aware of my entities. I use spring+hibernate and annotated objects. I have no hibernate.cfg.xml just ...

How to create my first Grails project in IntelliJ, with Maven?

The goal: create my first Grails project, in IntelliJ, with Maven support. Myself: Noob to Groovy/Grails, has some Maven experience but not too much The tooling: Groovy 1.7.5, IntelliJ 9.0.3 and Maven 2.0 What I've tried so far, is: File->New Project Create Module Maven Module Add & choose the Grails Archtype Right click on the proj...

Problems with IntelliJ integration after switching SVN servers

We moved to another SVN server, and now my IntelliJ-SVN integration doesn't work. Whenever I open the project, I get this: What is this "content roots"? I searched all over the project dir and didn't find it. ...

What is the Eclipse equivalent of IntelliJ "Live templates"?

I mean stuff like typing "iter" and getting a "for" loop with a choice of what variable to iterate on , typing "soutv" to generate a "System.out.println" with the "variable=" already in ... Thanks ! ...

Use ItelliJ Idea module classpath when running Maven goal from ItelliJ Idea

Lets say I have two maven projects: moduleA and moduleB. moduleA has a dependency to moduleB in it's pom.xml. I use IntelliJ Idea, and I have 'Maven Projects' tool window, where I have both these maven projects. And it is possible to run maven plugin goals from there: I open 'Maven Projects' -> moduleA -> Plugins -> jetty -> jetty:ru...

Is it possible to "extend" IntelliJ such that I can open the current file in VIM

Hi, I use IntelliJ for most of my Java programming, but every once in a while I need to make certain changes which are much easier done in VIM. Thus, the question: While I'm editing a file in IntelliJ, it is somehow possible to tell IntelliJ to start VIM with the same file that is currently under cursor. Thanks !! ...

IntelliJ and Tomcat.. Howto..?

So, I come from Netbeans, I develop sites there, we use Tomcat as local server to manage it. In Netbeans it was pretty much "Install, write hit Run and it works" How do I pull the same thing off in IntelliJ? I really can't find a step-by-step instruction for it.. ...

Can IntelliJ auto complete and include simple generics?

I have recently switched back to IntelliJ from Eclipse and one thing I am struggling with is the auto complete, especially when declaring Collections. *This is not a question about which IDE is better its just a question on how to perform a task if that task is possible * In IntelliJ I type List<String> listOfNames = new ArrayL (then...

Intellij 'Go to symbol' shortcut in eclipse?

There is a shortcut in IntelliJ I'm looking equivalent in Eclipse, it is called 'Go to symbol'. CTRL-ALT-SHIFT-N lets you start typing and glob up classes, method names, variable names, etc, from the entire project. Does someone know if there is such thing in eclipse? ...

persistence.xml not found on glassfish deployment descriptor (IntelliJ)

I have an EJB and a WEB module in my IntelliJ, created 5 entities that I would hope to load into a database using annotations. I go to project settings, under modules, and select that I want to add JPA facet, I know have a EJB, WEB and JPA facet. I use eclipselink, so I checked that under JPA settings, I then added my persistence.xml f...