Tag: intellij
IntelliJ Tips and Trics
This is just a dump of tip & tricks I found for IntelliJ, and will be a forever WIP. Find commented out code Find in path -> check Regex -> ^//
Running and debugging Clojure code with Intellij IDEA ~ Tomek Lipski’s blog
Source: Running and debugging Clojure code with Intellij IDEA ~ Tomek Lipski’s blog
IntelliJ IDEA: Create JUnit Test method code snippet shortcut
I’ve been using IntelliJ over Eclipse for a while now, mainly because it feels newer and more tuned to develop with Maven-based projects. This is just me. Anyway, if you do TDD, you’ll want to take advantage of IntelliJ’s Live Templates. In this post, I’m writing about adding JUnit test code snippets, like so: @Test…
IntelliJ IDEA: Getting “Fetch failed. Fatal: Could not read from remote repository”
In case you encounter this issue, do the following: 1. Preferences > SSH 2. Make sure SSH executable is set to “Native.” (If already so, switch to “Built-in,” apply it, then switch back to “Native.”) 3. Happy fetching!
My global .gitignore
Adding my .gitignore file so I can look it up in the future. # Eclipse .classpath .project .settings/ # Intellij .idea/ *.iml *.iws # OS .DS_Store *.sw? # Maven log/ target/ And then configure Git to use it globally by: git config –global core.excludesfile ~/.gitignore Voila!
IntelliJ IDEA: Pass M2_HOME to the IDE on OS X Yosemite
I had issues in Yosemite with IntelliJ always complaining that it couldn’t see my M2_HOME variable, even though I had it in my .bash_profile. Turns out that only works in the terminal. In any case, this worked — I verified it on my Mac, which runs v10.10.5. 1. Save this plist in ~/Library/LaunchAgents/ as custom.startup.plist…