I can set a breakpoint in the java file properly, but the IDEA editor won't let me set a breakpoint in the JS file. Is there something I have to do or some sort of run option needed to do this. I was trying to follow this blog:
If you dump this into a Structural Search Inspection as a Search Template, it doesn't flag this same code. (All of my other SS Inspections work great - I love this feature!) Ideas?
I've set the jar as a module dependency by the following procedure
* Start from the "project window";
* Select my main Java module;
* Use menu File | Project Structure;
* In Project Settings, select Modules, and select my Java application as interested module in the middle window;
* On the window to the right, select "Dependencies" tab, and press "+" and select "Jars or directories" and navigate to the jar file, add select it so the custom jar file is added as a new entry in the window, check the Export checkbox and set Scope pulldown set as "Compile";
* Press OK.
However, after setting this, in a Java class file in my Java application, if I use a class defined in the custom jar file, it still prompts me "Cannot resolve symbol 'SomeClass'".
Any idea what I'm doing wrong and how to fix this?
The Libraries and Global libraries are both empty currently. I did try to set the two jars there (separately) and add them as dependencies for the Java app, and it did NOT work, so I deleted them from Libraries and Global libraries. The above setting is using add module dependency as files directly (without first registering them as libraries), which still does not work.
Please help! I'm desperate. Have spent many many hours on this.
Have run into an issue where I was getting lots of ClassDefNotFound classloader problems, but only when loading the app via IDEA launcher. If I drop the .war into tomcat and start it the application runs without issue. Also the classes it was saying where not present, where in WEB-INF/lib and the same .war functions (tried resetting my local maven cache anyway - which didn't help).
Turns it this webapp had a META-INF/context.xml file with a loader defintion in it:
<?xml version="1.0" encoding="UTF-8"?><Context><!-- This setting is for atmosphere, Comet functionality of navigator to be able to run under Tomcat <Loader className="org.atmosphere.util.AtmosphereClassloader"/> --><Loader delegate="true"/></Context>
The Loader delegate="true" seems to be causing all the classloader problems when launching inside an embedded tomcat container? is that right? (tomcat 7.0.39 under centos 6.5).
Not sure why this is required here, app seems to have had atmosphere support at some point, I'm not sure if this loader/context is required for this app or not, but IDEA doesn't like it.
I am not able to deploy Grail war in tomcat in IDE intellij 12 or in Spring suit. Can anybody guide me? I do not want to deploy Grail war as external resource in intellij. Grail war should be deploy as artifact in intellij
If sourceFile1 had an error, I don't see the redline marking a problem with moduleA; instead, I see a marking at the Project level, and if I expand the moduleA to see the files I can see that souceFile1 has the marking as well. But why moduleA doesn't have such marking? It would be nice to see which module contains the error without the need to expand trees to see where the error is occuring. Can this be done in intellij?
I've tried to use the officially supported YUI library, but all that appears to do is install the YUI seed file with none of the modules. Is there something else I have to do to get working YUI support?
Is there a way enable code completion for javascript that is written for Apple's UIAutomation JavaScript library? And is there a way to debug the UIAutomation JS Scripts using intellij (or AppCode)?
When I try to add a newly created form in the UI Designer to another form, I always get this message: "Forms added to palette must have a binding for the top-level component". If I add an older form it works.
Way to reproduce: Make two forms, add a component, add one form to the other.
Does this happen to others too, or is something amiss here?
I created a simple test project that uses @NotNull. I added a dependency on a library that defines it (a copy of the IDEA annotations.jar but with a different name). I added an import statement:
import org.jetbrains.annotations.NotNull;
The program builds without error. However, the editor fails to find the library. It highlights "jetbrains" in red and says it can't resolve the symbol. Same for @NotNull.
I have observed this problem in IDEA CE 13.1.1, 13.0.2, and 12.1.
Oddly, the problem does not occur in 11.1.2.
Am I missing something, or is this a regression that has not been observed?
Now it kinda confused when you edit file, and you remember it, but can't find it in recent files list.
So you find files through 'cmd+shift+n' and gets needed file already opened in another split section.
Well, I'm remember last files, but I don't remember which files opened now, and I do not rechecking it every minute, because it already easier to open needed file through the 'recent files' or 'last edited files' lists.
I agree, that the signal point before file name in 'recent files' list is not really noticable and should be more brighter or made as filename background.
Btw, please, return opened files to 'recent files' list.
I recently switched mobile phone operator and the new operator has taken on my old number. However, the number stored in the SIM, which is visible to Android, is incorrect (it is the number that was given to me before the switch over).
Somebody wrote a little app a few years ago that allows changing the number on the SIM:
So how do I run an app on my phone (which is physically connected by USB), signed with the system signature key, in IntelliJ? (e.g. how do I obtain the system key in the form of a keystore, should it be that simple)
I don't know what happened, but now there are certain places where intellij won't allow me to use the enter key (new line), add a comma, or make an opening paranethsis. I am doing the Stripe tutorial, but I verified this in a Flask project I had done before. I'm not sure if this has to do with the new update to 13.1.
In a line that contains "app = Flask(__name__)" it won't allow me to use the enter key.
In a line that contains "@app.route" it won't let me type an opening paranethsis to complete the URL routing [e.g. @app.route('/') ]
It doesn't allow commas in most methods includeing the above @app.route and even in a normal line like this:
TLDR: If AngularJS isn't working, invalidate the caches (File -> "Invalidate Caches / Restart") to force everything to be reloaded.
In case any one else is having this issue:
I just installed IDEA 13.1 overtop my 13.0 installation. When I restarted, I couldn't get AngularJS to work at all. There were no suggestions, ng-* attributes were marked invalid, etc. I was about to pull my hair out, because it was working in a different project, which was a fork of this one.
Anyway, the main difference I could see was that one had a space in the name, and the other didn't. I decided to rename the folder and see if that helped, which, magically it did. I renamed it back, to see if it was an issue with the plugin, but everything was still working.
I'm taking a small guess here, but I think it basically invalidated all the cache data for the project, and forced it to reload. If I'm right (and maybe someone can chime in here), then simply going to File, Invalidate Caches / Restart and invalidating the caches will probably fix your issue.