intellij-idea

How to convert JspxIncludePathReferenceProvider for IntelliJ IDEA 8

I wrote an IntelliJ IDEA plugin for version 7.0 that uses JspxIncludePathReferenceProvider to allow autocomplete in a custom JSP tag (e.g. dsp:include src="/path/to/file.jsp"). The new version 8 of IntelliJ has changed the API for the Reference providers and I can't figure out how to convert this plugin for the new API. Any suggestions...

What are the most useful Intellij IDEA keyboard shortcuts?

I did a bit of googling hoping to find a post on IDEA shortcuts similar to Jeff's post on Visual Studio shortcuts (http://www.codinghorror.com/blog/archives/000315.html), but didn't really spot anything that helped. Hopefully the answers to this question will fill the void. ...

Need an example for using Junit in Intellij Idea

Maybe it's just me, but I cannot understand the documentation regarding Junit test integration in Intellij Idea. What I am looking for is a simple tutorial example, such as: Here is a method calculating 2+2, and here is a test class testing it to be 4. This is the checkbox you set to make it go. If there is already such a thing on the we...

How do I make IntelliJ IDEA run all the tests in a package including sub packages

If I click on a package and do control-shift-F10 it only looks for and runs JUnit tests in that package - but I really want it to recurse down into subpackages and run them. UPDATE: looks like its something else wrong. When I run it on a package that has tests, it still complains there are none (yet if I open a JUnit test I can run it ...

Intellij shortcut for quick call hierarchy

Is there a shortcut key to bring up the call hierarchy of a method inline with the code, in the quick menu format, rather than bringing up the call hierarchy panel? ...

Show all compile errors in FlexBuilder?

Is it possible to make FlexBuilder show all compile errors in all files? FlexBuilder does not show errors in Action Script files, that are not referenced. Also very often I fix a problem just to see new problems pop up after compiling the whole project although these errors existed long before. IntelliJ is showing all compile errors it ...

Worth Upgrading from Intellij Idea7 to Idea8?

I use Intellij Idea 7 for Java dev. My dev is 'limited' to all J2SE features plus light JSP, Servlets, and super light usage of JPA. No J2EE, no massive use of random frameworks, etc. Is it worth upgrading to ver 8? "Worth it" to me means better "core functionality" in terms of speed (ESPECIALLY startup speed), memory utilization (see...

GWT - What's a good GUI editor for GWT in Intellij IDEA?

The one that ships with IDEA is nothing more than a GWT project creation tool. Is there a better plugin? Is there a standalone GUI editor for GWT? ...

Two IDEs have different results.

My co-worker and I are working on the same project, but we use different IDEs. He uses Eclipse 3.4 and I use IntelliJ 8.0. Recently I advocated using EasyMock, which uses CGLIB, for some unit tests on our project. I have not seen any problem setting breakpoints in IntelliJ on the partial mock objects generated by EasyMock, but my co-wor...

Can Intellij Idea open more than one physical editor window?

I can split editor panes horizontally or vertically, but it does not seem possible to view code in two separate physical windows. I am aware that Idea can open multiple projects in separate windows, but I'd like to be able to do this for two files in a single project. One answer suggested unpinning the tab, but I haven't been able to...

Generating code stub from class and javadoc

Is anyone familiar with a tool that generates code stubs with meaningful names from class and javadoc? The real question should've been "I have classes without debug information and a matching javadoc, but my IntelliJ IDEA 8.0.1 (please, no IDE wars) doesn't take into account the javadoc and shows me "void setLocation(Object object, Str...

IntelliJ configuration directory

Hi all, Is there a way to configure the directory where all the configuration files are stored by IntelliJ IDEA (version 8.0.1)? By default, these files are stored in %home%\.IntelliJIdea80..., but I want to define another location... Thanks. ...

How do i select individual words of a camelized word in IntelliJ IDEA

What is the shortcut in IntelliJ IDEA to move across or select individual words of a camelized word? Lets say i have aLongMultiWordVariableName, I want to be able to move the cursor to each word for editing or select parts of the variable. Eclipse has a shortcut to do this Ctrl + Left/Right for move and Ctrl + Shift + Left/Right for sel...

How does VS2008+ReSharper compare to IntelliJ IDEA?

I used to be a Java user, but I moved into 100% .NET 4 years ago. Having grown accustomed to ReSharper and all the commands it offers, how does it compare to IntelliJ? Both being from JetBrains, I'd imagine they are close - but I haven't used it. (I know I can do that and answer myself, but YMMV.) Thanks; ...

Can IntelliJ create hyperlinks to the source code from log4j output?

In the IntelliJ console, stack traces automatically contain hyperlinks that bring you to the relevant source files. The links appear at the end of each line in the format (Log4jLoggerTest.java:25). I can configure log4j to output text in a similar format. log4j.appender.Console.layout.ConversionPattern=%d{ABSOLUTE} (%F:%L) - %m%n In...

Things possible in Eclipse that aren’t possible in IntelliJ?

I have heard from people who swear by one or the other. Both are full-featured, excellent IDEs. But each has slightly different strengths. This is not meant to turn into a holy IDE war. Please downvote any flamebait answers. Thanks. This is the analog of this question. ...

Custom IntelliJ Idea Shortcuts - Plugin or Keymap?

I want to create a shortcut similar to Ctrl+Shift+T in Idea. Instead of switching between Class and Test, i want to switch between XModel, XView and XController based on the current tab (X). Should i create a plugin or is this achievable in Keymap? ...

From Eclipse to IntelliJ

I know some (crazy) people want to move from IntelliJ to Eclipse. On my side, I am moving the "normal way", i.e. from Eclipse 3.3 to IntelliJ 8.0.1 I really like it, but I am a little lost sometimes. Do you know any specific IntelliJ guide or tutorial created specifically for Eclipse users? For example, after some tests, I missed some...

Intellij IDEA setup on OS X

What's the accepted procedure and paths to configure jdk and global library source code for Intellij IDEA on OS X? ...

Can't paste Java source file into IntelliJ IDEA

I recently moved to IntelliJ IDEA. And I need to add several files to one of the packages in my project. The problem is I couldn't paste these files into that package. I also tried pasting the files in Explorer and pressing F5 in IntelliJ IDEA, but it did not work. How to copy the files into IntelliJ except manually creating these sou...