Is it possible to automatically use LSP with project local settings in Neovim? - virtualenv

I'm using NeoVim and LSP (coc.nvim) as IDE.
Now, I install IDE tools in each project as devdependencies, and configure global Vim setting that which IDE tools are used.
I want to configure IDE tool settings in each project, then Vim to read it and select tools automatically.
Is there any way for this situation?

Related

How to add VSCode key-map to Eclipse?

Does anybody know a quick and simple way to get the VSCode key-map in Eclipse?
I primarily work within VSCode, and soon will also be working within STS (Spring Tool Suite) (which is just Eclipse with the STS plugin).
I don't want to have to have to mentally switch between both key-maps constantly.
I was surprised to find that Eclipse doesn't have many options for alternative key-maps.
Things tried
Eclipse Marketplace
The Eclipse market place seems to only have one key-map available (IntelliJ) - as seen here:
https://marketplace.eclipse.org/search/site/keymap
Visual Studio key-map
I installed the C++ dev tools within Eclipse and enabled the Visual Studio key-map, following the advice here:
https://stackoverflow.com/a/10075350
This was closer to VSCode's key-map, but still not perfect.
Current situation
I'm using the Visual Studio key-map, and updating each key that I find is out of sync with the VSCode keymap.
It's not ideal but it's close.
Ideal scenario
Ideally there would be an extension for this in the Eclipse marketplace, similar to how VSCode has an Eclipse key-map extension:
https://marketplace.visualstudio.com/items?itemName=alphabotsec.vscode-eclipse-keybindings

Using intellij to debug eclipse plugins

I am currently working on eclipse plug-in that involves many modules, and I would like to debug and run this eclipse plug-in from IntelliJ.I open this project in IntelliJ to edit code but when I have to run/debug this project I have to open eclipse IDE and start it from there. How can I use IntelliJ to do this?
I haven't actually tried this ... but you could try launching the RCP application stand alone but with the remote debug parameters specified for in your application's .ini file.
Then just point IntelliJ to the appropriate source and attach it's debugger to the running app.
Why do you want to do that? Eclipse has multiple tools for the plugin development that you will miss in IntelliJ. Also you need to build your plugin as product headless and then attach a debugger to it.
In my opinion it doesn't worth the effort. I would install Eclipse and devolop with eclipse.

Is there a way to get Vrapper and Scala syntax highlighting?

I am using Eclipse Java EE with Vrapper for working on a Java/Scala project. Is it possible to get both syntax highlighting and vrapper (or any kind of vim editing) in regular eclipse?
You can install any plugin on any Eclipse version you want - the only requirement is that the requirement information a plugin holds are true. Each Eclipse version is just a set of plugins bundled together.
In your case, just download one of the prepackaged Eclipse versions, then install the Scala IDE (note, that at the moment only M3 works on Luna) and finally install Vrapper.
There is also eclim (http://eclim.org), a Vim/Eclipse plugin that lets you run Vim inside or alongside Eclipse and access some of the Eclipse features. But not all the Eclipse features are available from Vim, notably the debugger integration.

Customizing Eclipse application launcher when launching a plugin

We are writing an Eclipse plugin that will work in a ClearCase environment i.e., our plugin will work along with the ClearCase SCM plugin for eclipse(available from IBM).
When developing the plugin, our eclipse(RCP & RAP) don't need ClearCase plugin. However, when we launch the plugin thru "Eclipse Application Launcher", the new eclipse does need the ClearCase plugin.
Is it possible to configure the "Eclipse Application Launcher" to include ClearCase plugin(or any different plugin that's not in the base eclipse) when it fires up another eclipse instance?
I could not find a way to do this from the documentation.
I think Target platform is what you are looking for.
You can use a pure Eclipse release(such as Juno) as development tool, then use another collection of compile and runtime plug-ins via specifying a target platform.

Language editor/generator on normal eclipse

I've created my DSL language and code generator using Xtext nad Xtend. But when I want to use it, I need to open my Xtext project and click "Run as-> Launch Runtime Eclipse". Is it possible to have my editor/generator in the normal eclipse run? In other words, I want to download plain eclipse installation,than install some plugin or somehow configure my eclipse, and than create files of my language, have syntax coloring and all editor features, code generation etc.
You have to export your plugins and install them into eclipse.
option 1: use File>Export...>Deployable plugins and fragments to export your plugins, then install them into an eclipse. That wizard has an option to deploy them directly into your running eclipse.
option 2: build your plugins using PDE build or maven/tycho and create a p2 update site. Then you can install them into any eclipse you have.
Both options are easier to manage if you create a feature that contains your plugins. It's easier to export, and easier to install the feature.