i.e. how to make it stick to the edge of IDEA's main window?
How to dock floating Watches window?
How can I know about place from there I've falled in finally block?
Hi!
I am working in intellij idea.
How can I know about place from there I've falled in finally block?
For example, there is code:
try{
}
catch{
}
catch{
}
//some code
finally{
// For example, I am staying at this place during debug session
}
And I want to know how I have fallen here, from catch block of from some code, for example.
Is it possible?
Thanks.
Crash course? Training?
Need a crash course -- anyone know where to get started? I am willing to pay someone for one:one training ---
Want to use: Google App Engine Java with Intellij IDEA
Apps: mobile IOS and Android
Need someone to help set up our environement properly and do some training one:one -- eventually will outsource development but need to learn to a level first before we would feel knowledgeable enough to outsource and understand the code, be able to test performance, etc.
If you know someone willing to do this for a bit if $ please contact me. We are in Australia but remove is ok.
When using the GUI Design to paint UI, why not set layout is null?
hello all,
When using the GUI Design to paint UI, why not set layout is null?
Spring MVC - Tomcat Deploy Configuration - Should I have "make" step before "build war exploded artifact"?
Hi everyone,
I'm new with IntelliJ and I have Spring MVC project (on maven). I created the tomcat deploy configuration and added "build war exploded artifact" step to the "Before launch:" section. So now I have two steps there:
- Make
- Build war exploded artifact
I've also seen some tutorials with the same settings. However, I found out that when I can remove the "Make" step then everything still compiles and works properly. When I run deploy I can see that "make" process is runinng.
So, is the "make" step necessary?
How can I stop github integration?
Hello, I shared a project on github via IntelliJ but I no longer want to do this. How can I stop IntelliJ from continuing this git integration? I have deleted the repository from git hub its self but IntelliJ still thinks its there and the VCS window pops up whenever I create a new class ect... I have looked around in IntelliJ but not found anything of any use other than the ability to push to git ect.. but nothing to remove it. I am stumped.
How can I stop this from happening? Thanks.
How can I work in community edition with glassfish?
Hi!
How can I work in community edition with glassfish server app?
Or what should I do in order to begin working with glassfish server from intellij idea community edition?
Thanks.
Rules for arrangement methods by name
Hello there, I try to arrange methods in following order:
- onAttach(Activity)
- onCreate(Bundle)
- onCreateView(LayoutInflater, ViewGroup, Bundle)
- onActivityCreated(Bundle)
- onViewStateRestored(Bundle)
onStart()
etc.
But I don't know what rules should I apply to achive this. I tried following patterns onAttach, onAttach.*, .*onAttach.* and nothing helps. Thats why any help would be appreceated.
GWT 2.7 Super Dev Mode and IntelliJ 14
I'm trying to do a pretty simple test of GWT's Super Dev Mode and IntelliJ 14 (138.2458.8). Specifically, I want to see the file-by-file recompilation working, and then demo it to my co-workers.
To do this, I did a git clone of the gwt repository and then built it.
After it was all done, I loaded the showcase sample into IntelliJ 14, created a project around it, and got things setup with a run configuration for "old" Dev Mode. So far, so good. It runs, the showcase comes up as expected.
Now, I created another run configuration, but this time, I clicked the "Use Super Dev Mode" check box. When I try to run this configuration, however, I'm getting this error:
/opt/devtools/java/jdk7_64/bin/java -Xmx256m -Didea.launcher.port=7532 -Didea.launcher.bin.path=/opt/devtools/IntelliJ/idea-IU-138.2458.8/bin -Dfile.encoding=UTF-8 -classpath /opt/devtools/IntelliJ/idea-IU-138.2458.8/plugins/GWTStudio/lib/sdm-launcher/superdevmode-launcher-legacy.jar:/home/jgindin/src/gwtproject.org/trunk/build/staging/gwt-2.7.0-test/gwt-codeserver.jar:/home/jgindin/src/GWTShowcase/src:/opt/devtools/java/jdk7_64/jre/lib/jfr.jar:/opt/devtools/java/jdk7_64/jre/lib/javaws.jar:/opt/devtools/java/jdk7_64/jre/lib/management-agent.jar:/opt/devtools/java/jdk7_64/jre/lib/jsse.jar:/opt/devtools/java/jdk7_64/jre/lib/plugin.jar:/opt/devtools/java/jdk7_64/jre/lib/jce.jar:/opt/devtools/java/jdk7_64/jre/lib/jfxrt.jar:/opt/devtools/java/jdk7_64/jre/lib/rt.jar:/opt/devtools/java/jdk7_64/jre/lib/resources.jar:/opt/devtools/java/jdk7_64/jre/lib/deploy.jar:/opt/devtools/java/jdk7_64/jre/lib/charsets.jar:/opt/devtools/java/jdk7_64/jre/lib/ext/sunjce_provider.jar:/opt/devtools/java/jdk7_64/jre/lib/ext/zipfs.jar:/opt/devtools/java/jdk7_64/jre/lib/ext/dnsns.jar:/opt/devtools/java/jdk7_64/jre/lib/ext/sunec.jar:/opt/devtools/java/jdk7_64/jre/lib/ext/sunpkcs11.jar:/opt/devtools/java/jdk7_64/jre/lib/ext/localedata.jar:/home/jgindin/src/GWTShowcase/out/production/GWTShowcase:/home/jgindin/src/gwtproject.org/trunk/build/staging/gwt-2.7.0-test/gwt-user.jar:/home/jgindin/src/gwtproject.org/trunk/build/staging/gwt-2.7.0-test/gwt-dev.jar:/home/jgindin/src/gwtproject.org/trunk/build/staging/gwt-2.7.0-test/validation-api-1.0.0.GA.jar:/home/jgindin/src/gwtproject.org/trunk/build/staging/gwt-2.7.0-test/validation-api-1.0.0.GA-sources.jar:/opt/devtools/IntelliJ/idea-IU-138.2458.8/lib/idea_rt.jar com.intellij.rt.execution.application.AppMain com.google.gwt.dev.DevMode -superDevMode -war "/home/jgindin/.IntelliJIdea14/system/gwt/GWT Showcase.8c87681d/GWTShowcase.f3522f99/run/www" -bindAddress 0.0.0.0 -remoteUI 7901:IntelliJIdea -startupUrl Showcase.html com.google.gwt.sample.showcase.Showcase
Running GPE launcher for GWT-2.6.x version.
Exception in thread "main" java.lang.NoSuchMethodError: com.google.gwt.dev.javac.CompilationStateBuilder.init(Lcom/google/gwt/core/ext/TreeLogger;Ljava/io/File;)V
at com.google.gwt.dev.DevModeBase.doStartup(DevModeBase.java:943)
at com.google.gwt.dev.DevMode.doStartup(DevMode.java:498)
at com.google.gwt.dev.DevModeBase.startUp(DevModeBase.java:1097)
at com.google.gwt.dev.DevModeBase.run(DevModeBase.java:863)
at com.google.gwt.dev.DevMode.main(DevMode.java:379)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at com.intellij.rt.execution.application.AppMain.main(AppMain.java:134)
I'm guessing that the issue has to do with whatever is outputting the "Running GPE launcher for GWT-2.6.x version" message, but I'm not sure.
For both run configurations, I:
- Unchecked the "Open in browser"
- Added "-bindAddress 0.0.0.0" to the "Dev Mode parameters"
Is this case supposed to work? Or is the GWT 2.7 support not yet fully supported?
Java code style - align question
Hi,
I am fighting with align/wrap configuration for java code style. I have a following code:
return select().from(quota).where(quota.hierarchyType.eq(QuotaHierarchyType.CHILD_DEFAULT).and(quota.parentOrgItemId.eq(id.getId()))).list(quota);
I would like to have following format (I do it manually):
return select().from(quota)
.where(quota.hierarchyType.eq(QuotaHierarchyType.CHILD_DEFAULT)
.and(quota.parentOrgItemId.eq(id.getId())))
.list(quota);
But whenever I reformat that file (by idea java formatter), idea will toch also this block and reformats it to:
return select().from(quota)
.where(quota.hierarchyType.eq(QuotaHierarchyType.CHILD_DEFAULT)
.and(quota.parentOrgItemId.eq(id.getId())))
.list(quota);
com.intellij.ant.Javac2 - Class not found
Hi,
I am getting Class not found error in build.xml for
<taskdef name="javac2" classname="com.intellij.ant.Javac2"/>
I am using Intelli J 13.1 on Mac OS X.
Any help is much appreciated.
Thanks and Regards,
Sri.
Cant deploy artifact in Tomcat 7
Hello.
I'm using IDEA 12 and I'm working on the most basic project setup possible. I'm having 2 classes in my project and a simple artifact setup (exploded web app) which seems to work when I copy it to the webapps directory in the Tomcat installation.
The problem is that when I try to deploy the same artifact through a run configuration in IDEA, it doesnt work. The log console states that the deployment was succesfull but the artifact never moves to the tomcat directory.
Also, the connection to Tomcat seems to be working as expected.
Any ideas on what I'm doing wrong?
How to dock floating Watches window?
i.e. how to make it stick to the edge of IDEA's main window?
Software for that forum
Hey Guys ,
Maybe I am a bit off topic here, but
I am very curious about the platform
you use for that forum, what is it ?
and if by any chanse I can use the same
for my project ?
Thanks
Roman
Intellij SVN randomly skips committing files
IntelliJ 12 SVN doesn't always commit everything that it needs to. I don't have any faith in the IDEs versioning integrity and so I am forced to use tortoise SVN, but I find this a ridiculous thing for me to have to do given the fact that this is a paid IDE.
Even simply running SVN commands from command line gives me a better result than what I experience with IntelliJ.
It acts like it has uploaded a file you've added. Only for you to hop on a plane, get to another site and see that, in-fact, it totally and randomly ignored committing some of your critical source files, creating random sprouts of CNF exceptions all over the place.
If this is a user error (whichI don't think it is given the randomness of the issue), then the jetbrains really needs to redesign their svn commit dialog to better highlight files that it is NOT adding to the commit. These files should be VISIBLE by default so I know to click/specify that I want them uploaded.
Everything else about the IDE, and especially it's code-completing intelligence, is supreme.
git diff no longer works in Update Project Info tab
OS X 10.8.3
IntelliJ 12.0.4
When I pull the latest from github, the Update Project Info tab shows the files that have been updated, but when I CMD+D to diff any one of them, the diff window shows the same file on both sides and it says "no differences" on the bottom, which is incorrect. Here's a concrete example:
application.properties is a file that contains our app's version number in a propety called app.version. I have this file open in the editor and it shows 0.8.139. That is the correct value, but when I diff this file from the Update Project Info tab, it shows 0.8.138 on BOTH sides.
I have several other projects which appear to be working correctly and I can't seem to figure out what happened with this one.
Passing --stacktrace and --debug options to gradle
Hi
I am using Intellij IDEA 14 public preview. My application is a grails application and uses gradle to build. When I import the project in IDEA, the project imports successfully. I get an error during grails synchronization and the message says "Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.".
How do I set these options? Is there a way to set global gradle command line options?
Anand
I'm having issues with IntelliJ building when I make changes to maven files.
Originally from http://stackoverflow.com/questions/25769094/how-do-i-rebuild-make-iml-files-in-maven-multi-module-project-in-intellij-13-1
I'm working in a multi-module maven project in Intellij. There was a snapshot update in another module which required an update in a few POMs. Normally I will click the "Re-import all maven projects" from the maven plugins tool then do a full build.
However, this time the .iml files associated with the changed POMs weren't being updated. It wasn't until I did "Build->Rebuild Project" that the .iml files were updated. Does anyone know how to update .iml files as part of a build configuration?
Note: Before rebuilding the project, I know mvn at least picked up on the change because my local .m2 repo had the latest snapshot.
EDIT #1: So, this is also true if I add a maven runtime dependency in a module. It won't pick up the change unless I do rebuild project.
How can I get full coverage on class of static utility methods?
Consider the following minimal class:
publicabstractclass UtilityClass { private UtilityClass() {} publicstaticvoid utilityMethod() {}}
- it doesn't matter if I mark the class abstract
- it doesn't matter if I mark the constructor private or not define it at all
Is there a way to get IDEA report 100% coverage of this class (other than the silly solution of testing the empty constructor)?
Rules for arrangement methods by name
Hello there, I try to arrange methods in following order:
- onAttach(Activity)
- onCreate(Bundle)
- onCreateView(LayoutInflater, ViewGroup, Bundle)
- onActivityCreated(Bundle)
- onViewStateRestored(Bundle)
onStart()
etc.
But I don't know what rules should I apply to achive this. I tried following patterns onAttach, onAttach.*, .*onAttach.* and nothing helps. Thats why any help would be appreceated.