How do I get IntelliJ to auto-configure the Scala facet in a Maven project with mixed Scala and Java source code?
I am using Scala Plugin Nightly for Maia Build 2099.
mvn compile and mvn test both work from the command prompt and from the Maven Projects panel in IntelliJ. However, if I try to run ScalaSpec directly in IntelliJ it prese...
Every once and a while IntelliJ starts getting really slow and the only thing I can do to fix things is to do a fresh checkout and create a new IntelliJ project. Recently I noticed that items I shelved were no longer listed under the Changes tab.
I found all of the .patch files but would like to restore them to the list of changes in th...
In IntelliJ (version 9), in a java file, I can go to the matching brace or parentheses by pressing ctrl-] or ctrl-[. However, for whatever reason, this only works when I'm in a java file. How do I find the matching brace when I'm in some other kind of file (for example a json file or html file)?
...
I am wanting to set up a Run/Debug Configuration in IntelliJ for JUnit. I know how to set it up to run a specific package, a specific class, or a specific method. I was wondering if there was a way to set up the configurations so it will run the currently opened Class file or the currently selected test method. I would imagine I would pu...
Hi,
I am learning Java and using IntelliJ IDEA. How can I add a reference to an external jar in my project (like referencing a dll in Visual Studio)?
Thanks
...
I did right-click > refactor > move from the project menu, "Move everything from .../../ to another directory" > OK selected a different folder, and wham, all my data is gone.
I did a grep -r in the project tree to find it, and a find . -iname 'mydataas' still nothing shows up. Its gone.
Why does Intellij do this?
...
I'm trying to create a filter, for some reason I am not seeing autocompletion when I create a class that implements a Filter.
When I type:
import javax.servlet
IDEA doesn't seem to pickup the namespace.
Is this a separate .jar that I have to setup in maven?
Update
My filter mappings look like:
<filter>
<filter-name>perfo...
I have an eclipse plugin which I want convert to an intellij plugin. Is there a quick way to do that. What will be the design patterns I can use?
...
Is it possible to debug a shell script in IntelliJ IDEA 9.0.3. I hava a shell script that calls a java program. I would like to set a breakpoint in this java program and debug through it. I hava a Bash plugin for IntelliJ and have set the breakpoint in the program but it doesn't stop at the breakpoint.
Thanks,
Tom
...
I have two web application projects which are related. One is the website itself and the other one serves the static resources (css, JS) for the website.
I'm trying to run a native tomcat6 instance from IntelliJ and deploy the two exploded wars. When I run my configuration I get the following warning:
WARN [org.jboss.seam.jsf.SeamPhase...
Hi,
So I have a maven module (module-A) in IntelliJ. I recently moved some classes from it into another new maven module (module-B) and added a dependency to it. Once I had done this I also modified the signature of a method of one of the moved classes (now in module-B).
I re-imported the poms so that IntelliJ would pick up the depend...
I'm using IntelliJ IDEA 9.0 community edition. The Scala plugin I use uses Scala 2.7.6. How do I update the plugin for Scala 2.8? Thanks.
...
Have someone got any tutorials for how to do testing on Android in Intellij? I am looking for resources similar to what you find for Eclipse with the ability to create a test project for my android project.
...
Hi
when I update idea.exe.vmoptions to be as follows:
-Xms1024m
-Xmx1024m
-XX:MaxPermSize=300m
-ea
I get an error:
"The JVM could not be started. The main method may have thrown and exception".
Yet when I start with idea.bat, which essentially parses the same file, it works fine.
I'm not sure if the above error logs somewhere so ...
The only thing that exists in Eclipse, which I miss in Intellij IDEA is "save actions" - possibility to do some actions (usually formatting) when a file is saved.
Is there some plugin or configuration for IDEA which enables such functionality?
Thank you
...
As of now, everytime I make a code change, I do a Make, then build (sorry don't have my IDEA IDE handy to get the real names).
But I run the app on tomcat, so the files go to my /output folder during the make/build process. ( i am using maven also).
Is there a single shortcut key that can do both of these? Or do I just need to do a bui...
I've installed Scala, SBT and Scala Power Pack plugins for IntelliJ Idea 9. And it says
"Plugin scala power pack failed to initialize and will be disabled:
scala/collection/VectorLike
Please restart IntelliJ IDEA"
I've found this with Google but with no solution. Do you know one?
...
Hi!
I'm using IntelliJ IDEA 9 Community Edition for Java project. On "Create New Class" dialog you can see some strange UI element (highlighted in red).
What is the purpose of this element?
...
If I have an interface with a few methods. Sometimes I need to create a new implementation of the interface which wraps another instance of the interface and delegates most of the methods to the wrapped instance. Then I would change a couple of the implementations, maybe not delegating them.
A classic example would be the Collections....
I know that CTRL+N is to find classes and it is very useful. But what about methods?
...