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?
Could someone from JetBrains please comment on the future of Haxe plugin for IntelliJ IDEA?
It's been a long time since any official commits to the repository, there's plenty of pull-requests on github and issues open on issue tracker.
With the release on IDEA 13.1 it got completely broken and became unusable. It would be great at least to get compatability fixes to make it work in 13.1.
the keyboard shortcut Shift + ESC (hide active tool window) is not working. I added a diffrent shortcut (Ctrl + Shift + Alt + Q) and tried it successfully, but I would like to use the original shortcut Shift + ESC. I use IntelliJ Idea 13 on Windows 8.1 x64. Any suggestions?
I use Intellij IDEA 13 on Ubuntu 13.10 (in Virtualbox) and maven for a project. Everything worked fine up until recently, when IDEA suddenly stopped giving suggestions for groupId, artifactId etc. for dependencies. I didn't do any changes to setting in IDEA or anywhere else. The only change I can remember doing around the same time was updating Virtualbox.
I noticed that in settings => maven => repositories the remote repository was set to http://repo.maven.org/maven2, and it gave an error. After fiddling a lot it suddenly changed back to http://repo1.maven.org/maven2 and doesn't give any error anymore.
But I still have the problem where IDEA refuses to give any suggestions when editing pom.xml files (except the modules in my project). If I run the build, it downloads all the depdencies and everything seems to work well.
Using IJ CE 13.1.1, Sometimes, there are some import statements which have no syntax highliting.In the code, the classes coming from these imports also suffer from the lack of syntax highlighting. Is it because of the java lib itself or does IJ has some rules regarding syntax highlighting which leave out these classes?
Whenever I run Intellij and go to settings -> plugins -> browse repositories, I get an error message popup "List of plugins was not loaded: Invalid Http response". No idea why. I'm not behind an HTTP proxy.
In researching this issue, I found some other posts which point to invalid xml.
I did find one xml error in availables.xml in .IntelliJIdea13\config\plugins but it seems to recreate this file each time so fixing it doesn't work. The xml problem is in the entry for the Log4JPlugin:
In Manage Repositories the only repository is http://plugins.jetbrains.com. When I try to use http://plugins.jetbrains.com/?idea instead using the Check Now button, I get a different error: "Plugin descriptions contain some errors. Please, check idea.log for details." The error in the log (provided below, is the same, though as for the other error.
2014-04-06 14:55:25,343 [ 0] INFO - #com.intellij.idea.Main - ------------------------------------------------------ IDE STARTED ------------------------------------------------------
2014-04-06 14:55:25,457 [ 114] INFO - #com.intellij.idea.Main - IDE: IntelliJ IDEA (build #IU-135.480, 21 Mar 2014 00:00)
2014-04-06 14:55:25,458 [ 115] INFO - #com.intellij.idea.Main - OS: Windows 8 (6.2, x86)
2014-04-06 14:55:36,591 [ 11248] INFO - api.vfs.impl.local.FileWatcher - Starting file watcher: C:\dropbox\PortableApps\IntelliJ IDEA 13.1.1\bin\fsnotifier.exe
2014-04-06 14:55:36,612 [ 11269] INFO - api.vfs.impl.local.FileWatcher - Native file watcher is operational.
2014-04-06 14:55:39,250 [ 13907] INFO - lij.diagnostic.DebugLogManager - Set DEBUG for the following categories: []
2014-04-06 14:55:45,916 [ 20573] INFO - s.impl.stores.FileBasedStorage - Document was not loaded for $APP_CONFIG$/macros.xml file is null
2014-04-06 14:55:45,922 [ 20579] INFO - s.impl.stores.FileBasedStorage - Document was not loaded for $APP_CONFIG$/quicklists.xml file is null
2014-04-06 14:55:46,703 [ 21360] INFO - lij.util.xmlb.OptionTagBinding - Duplicate options for com.zeroturnaround.javarebel.idea.plugin.notifications.PersistentSettings@f85c1b will be ignored
2014-04-06 14:55:46,942 [ 21599] INFO - v.intellij.plugin.LombokLoader - Lombok plugin initialized for IntelliJ
2014-04-06 14:55:46,949 [ 21606] INFO - s.impl.stores.FileBasedStorage - Document was not loaded for $APP_CONFIG$/terminal.xml file is null
2014-04-06 14:55:46,970 [ 21627] INFO - pl.stores.ApplicationStoreImpl - 104 application components initialized in 12787 ms
2014-04-06 14:55:47,254 [ 21911] INFO - .intellij.idea.IdeaApplication - App initialization took 23248 ms
2014-04-06 14:55:47,922 [ 22579] INFO - s.impl.stores.FileBasedStorage - Document was not loaded for $APP_CONFIG$/customization.xml file is null
2014-04-06 14:55:48,250 [ 22907] INFO - om.intellij.util.ProfilingUtil - Profiling agent is not enabled. Add -agentlib:yjpagent to idea.vmoptions if necessary to profile IDEA.
2014-04-06 14:55:53,369 [ 28026] INFO - s.impl.stores.FileBasedStorage - Document was not loaded for $PROJECT_CONFIG_DIR$/dynamic.xml file is null
2014-04-06 14:55:53,565 [ 28222] INFO - s.impl.stores.FileBasedStorage - Document was not loaded for $PROJECT_CONFIG_DIR$/deployment.xml file is null
2014-04-06 14:55:53,579 [ 28236] INFO - ellij.project.impl.ProjectImpl - 153 project components initialized in 4786 ms
2014-04-06 14:55:53,886 [ 28543] INFO - le.impl.ModuleManagerComponent - 1 module(s) loaded in 307 ms
2014-04-06 14:55:55,122 [ 29779] INFO - CompilerWorkspaceConfiguration - Available processors: 4
2014-04-06 14:55:55,272 [ 29929] INFO - .roots.impl.DirectoryIndexImpl - Directory index initialized in 0 ms, indexed 0 directories
2014-04-06 14:55:55,331 [ 29988] INFO - s.impl.stores.FileBasedStorage - Document was not loaded for $PROJECT_CONFIG_DIR$/sqldialects.xml file is null
2014-04-06 14:55:55,340 [ 29997] INFO - pl.PushedFilePropertiesUpdater - File properties pushed in 63 ms
2014-04-06 14:55:55,816 [ 30473] INFO - org.jetbrains.io.BuiltInServer - We cannot bind to our default range, so, try to bind to any free port
2014-04-06 14:55:56,173 [ 30830] INFO - rains.ide.BuiltInServerManager - built-in server started, port 50250
2014-04-06 14:55:56,341 [ 30998] INFO - s.impl.stores.FileBasedStorage - Document was not loaded for $PROJECT_CONFIG_DIR$/codeStyleSettings.xml file is null
2014-04-06 14:55:56,342 [ 30999] INFO - s.impl.stores.FileBasedStorage - Document was not loaded for $PROJECT_CONFIG_DIR$/projectCodeStyle.xml file is null
2014-04-06 14:55:56,889 [ 31546] INFO - s.impl.stores.FileBasedStorage - Document was not loaded for $PROJECT_CONFIG_DIR$/fileColors.xml file is null
2014-04-06 14:55:57,998 [ 32655] INFO - s.impl.stores.FileBasedStorage - Document was not loaded for $APP_CONFIG$/uml.xml file is null
2014-04-06 14:55:58,106 [ 32763] INFO - indexing.UnindexedFilesUpdater - Indexable files iterated in 2631 ms
2014-04-06 14:55:58,106 [ 32763] INFO - indexing.UnindexedFilesUpdater - Unindexed files update started: 0 files to update
2014-04-06 14:55:58,106 [ 32763] INFO - indexing.UnindexedFilesUpdater - Unindexed files update done in 0 ms
2014-04-06 14:55:58,859 [ 33516] INFO - s.impl.stores.FileBasedStorage - Document was not loaded for $PROJECT_CONFIG_DIR$/gant_config.xml file is null
2014-04-06 14:55:59,828 [ 34485] INFO - ution.rmi.RemoteProcessSupport - "C:\dropbox\PortableApps\IntelliJ IDEA 13.1.1\jre\jre\bin\java" -Djava.awt.headless=true -Didea.version==13.1.1 -Xmx512m -Dfile.encoding=windows-1252 -classpath "/C:/dropbox/PortableApps/IntelliJ IDEA 13.1.1/lib/resources_en.jar;C:\dropbox\PortableApps\IntelliJ IDEA 13.1.1\lib\log4j.jar;C:\dropbox\PortableApps\IntelliJ IDEA 13.1.1\lib\picocontainer.jar;C:\dropbox\PortableApps\IntelliJ IDEA 13.1.1\lib\jdom.jar;C:\dropbox\PortableApps\IntelliJ IDEA 13.1.1\lib\annotations.jar;C:\dropbox\PortableApps\IntelliJ IDEA 13.1.1\lib\resources_en.jar;C:\dropbox\PortableApps\IntelliJ IDEA 13.1.1\lib\oromatcher.jar;C:\dropbox\PortableApps\IntelliJ IDEA 13.1.1\lib\jna.jar;C:\dropbox\PortableApps\IntelliJ IDEA 13.1.1\lib\util.jar;C:\dropbox\PortableApps\IntelliJ IDEA 13.1.1\lib\trove4j.jar;C:\dropbox\PortableApps\IntelliJ IDEA 13.1.1\lib\jna-utils.jar;C:\dropbox\PortableApps\IntelliJ IDEA 13.1.1\plugins\maven\lib\lucene-core-2.4.1.jar;C:\dropbox\PortableApps\IntelliJ IDEA 13.1.1\plugins\maven\lib\maven-server-api.jar;C:\dropbox\PortableApps\IntelliJ IDEA 13.1.1\plugins\maven\lib\maven3-server-impl.jar;C:\dropbox\PortableApps\IntelliJ IDEA 13.1.1\plugins\maven\lib\maven3\aether-api-1.13.1.jar;C:\dropbox\PortableApps\IntelliJ IDEA 13.1.1\plugins\maven\lib\maven3\aether-connector-wagon-1.13.1.jar;C:\dropbox\PortableApps\IntelliJ IDEA 13.1.1\plugins\maven\lib\maven3\aether-impl-1.13.1.jar;C:\dropbox\PortableApps\IntelliJ IDEA 13.1.1\plugins\maven\lib\maven3\aether-spi-1.13.1.jar;C:\dropbox\PortableApps\IntelliJ IDEA 13.1.1\plugins\maven\lib\maven3\aether-util-1.13.1.jar;C:\dropbox\PortableApps\IntelliJ IDEA 13.1.1\plugins\maven\lib\maven3\archetype-catalog-2.2.jar;C:\dropbox\PortableApps\IntelliJ IDEA 13.1.1\plugins\maven\lib\maven3\archetype-common-2.2.jar;C:\dropbox\PortableApps\IntelliJ IDEA 13.1.1\plugins\maven\lib\maven3\commons-cli-1.2.jar;C:\dropbox\PortableApps\IntelliJ IDEA 13.1.1\plugins\maven\lib\maven3\maven-aether-provider-3.0.5.jar;C:\dropbox\PortableApps\IntelliJ IDEA 13.1.1\plugins\maven\lib\maven3\maven-artifact-3.0.5.jar;C:\dropbox\PortableApps\IntelliJ IDEA 13.1.1\plugins\maven\lib\maven3\maven-compat-3.0.5.jar;C:\dropbox\PortableApps\IntelliJ IDEA 13.1.1\plugins\maven\lib\maven3\maven-core-3.0.5.jar;C:\dropbox\PortableApps\IntelliJ IDEA 13.1.1\plugins\maven\lib\maven3\maven-dependency-tree-1.2.jar;C:\dropbox\PortableApps\IntelliJ IDEA 13.1.1\plugins\maven\lib\maven3\maven-embedder-3.0.5.jar;C:\dropbox\PortableApps\IntelliJ IDEA 13.1.1\plugins\maven\lib\maven3\maven-model-3.0.5.jar;C:\dropbox\PortableApps\IntelliJ IDEA 13.1.1\plugins\maven\lib\maven3\maven-model-builder-3.0.5.jar;C:\dropbox\PortableApps\IntelliJ IDEA 13.1.1\plugins\maven\lib\maven3\maven-plugin-api-3.0.5.jar;C:\dropbox\PortableApps\IntelliJ IDEA 13.1.1\plugins\maven\lib\maven3\maven-repository-metadata-3.0.5.jar;C:\dropbox\PortableApps\IntelliJ IDEA 13.1.1\plugins\maven\lib\maven3\maven-settings-3.0.5.jar;C:\dropbox\PortableApps\IntelliJ IDEA 13.1.1\plugins\maven\lib\maven3\maven-settings-builder-3.0.5.jar;C:\dropbox\PortableApps\IntelliJ IDEA 13.1.1\plugins\maven\lib\maven3\nekohtml-1.9.6.2.jar;C:\dropbox\PortableApps\IntelliJ IDEA 13.1.1\plugins\maven\lib\maven3\nexus-indexer-3.0.4.jar;C:\dropbox\PortableApps\IntelliJ IDEA 13.1.1\plugins\maven\lib\maven3\nexus-indexer-artifact-1.0.1.jar;C:\dropbox\PortableApps\IntelliJ IDEA 13.1.1\plugins\maven\lib\maven3\plexus-cipher-1.7.jar;C:\dropbox\PortableApps\IntelliJ IDEA 13.1.1\plugins\maven\lib\maven3\plexus-classworlds-2.4.jar;C:\dropbox\PortableApps\IntelliJ IDEA 13.1.1\plugins\maven\lib\maven3\plexus-component-annotations-1.5.5.jar;C:\dropbox\PortableApps\IntelliJ IDEA 13.1.1\plugins\maven\lib\maven3\plexus-interpolation-1.14.jar;C:\dropbox\PortableApps\IntelliJ IDEA 13.1.1\plugins\maven\lib\maven3\plexus-sec-dispatcher-1.3.jar;C:\dropbox\PortableApps\IntelliJ IDEA 13.1.1\plugins\maven\lib\maven3\plexus-utils-2.0.6.jar;C:\dropbox\PortableApps\IntelliJ IDEA 13.1.1\plugins\maven\lib\maven3\sisu-guava-0.9.9.jar;C:\dropbox\PortableApps\IntelliJ IDEA 13.1.1\plugins\maven\lib\maven3\sisu-guice-3.1.0-no_aop.jar;C:\dropbox\PortableApps\IntelliJ IDEA 13.1.1\plugins\maven\lib\maven3\sisu-inject-bean-2.3.0.jar;C:\dropbox\PortableApps\IntelliJ IDEA 13.1.1\plugins\maven\lib\maven3\sisu-inject-plexus-2.3.0.jar;C:\dropbox\PortableApps\IntelliJ IDEA 13.1.1\plugins\maven\lib\maven3\wagon-file-2.4.jar;C:\dropbox\PortableApps\IntelliJ IDEA 13.1.1\plugins\maven\lib\maven3\wagon-http-2.4-shaded.jar;C:\dropbox\PortableApps\IntelliJ IDEA 13.1.1\plugins\maven\lib\maven3\wagon-provider-api-2.4.jar;C:\dropbox\PortableApps\IntelliJ IDEA 13.1.1\plugins\maven\lib\maven3\xercesMinimal-1.9.6.2.jar" org.jetbrains.idea.maven.server.RemoteMavenServer
2014-04-06 14:56:00,618 [ 35275] INFO - ution.rmi.RemoteProcessSupport - Port/ID: 25527/Maven3ServerImpl64ac3cd8
2014-04-06 14:56:05,357 [ 40014] INFO - tor.impl.FileEditorManagerImpl - Project opening took 16618 ms
2014-04-06 14:56:08,444 [ 43101] INFO - s.impl.stores.FileBasedStorage - Document was not loaded for $APP_CONFIG$/postfixTemplates.xml file is null
at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1342)
at java.net.URL.openStream(URL.java:1037)
at com.intellij.openapi.updateSettings.impl.UpdateChecker$12.run(UpdateChecker.java:574)
at com.intellij.openapi.application.impl.ApplicationImpl$8.run(ApplicationImpl.java:419)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
at java.util.concurrent.FutureTask.run(FutureTask.java:262)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
at java.lang.Thread.run(Thread.java:724)
at com.intellij.openapi.application.impl.ApplicationImpl$1$1.run(ApplicationImpl.java:149)
2014-04-06 14:56:18,600 [ 53257] INFO - s.impl.stores.FileBasedStorage - Document was not loaded for $APP_CONFIG$/cachedDictionary.xml file is null
2014-04-06 14:56:19,857 [ 54514] INFO - s.impl.stores.FileBasedStorage - Document was not loaded for $PROJECT_CONFIG_DIR$/webContexts.xml file is null
2014-04-06 14:56:33,499 [ 68156] INFO - s.impl.stores.FileBasedStorage - Document was not loaded for $PROJECT_CONFIG_DIR$/jsLibraryMappings.xml file is null
2014-04-06 14:56:33,513 [ 68170] INFO - s.impl.stores.FileBasedStorage - Document was not loaded for $APP_CONFIG$/dataSources.xml file is null
2014-04-06 14:56:33,519 [ 68176] INFO - s.impl.stores.FileBasedStorage - Document was not loaded for $PROJECT_CONFIG_DIR$/dataSources.xml file is null
2014-04-06 14:56:33,522 [ 68179] INFO - s.impl.stores.FileBasedStorage - Document was not loaded for $PROJECT_CONFIG_DIR$/sqlDataSources.xml file is null
2014-04-06 14:56:33,716 [ 68373] INFO - s.impl.stores.FileBasedStorage - Document was not loaded for $PROJECT_CONFIG_DIR$/databaseColors.xml file is null
2014-04-06 14:56:34,271 [ 68928] INFO - org.jetbrains.io.BuiltInServer - web server stopped
2014-04-06 14:56:34,282 [ 68939] INFO - v.intellij.plugin.LombokLoader - Lombok plugin disposed for IntelliJ
2014-04-06 14:56:34,283 [ 68940] INFO - il.indexing.FileBasedIndexImpl - START INDEX SHUTDOWN
2014-04-06 14:56:34,345 [ 69002] INFO - il.indexing.FileBasedIndexImpl - END INDEX SHUTDOWN
I have a 'Directory content' added to 'my-webapp:war exploded' artifcat under WEB-INF/classes. Each time I run maven build from console the 'Directory content' is being lost. Is it bug or feature?
I'd like to create a base configuration that will be imported by all the developpers at work. They will then configure it as they wish, but I'd like to provide a common ground for everybody.
When I export my settings, the proxy configuration is not included. This is typically the kind of settings that are the same on every developer's machine.
Is it a bug? Or is there a way to make sure that it is included?
When users have their home directory on the network, it's pretty bad for the IDE performance.
Is there a way to configure the system and config paths to be somewhere else, at installation time?
I know that I can modify the idea.properties file, but I would love to have a way to install the IDE (with a command line, for example) that would configure the paths automatically.
I have several JPA entities as domain objects and need to send DTOs of this entities to the client for displaying. It's really annoying to create a DTO mostly the same as the entity. Is there a way to generate automatically this kind of classes through IntelliJ?
I saw that EJB has this kind of features but for JPA entities, I didn't find it.
I remember when I used eclipse i was able to reposition windows and they had some kind of gravity feature which caused them to anchor to some corner of the main window frame.
This feature allowed me to set up my project view so that it was directly over my structure view. Then when i set 'scroll to/from source' and navigated to some source file,
that files position in the project and it's 'structure view' would appear in the left hand side of the workspace. In case that wasnt' clear.. here is a picture of what i would like to do (below).
I created a pom with several profiles in, one profile containing parameters (username and password) that need to be supplied. If I run maven command line with -Duser=blah -Dsecret=blah, it seems to work. However, I don't find a consistent way of configuring IntelliJ to use these parameters.
I select the Profile in the Maven Projects view, and I tried to supply those parameters in all kinds of ways on the junit configuration but it's not being picked up. What seems to work i creating a Run Configuration for maven on the Maven Projects tab, for example compile, and supplying the parameters to that configuration. Then each time I launch that maven compile configuration, the next junit runs will pick the parameters up, it seems. That is to say, as long as the JUnit Run Configuration existed before I ran the Maven Run Configuration. For a new test I need to rerun the maven configuration, if I relaunch the editor I need to do so, and so on. Is there any consistent way of supplying parameters to the maven profile in the JUnit configuration (I would like to have it in the JUnit configuration, must be possible because there's clearly a link between the selected maven profile and the junit configuration, different profiles yield clearly different results, it just seems to not want to work with parameters in the profile). Is this a bug in the editor or one in my head?
- when something fails I do not have the slightest idea of what is compiled (see attached image: in that case this is a Big project -90 Maven Modules- and I have no idea of what is happening because there is no indication about the source which is compiled
(this is critical because I do not see any Groovy source with the missing class! is there a way to have the complete stacktrace?
- a groovy source in a "test" directory does not see Java code in the same directory (I was obliged to add the test classes directory to the dependencies explicitly)
I have an established open-source project that I am working on in IntelliJ IDEA. It resides in a public GitHub repository. I wish to develop a proprietary component, which will therefore need to go in a private repository.
I read that IntelliJ IDEA has support for multiple roots:
These directions show how to navigate within a multi-root project. It was not clear to me, however, how to create such a project in the first place.
My best guess was to go on GitHub, create a new repository, and then attempt to import it into IntelliJ IDEA as a module for my existing project. I went to the VCS menu and chose "Check out from Version Control" --> "GitHub." I put in the information for the new repo, and it asked me if I wanted to open a new project. I said no, and evidently nothing happened as a result.
I also tried creating a new module and then seeing if I could associate it with a GitHub repository on its own, but it was entirely non-obvious how to do so.
I am using the IntelliJ IDEA 13.1.1 Ultimate. Could someone please point me in the right direction? Step by step directions would be particularly welcome.
Thank you in advance for your help.
Best wishes,
David
PS: I'm not sure if it matters, but the new module will be static XML. I am using the "static web" mode for it.
I use intellij 13.1 for MAC. Put on theme Darcula to make my eyes feel good. But I am not able to see compilation errors in the files I'm editing. Even though the file name in the table is labelled with a red wavy underline after I check 'make automatically' in settings -> compiler, there are no red wavy lines for the places where the compilation fail
can someone please give some helps/hints? Thanks a lot