IntelliJ Community . UnofficialAuroraFAQ

 
UnofficialAuroraFAQ 

HOME INDEX SEARCH CHANGES GO  
Questions :


How to change the place where IDEA stores stuff?

Problem : Your home disk is full, and IDEA keeps filling it with cache and LVCS info.
Solution : change the idea.system.path property

How to : In the file /bin/idea.lax, edit the -Didea.system.path property to a suitable value.

default value :
    bin/idea.lax="~\\.IntelliJIdea\\system" 
   
after :
    bin/idea.lax="D:\\bigDisk\\idea\\system"

on Mac OS X use /Developer/bin/PropertyListEditor to edit Info.plist in the Idea.app binary

source: http://www.intellij.net/forums/thread.jsp?forum=27&thread=36219&tstart=0&trange=100#518338 (top)


How to run multiple instances of IDEA simultaneously?

Problem : You need to run different builds or versions of IDEA simultaneuosly but it won't let you.
Solution : specify different system folders for each copy by changing the idea.system.path property

How to :
See : Launch 2nd instance of IDEA with a separate plugins set
See How to change the place where IDEA stores stuff

(top)


How to debug a plugin?

Problem : You need to run debug a plugin.
Solution :

  1. : Launch a 2nd instance of IDEA, that loads only the plugin to debug, and
  2. : in the main IDEA instance, start a remote debugging session to the 2nd one

Details :
See : Launch a 2nd instance of IDEA with a separate plugins set, and remote debug it.

(top)


How to use the uiDesigner?

  1. : to create an empty form, press [Alt+Insert] (or right click) in the project tree on any package and choose "UI Form" from "New" submenu.
  2. : Download and look into a complete sample project
  3. : Add this jar file to the classpath of application: <IDEA_HOME>/lib/forms_rt.jar
    -- LynneBrown - 01 Jan 2004

The uiDesigner was also used in SmartIntroducePlugin (source is available).

(top)


How to use generics

Problem : I do not know how to compile and run with generics code
Solution : See GenericsAuroraFAQ

(top)


How to open explorer witht the current file selected

Problem : I want to open an explorer frame with the current file selected
Solution : Go to Options->External tools and create a tool with Program: "explorer" and Parameters: "/select,$FilePath$"

(top)

What are modules and why would I want to use them?


Modules are subprojects, if that helps. You can create a number of modules, each of which has it's own classpath, sourcepath, libraries, etc. You can reuse modules in multiple projects and you can specify dependencies between them. When you use them, they show up in the project tree and you can edit code in them in place (i.e. without having to open a separate project); IDEA will know to recompile only modules that depend on the module you change. If you add a library to a module in one project, the change is visible to all projects which use it.

You can also have different types of module. For example, you can have a type of module which represents a group of EJBs, another type which represents a web application, and so on. These can be made to automatically regenerate EJB JARs, WARS, EARS, etc. for you each time the module is rebuilt.

(top)


How to hide the console?

Edit /bin/idea.lax , and remove "console from the 3 redirecte lines (see below).

Before

   lax.stderr.redirect=console
   lax.stdin.redirect=console
   lax.stdout.redirect=console

After

   lax.stderr.redirect=
   lax.stdin.redirect=
   lax.stdout.redirect=

(top)


How to enable AspectJ support?

Since build 1090 AspectJ support in idea is disabled by default.
To enable it add :

   -Didea.aspectj.support=enabled
VM option to your .bat/.sh/.lax/Info.plist file or whatever. (source)

(top)

e d i t a t t a c h r e f - b y d i f f s m o r e
Have ideas, requests, problems regarding this site? Send feedback.
Copyright © 2000-2003 by the contributing authors. All materials at intellij.org are the property of the contributing authors.