intellij-idea

IntelliJ leap to Eclipse - where are my breadcrumbs

Hi, I just switched from eclipse to intellij 9.0 and it is wonderful. The one thing I miss the most is the "Show breadcrumbs" line in Eclipse which shows me the method I am located in - in the class file. The solution is obviously to write short methods, but I do need the "show breadcrumbs" feature from time to time. Any one knows if ...

Best Practices for using Git with Intellij Idea

Hi All, In a nutshell: what are best practcices for using Intellij Idea (9) and Git? Context We've recently upgraded to idea 9 and have started to use Git for a new feature on existing project. We largely use git command line to learn the tool better. But we thought we'd pick the hive-mind to find out what are best practices for gi...

Initialize Mercurial Repository with hg4idea in Intellij Idea

I have created a project that I wish to push to a remote repository. When I right-click the project in project view and "commit directory," it says there are no changes. ?? I see nothing under the Version Control->Mercurial. I just want to avoid having to run "hg init." Not that big a deal, but it would be nice to know. Thanks! ...

testng: why I can not run test based on group

I want to lauch all my integration tests (group=inttest) so I write this xml config: <!DOCTYPE suite SYSTEM "http://testng.org/testng-1.0.dtd"&gt; <suite name="Service Integration Test" parallel="none"> <test verbose="1" name="Service Integration Test"> <groups> <run> <include name="inttest.*"/> </run> </gr...

When Java debugging what could cause my process to hang

I have a Java server process which does heavy processing. It intermittently stops processing, as in the log stops, and activity ceases but the process is still active. I have had this happen while debugging a few times. When it does I hit pause/break in the debugger so I can inspect the running threads and look for the cause of the st...

Which is the best Maven2 plugin for Intellij?

What is the best Maven2 plugin for IntelliJ? There are a lot of them now, and I don't have the time to play with them all. It would be very helpful to get opinions and a feature synopsis on existing plugins. Here is what I am looking for: a) it keeps my paths and repositories synched to change in the pom file; and b) it doesn't keep ...

How to use GUI form created in ItelliJ IDEA

I'm create simple gui form with one button in IntelliJ IDEA 9. Class wich was created with form is not JFrame or any another swing class. How i can call my form in my source code? ...

Why does IntelliJ import extra libraries from JDK 1.6 for a simple hello world program?

I'm new to Java and IntelliJ and I am just doing a simple "hello world" program. IntelliJ has about 10+ libraries from JDK 1.6 added to my project even though I'm not importing anything in my classes that would seem to need them. I created a new project from scratch. Some of the libraries are alt-rt.jar, charsets.jar, deploy.jar, dnsns....

Run IntelliJ JUnit Tests in Serial

Hi, I'm using the JUnit runner in IntelliJ to run all tests in a package. When I run my tests in isolation they pass, when I run the entire package some fail, suggesting interplay between the tests. I'd like to force the tests to be run in serial rather than parallel to prove this - can anyone tell me how I can configure this to happen?...

IntelliJ 9 unable to recognize Implicit Object methods in JSPs?

I'm trying out IntelliJ IDEA 9 for 30 days, and I like what I'm seeing so far. The only glaring problem I have is that the editor seems to have no idea what to do with JSP implicit object methods... Example 1: <body> <% out.println("Hello, World!"); %> </body> The editor marks the "println" in this statement as an error and say...

long running loops becomes non-debuggable in intellij

I use IntelliJ to develop and debug applications. Many times I hot-swap classes as part of debugging. Some time (just sometimes) I am unable to set break points in newly added code. The IDE shows that the break point is valid-- but does not stop there. I observed that this happens with loops that ran many many times. Any one faced simi...

I need to enable Subversion integration on every branch

Whenever I start working on a new branch, I need to re-enable subversion integration (Version Control --> Enable Version Control Integration). This is a fresh installation of IntelliJ, and I don't remember this phenomenon in previous times I installed it. Am I missing some global configuration? ...

adding dll library to java using idea for using a program

Hi all I am trying to add and use a program called JVLC to my program. I downloaded a zip file that contains a jar file(jvlc.jar) for java interface and 2 dll files (jvlc.dll , libvlc.dll) and a folder that contains many dll files. when I run my program an UnsatisfiedLinkError occurs. I used this code to add those 2 dll files to my proj...

Stuttering start to JSP debugging in IntelliJ IDEA

Summary When using IntelliJ IDEA to debug a JSP, I'm seeing the JSP get triggered twice before the actual request from the browser. Does anyone know why? Updated with servlet test below. Overview I'm using (evaluating) IntelliJ IDEA for (effectively) the first time. When doing web application debugging, I'm seeing an odd behavior tha...

Saving encrypted SVN password in IntelliJ Idea on Linux

I use IntelliJ Idea (Ultimate 9.0.3) on Linux at work, and our VCS is Subversion. Idea proposes to store my SVN password but then tells me it is unable to store the password encrypted, and asks if I want to store it in plain text. Well, no. This is on an Ubuntu 10.04 install with Gnome Keyring available. Any hints how I could convinc...

intellij- pause a thread while debugging

Can I pause a thread while debugging on intellij? What I want to have is something similiar to other ID - right click on a thread and pause it. ...

Where should I store third-party libraries for inclusion in IntelliJ IDEA projects?

This is not about how to add libraries to my project or module dependencies; it's about where to store the .jar files that are referenced by the project/module settings. Should I have a lib folder in each project, containing the third-party libraries; or should I store them elsewhere on my hard drive? What scheme has worked for you? ...

how to install an intellij plugin without uploading it to intellij

ive built my .zip file, and i just want to extract it into my ~/Library/Application Support/Intellij-x folder That doest seem to work, and all jetbrains tells me (in their docs) is that I should upload it to their server. "Then everyone has access to it!" as though thats a good thing while im trying to test it outside of the sandbox and...

Debugging a runnable groovy class via IntelliJ

I'm successfully debugging this script in Intellij: println "a"; println "b"; But, when trying to debug the following script, my breakpoints aren't hit public class Main implements Runnable{ public Main(String[] args) { println("A"); // breakpoint println "B"; } void run() { println "C"; // breakpoint println ...

IntelliJ shortcut to show a popup of methods in a class that can be searched

I'm switching over from Eclipse to IntelliJ. In Eclipse, if you do Ctrl+O in the editor, it will show a hover popup that allows you to search for a method in the class you're editing. What is the equivalent shortcut for that in IntelliJ? ...