Global favorites/bookmarks for phpStorm - plugins

Plugin FavoriteFolder working only for current project.
Is there a plugin for do global favorites/bookmarks?

Related

How to change C:\Users\Username32\.sbt\1.0\plugins location for Scala plugin in Windows for Intellij Idea

I'd like to have dependencies, loaded by .sbt to be stored at some other locations. How can I change the local repository location (C:\Users\Username32\.sbt) for .sbt? I can't figure out this in Intellij idea settings.

how to add dependent library(jar) to scala project in Eclipse/Scala IDE

I am trying to create a spark scala project, and i have added dependency for spark core in build.sbt file. But, the dependent jars are not visible in Scala IDE(eclipse) for the project. So could not call any relevant class in my scala object.
Does sbteclipse plugin help my cause, if so, how could i add plugin to sbt.? I am working in windows environment, and where could i add plugin in sbt.?
Does sbteclipse plugin help my cause
Yes. Just follow the instructions in the README.
I am working in windows environment, and where could i add plugin in sbt.?
project/whateverName.sbt, just as in any OS, or %HOME%/.sbt/0.13/whateverName.sbt (HOME should normally be C:\Users\YourUserName under Windows) if you want to add it for all projects.

Using dependent shared libraries in eclipse plugin without requiring the LD_LIBRARY_PATH to be set with the path of dependent libraries

Currently i am stuck with using dependent shared libraries in eclipse plugins.
Problem description:
My plugin project requires libA.so that depends on libB.so. I kept both libraries under /libs of my project and included Bundle-NativeCode: libs/ libA.so; libs/libB.so in MANIFEST.MF file. I am loading both libraries using System.loadLibrary(). But while running the plugin, it shows the following error "java.lang.UnsatisfiedLinkError": libB.SO cannot open shared object file: no such file or directory
One work-around to make it work:
In Run/Debug settings of the application, setting the LD_LIBRARY_PATH environment variable to the absolute path of /libs folder
But this solution wont help when i export and deploy the plugin in some other machine.
Any little guidance would be greatly appreciated.

SBT plugin just for your local machine

Often time, I need to add SBT plugin which is not applicable to the project but just for myself. For example, I use eclipse as my IDE so I want to enable this plugin for all my SBT projects without having to include it in plugin.sbt file. This is because my colleagues might be using different editors so it doesn't make sense to check in this plugin to the source control. Is this possible?
You can add plugins(and settings) globally by placing them in ~/.sbt/.
The path for global plugins is ~/.sbt/plugins/build.sbt (until 0.12.X) and ~/.sbt/<version>/plugins/build.sbt (starting with 0.13.x).
Reference:
http://www.scala-sbt.org/0.13/docs/Global-Settings.html#Global+Settings+using+a+Global+Plugin

How to make Intellij follow sbt GitHub dependencies?

I managed how to add github dependencies to my sbt project following the instructions in this link.
However, Intellij could not find the github dependencies.
After om-nom-nom sugestion, only Scala plugin is needed:
Installing the Scala plugin from a fresh idea install
Import project from external model -> SBT project
? use auto import ?
Register "unregistered Vcs root"
Set module SDK with your JDK folder and adopt it for the project
Write a main file and press ctrl+shift+F10
The step 4 is important because you won't need to keep the working copies of the sub-projects anymore.
Idea creates them inside ~/.IdeaIC13 folder.
This link talks about multi-root Projects and synchronous branch control.
ps. the SBT plugin somehow was disabled and ideia became cofused about a subproject with a (nested) subsubproject.