intellij-idea
Adding GIT support to existing project in IntelliJ IDEA
I have successfully opened a Maven subproject within IDEA. Naturally, it hasn’t enabled Git integration automatically. From VCS menu I have selected “Enable Version Control Integration” and chose “Git” from submenu. Then IDEA complained that there is no .git folder within the project and offered to select parent .git folder. I did it and everything … Read more
IntelliJ – Git is not installed: Cannot identify version of git executable: no response
In my case the issue was solved by invalidating cache and restarting IDE. Simply go to Files -> Invalidate Caches -> Invalidate and Restart.
Escape to IntelliJ IDEA shortcuts from IdeaVim
I made .ideavimrc that contains bindings for all conflicted mappings. Maybe it’ll be usefull to someone. imap jj <Esc> let mapleader = ” ” map <leader>a :action $SelectAll<CR> map <leader>b :action GotoDeclaration<CR> map <leader>c :action $Copy<CR> map <leader>d :action EditorDuplicate<CR> map <leader>e :action RecentFiles<CR> map <leader>f :action Find<CR> map <leader>g :action GotoLine<CR> map <leader>h :action … Read more
Intellij doesn’t show run button
Right click on src directory and select option Mark Directory As > Sources Root.
Why can’t I drag execution point in IntelliJ (I can in Visual Studio)
IntelliJ interacts with a running JVM through the standard Java debugging interface, so it can debug programs’ against different JDKs. This does not support moving the execution point around as you describe. It does let you wind the call stack back and perform a method call again. In IntelliJ, use the threads window to select … Read more
Log messages to JUnit console
You should select the test in the tree on the left to see its output in the console on the right:
IntelliJ – How to jump to source instead of compiled classes from failed unit tests in the “Run” view
You should be able to go to the External Libraries in your Project view (File > Project Structure), find the jar that contains the .class file, and right click (or F4). You will see Open Library Settings. From that dialog, you can attach a src folder to the library.
Jump to next error FILE in Intellij [duplicate]
With IntelliJ 2017.2.2, F2 is mapped to “Next Highlighted Error” per default. Make sure to focus the Project editor first. Similarly Shift + F2 is mapped to “Previous Highlighted Error”. The mappings mentioned in the other answers do not work.
Warnings while building Scala/Spark project with SBT
Is there a better way to structure build.sbt (add other resolvers e.g.?), so that I can get rid off the warnings? One way is to manually tell sbt what dependencies you prefer, for your case: dependencyOverrides ++= Set( “io.netty” % “netty” % “3.9.9.Final”, “commons-net” % “commons-net” % “2.2”, “com.google.guava” % “guava” % “11.0.2” ) I … Read more