Open file on IntelliJ from iTerm 2

IntelliJ has a command line features that you can check out here: https://www.jetbrains.com/help/idea/2016.2/working-with-intellij-idea-features-from-command-line.html iTerm as well enable launch a command line order when we use cmd and click over a file path pattern. You only have to go to iTerm Preferences, Profiles, Advanced, Semantic History In Semantic History check “Run Comand..” and add as a … Read more

Is there a shortcut for wrapping a statement with system.out.println in IntelliJ

In Intellij Idea 13.1, there is a shortcut way called “postfix code completion”. So, to wrap an expression, object or variable with System.out.println, you simply write its name, put a dot then write sout, then hit tab. So, for example: new MyObject().sout + <tab> will be converted to System.out.println(new MyObject()) More examples: “Hello World!”.sout int … Read more

Multiple scala libraies causing error in intellij?

Maybe you have used /usr/local/Cellar/scala/2.11.6/ as the path for Scala SDK? When you install scala with homebrew that path will contain not only the scala libraries, but also a symlink with the relevant libraries for intellij. So if you use the top-level install directory intellij will find the libraries twice. Instead you should use /usr/local/Cellar/scala/2.11.6/idea/lib

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)