intellij-idea

Is there an IntelliJ plugin to publish pieces of code to Gist.

I like the gist plugin in Emacs which allows me to select a bit of code and publish it to gist.github.com so I can paste the link in a chat box to dicsusss with my colleagues. I really like that for IntelliJ IDEA. oes anyone know of such a plugin? ...

Is there a console scroll lock in IntelliJ?

I've recently moved from Eclipse to IntelliJ and one feature I'm missing (or maybe just can't find) is the console scroll lock i.e. stop refocusing on the latest console entry. Is this possible in IntelliJ? I'm using v9 Ultimate edition. ...

Can someone show me what a good dependency matrix looks like and specify why?

I would like to start using DSM, but not sure how to get started. What does a good dependency matrix look like and why? How does it work? ...

How can I modify the control/option/command key mappings in the IntelliJ's Emacs keymap?

GNU Emacs on Mac OS X, by default, uses the control key as CTRL, and the command key as META. This drives me crazy, because my MacBook Pro contains only a single control key on the left, while I'm used to having a control key on both sides of the keyboard. With my GNU Emacs installation, I was able to modify the variables mac-control-mo...

Hippie Code Completion in IntelliJ IDEA?

In Netbeans, it's Ctrl + K that activate the hippie completion, In Eclipse, it's Alt+/ What is it in IDEA? Edit: Hippie Completion is the kind of completion that doesn't require much information about the context. It scans all the word in file(s) and immediately choose the first match. It originate in some variation of Emacs. Read m...

Java IDEs vs Microsoft IDEs

Hi Guys, I come from a strong Java background and in recent years have been also developing in C#. What I can never understand is how far behind (Personal Opinion) the Visual Studio IDE's are in compared with Intelli-J IDEA and Eclipse (Java). There have been improvements by Microsoft from VS 2005 to VS 2008, but I feel they are not q...

IntelliJ Idea highlighting depending on file structure; NOT file extension

Hello. I have a little problem: in the project are exists several *.conf files. But they have different file structures: one of them is XML (e.g. Resin conf) and another is java properties file. Is there any way change highlighting manually, or even better - to change highlighting type automatically ? Thanks in advance. ...

Running JUnit Tests in Parallel in IntelliJ IDEA

I have a large suite of tests that takes about half an hour to run and would love to be able to the test classes in parallel. Is there a way to do that with IntelliJ IDEA 9? ...

How to get git to work through a proxy and IntelliJ Idea?

Hi All: Where to I configure the proxy settings for GIT in IntelliJ Idea? I've gotten the proxy settings working for the plugins, but I just can't find it for GIT; and the help files only mention subversion. Any help is appreciated. ...

GWT2.0.3 and JDK1.6.0_21 does not work

Hello, Just to inform GWT developers, GWT 2.0.3 and 2.0.4 does not work in Intellij with JDK 1.6.0_20. Why is this? No error, no nothing, just no output of gwt in war. Me thinks Oracle has done something bad again. ...

How can I create a jar from some Scala source code?

How can I create a jar from some Scala source code? I want to use some of that code in a Clojure project of mine. Is there a simpler way than doing batch files as in this SO question? Thanks, Alex ...

How to inject one EJB 3.1 into another EJB

I'm developping simple app where one EJB should be injected into another. I'm developping in IDEA Jetbrains IDE. But after i make @EJB annotation in Ejb local statless class my IDE highlight it with error: EJB '' with component interface 'ApplicationController' not found. Can anyone tell Why? ...

Where is the JetBrains IntelliJ openapi documentation?

I have searched Google and JetBrains website, but I cannot find docs for the com.intellij packages. Any IDEAs (:-))? ...

Disable IntelliJ Starred (Package) Imports?

I'm a migrating Eclipse IDE user and am learning my way round IntelliJ IDEA 9. By default Eclipse IDE won't use a starred import until you import 99 classes from the same package, so it practically never happens. But IntelliJ IDEA seems only too keen to do it, and I can't work out how to disable it. For example, after typing JList the...

TestNG test reuse

Need some help thinking in TestNG terms. I have a large third party test suite written in TestNG and I'd like to be able to compose tests from it and run them from Intellij or Maven Is it possible to compose tests together programmatically and still leverage the runners built into these other frameworks. In JUnit you could do this: ...

Dependency management by external tools versus IDE sugar

I'm using Intellij IDEA IDE. Instead of using it's internal build and dependency management tools I prefer external tools (ant+ivy if it matters). I want IDEA be able somehow catch on the flylibraries that were retrieved by dependency manager, index them and obviously provide ide sugar (code suggesting and so on). Is there plugin or any...

IntelliJ IDEA + TestNG: Run a method before each test in a group

I'm learning to use TestNG for IntelliJ IDEA 9. As far as I understand, One way to put a test in a group called name is to annotate it @Test(group = "name"). To run a method before each test, annotate it with @BeforeMethod. In my test setup I want a method to run before each test only in a particular group. So there is a method beforeA...

Why does IntelliJ IDEA compile Scala so slowly?

I am using idea 9.0.3 which is the latest release. When I write some scala source code in Idea, it takes several seconds to compile and run. This shouldn't be that slow, Is this normal? ...

Finding Annotations in IntelliJ IDEA

I can easily find all mentions of some annotation in my project using SSR (structural search and replace). For example I have following spring based code: class DashboardController { @RequestMapping("/dashboard") public void doDashboard() { [...] } } If I search by pattern org.springframework.web.bind.annotation.RequestMapp...

How to setup intellij-idea to understands table names in hibernate XML files.

I'm using Intellij 9 and Hibernate. Everything works fine, however Intellij does not detect table names in *.hbm.xml files. I've setup hibernate facet and everything else is recognized by intellij (links between hbm.xml files and corresponding classes are working). Just the table name and column name is not get resolved by Intellij. What...