Hi,
I am having problem installing intellij idea 12 in mac.When I tried to install the downloaded .dmg file, it complains that image is corrupt.
Any ideas???
Thanks,
Anil.
Hi,
I am having problem installing intellij idea 12 in mac.When I tried to install the downloaded .dmg file, it complains that image is corrupt.
Any ideas???
Thanks,
Anil.
Hi...
I've posted a support question, but I thought I'd also ask here.
To make a long story short, I can't use IntelliJ 12 on OSX for Grails development. Upon loading a bare/new Grails 2.2 project that was created on the command line, I receive the following error:
/Library/Java/JavaVirtualMachines/jdk1.7.0_10.jdk/Contents/Home/bin/java -Dgrails.home=/Users/michaelmorett/grails-2.2.0 -Dbase.dir=/Users/michaelmorett/work/test-grails-2-2 -Dtools.jar=/Library/Java/JavaVirtualMachines/jdk1.7.0_10.jdk/Contents/Home/lib/tools.jar -Dgroovy.starter.conf=/Users/michaelmorett/grails-2.2.0/conf/groovy-starter.conf -Xmx768M -Xms768M -XX:MaxPermSize=256m -XX:PermSize=256m "-javaagent:/Applications/IntelliJ IDEA 12.app/plugins/Grails/lib/grails-rt.jar" -Dprint.grails.settings=true -Dfile.encoding=UTF-8 -classpath /Users/michaelmorett/grails-2.2.0/lib/org.codehaus.groovy/groovy-all/jars/groovy-all-2.0.5.jar:/Users/michaelmorett/grails-2.2.0/dist/grails-bootstrap-2.2.0.jar org.codehaus.groovy.grails.cli.support.GrailsStarter --main org.codehaus.groovy.grails.cli.GrailsScriptRunner --conf /Users/michaelmorett/grails-2.2.0/conf/groovy-starter.conf help
Exception: java.lang.StackOverflowError thrown from the UncaughtExceptionHandler in thread "main"
*** java.lang.instrument ASSERTION FAILED ***: "!errorOutstanding" with message transform method call failed at ../../../src/share/instrument/JPLISAgent.c line: 844
Exception: java.lang.StackOverflowError thrown from the UncaughtExceptionHandler in thread "Thread-0"
============
This is not new to IntelliJ 12. I've been having that JPLISAgent.c error for years, since IntelliJ 10. I saw it on Snow Leopard, then Lion, now Mountain Lion. I saw it on Grails 2.0, then 2.1, now 2.2.
I'm fine with IntelliJ 12 on Windows 7 (it works beautifully), but I'm trying to move to OSX. This single problem is keeping me from doing so. The only alternative I can think of is to put a Windows 7 VM inside OSX.
Complicating matters (maybe) is the fact that I can't seem to "control" the JVMs in use. I have JDK7 installed, but when I removed all JDK6 JVMs, IntelliJ itself could not even start and asked me to install Java 6 SE. I resisted and fought that for hours trying to troubleshoot, but in the end, I gave up and let IntelliJ install the JDK6 (JRE6?).
Complicating matters even more (maybe), is that there are various places JVMs like to live. One is /System/Library. The other is /Library. Another is /usr/libexec/java_home (?). Maybe there are other spots. Then there are symlinks from /usr/bin pointing into one of these (/System/Library).
Then there are plists (which IntelliJ 12 stopped using?). And then there is launchd.
Yes, I am confused. All I want for Christmas is to be able to start IntelliJ 12, on Mountain Lion, and work with a Grails 2.2 project. I am going in circles with this Java spaghetti on OSX.
Any help is appreciated. Thanks....
Michael.
When I highlight code, I usually use the mouse.
A couple of often-used items I like to then have available on the right-click, right after highligting code, are:
1. Comment line or block
2. Surround with
Yet, neither of these is on the (default) IDEA right-click menu.
So, I either need to move my mouse to the menu or dig out the keyboard shortcut cheat-sheet.
My question is then, is there a way I configure what is on the right-click menu when it's in a code file?
If there isn't a way to configure the right click menu options, can this feature be added?
Thanks in advance,
- m
Is it possible to run a project on the Android x86 emulator?
I have one setup but IDEA doesn't recognize it as a usable emulator.
An emulator with the same API level but for ARM works fine.
S.
He, IntelliJ 12 does not recognize Grails (1.3.7) in any way when I start this thing as my user.
When starting IJ 12 as root, everything works fine (okay, THIS works fine, a lot of other things are now messed up).
The $GRAILS_HOME variable is empty by the way.
Any suggestions ?
Merciii
I work via Remote Host on big project with lots of xsl importing each other.
Every import tag uses absolute path, and when source code is synchronized to my local machine, it is impossible to get reference to imported file, but with relative paths Inspector works like a charm.
How can I set up mapping rules to get Inspector working with absolute path?
Both netbeans, natively, and eclipse, through e(fx)clipse have solid support for the JavaFX eco-system, especially SceneBuilder and FXML. In the meanwhile, intelliJ is lagging behind here. There's a plug-in, but it's old and seems to refer to support for the older JavaFX with the special scripting language. I'm actually most interested in using JRubyFXML , which intelliJ would be absolutely perfect for, but for the fact that there's no built in support for FXML or SceneBuilder, or any integration with JavaFX at all. I labelled this a question, so I'll finally get to it, does intelliJ have any plans to provide better integration with JavaFX, especially in light of all the attention its been getting recently? I would really like to see support for this in intelliJ, and would REALLY love to see support for working with jrubyfxml, though I realize this is a farther stretch. I only ask this question because searching turned up nothing very recent, only much older threads, referring instead to the older javafx-script.
Is there any way I can have the only one option (when using code auto completion) pre-selected?
Now I must use the arrows to select the one option!
Thank you!
I have a large JS project with namespacing and inheritance. I'm looking for some tips for the optimal JSDoc annotations to use to get code completion working in IDEA 12.
Here are some quick classes for demonstration.
ClassA
// ...namespace setup here... /** * @class ClassA */ com.demo.jstest.ClassA = function ClassA() { this.functionOnClassA = function() {}; };
ClassB
// ...namespace setup here... /** * @class ClassB * @extends ClassA */ com.demo.jstest.ClassB = function ClassB() { // ...inheritance setup here... this.functionOnClassB = function() {}; };
Client
// ...namespace setup here... /** * @param {ClassA} classAInstance * @param {ClassB} classBInstance * @class Client */ com.demo.jstest.Client = function Client(classAInstance, classBInstance) { // Want to use code completion here };
In Client, code completion works as expected for the direct members of each class; i.e. classAInstance has functionOnClassA and classBInstance has functionOnClassB. But classBInstance does not have functionOnClassA, despite the @extends annotation.
If I replace all of the class names in the JSDoc annotations with fully-qualified names (i.e. com.demo.jstest.ClassA, com.demo.jstest.ClassB, etc.), the code completion does start including functionOnClassA on the classBInstance.
Do I really need to put fully-qualified names everywhere in my JSDoc annotations, or can I use some other combination of JSDoc tags to get the desired result?
Hello
I'm the only one in my team who uses IntelliJ. The remainder of the team use Eclipse. It's been suggested that I start ordering my code according to the style utilized by Eclipse.
I was hoping someone here has (or knows where to get) an already-defined set of rules (as defined in Settings > Code Style > Java > Arrangement) that will mimick Eclipse's default style of code ordering.
Thanks
-- Cam
Is it possible to automatically add any missing "this" keyword, and @Override annotation in IntelliJ when reformatting the code?
Also, is it possible to customise the Javadoc template in such a way as to get a different template depending on whether the method is a new method or an overriden method?
Thanks!
For example if I wrote in JavaScript:
console.
after the "." a list populates of valid and invalid methods that I can use on console. For example console.writeln() is one of the autocompletions. Is there any way to have methods that only apply to the object to avoid confusion?
I'm getting 13 Kb/s from the Jetbrains site. Have to download an update to 12, and need to get some work done...
when i commit file,and the error happed,but when i user svn client 1.7,commit is right...;
svn: E200014: Commit failed (details follow):
svn: E200014: Base checksum mismatch on '/src/CN/wse3.0/config/spring/application_global.xml':
expected: dd73044f90042844c3ac1c2e97a4ca62
actual: ff3240282dcf7f97954b48d4c7882374
svn: E175002: PUT of '/repos/smartenergy/!svn/wrk/478f0fd0-3b01-0010-b7ba-a169a6103fac/src/CN/wse3.0/config/spring/application_global.xml': 500 Internal Server Error (http://192.168.0.24)
Hi,
the Idea 12 IDE starts with java 1.6.0_37 by default on my OS X (mountain lion) machine.
I would like to start the IDE with my default Oracle Java 7.
How is it possible?
I have already exported JAVA_HOME
"export JAVA_HOME="/Library/Java/JavaVirtualMachines/jdk1.7.0_10.jdk/Contents/Home"
Thanks in advance ;-)
Hi everyone,
I have a keyboard shortcutissue within the GUI Designer on Mac OS X.
When I type the keyboard shortcut for the "Create Component" action, nothing happen. However, when I run this command using the context menu, everything is fine.
I have tried to change the default shortcut, but I didn't even find the action in the keymap setting panel. A search with the string "Create component" didn't find anything interessting. I have surely missed it, but after half an hour I gave up (computer 1, me 0 )
My environment :
Any suggestions?
Thanks,
Boris
hi, i want to create an android project;
while creating a new android project,
when i try to choose target device(Emulator), "prefer android virtual device" button doesnt work. It shows no error or something like that. is this a intellij bug?
Sometimes, even when you are typing in the next coding line, the intellisense popup window from the previous line remains active and you must press 'esc' to close it.
Is there any solution to this problem?
Hi All -
I've been interested in doing some PHP extension development using C / C++. I've found a number of tutorials out there (such as this resource page: http://simonholywell.com/post/2010/09/15-excellent-resources-for-php-extension-development.html) but have not found a good tutorial on setting up an extension development environment in an IDE. Has anyone here tried to get an environment set up in Intellij? If so, do you have tips / resources I can use to do the same? I tried once before but couldn't figure out how to get something set up to build properly.
Thanks for any help you can provide,
-Jeff