Vim integration with Aptana / Eclipse that includes usage of .vimrc files? - eclipse

There are several vim plugins for Aptana/Eclipse, I'm wondering whether there are any well-integrated ones that also lets you make use of a .vimrc file and a .vim user folder.

Eclimd let's you embed Vim IN Eclipse. It is your real vim loading your own .vimrc. I think the embedding works only on Linux, on other platforms it will open a new gVim instance.
Vrapper does load a .vrapperrc file but it won't support much of your lovingly customized .vimrc: for example I've ported only 16 lines of my 459 lines long .vimrc to my .vrapperrc

Related

vrapper can it use standard plugins of vim like cscope and doxygen

Is there any standard path for vim plugins in vrapper. Like vim which as ~/.vim/plugin/ where custom plugins can be placed and commands can be used from VIM
The plugins that I wanted to use are cscope and doxygen
Looking at this pull request for the Sneak plugin and this request to port the Abolish plugin, Vim plugins need to be ported for Vrapper (basically rewriting the plugin functionality in Java, using Eclipse APIs or abstractions offered by Vrapper itself). I don't use Vrapper, but I'd guess that only simple remappings (via :map commands) are possible in the .vrapperrc. Anything beyond that would require a reimplementation of most of Vim's internals and the Vimscript language, and none of that is fully specified (beyond what's mentioned in Vim's :help).

Perl IDE Padre: how to format the source code

How can I have something like in eclipse, highlight the lines, right click Source --> Format, and make the code line up nicely.
There is a tool called Perl::Tidy which is highly configurable that does auto formatting of Perl code. Padre has a plugin to use it. You can find the documentation here.
Padre has a plugin called Padre::Plugin::PerlTidy that provides integration with the above module. It uses the default settings of perltidy or the settings of the current project to tidy the current file or the current selection in the editor.
It probably will use the .perltidyrc config file in your project directoy, though I am note sure about that.
Finally I figured out. First download the plugin gzip from here: search.cpan.org/~azawawi/Padre-Plugin-PerlTidy-0.22/lib/Padre/…, then install it from Tools --> Module Tools --> Install Local Distribution. Then from Tools --> Plugin Manager, enable the Perl Tidy. Finally I can see this menu: Tools/Perl Tidy/Tidy the Active Document, as mentioned here padre.perlide.org/features/perl-tidy.html.

How to open BAT (windows batch) file in Eclipse?

How to open BAT (windows batch) file in Eclipse? When I am doing Open File... the file runs, not opens. How to open it in editor?
Dragging file on Eclipse also runs it.
The ShellEd plugin doesn't seem to be for Windows BAT files--only Linux/Unix shell languages.
Going to Preferences->General->Editors->File Associations is how to have Eclipse open BAT files in a text editor, though.
try with this plugin:
http://sourceforge.net/apps/trac/shelled/
And also I think you chould go to preferences->general -> editors->file associoations and add bat to the list
Theres is a new open source plugin called Batch-Editor available on eclipse market place. It has syntax color support for dark and white theme included and has an outline view + quick outline for labels.
Here an example screenshot:
.
It supports also echo and escaping:
PS: I am the author of the mentioned plugin.

Is it possible to add external command line tools to Netbeans?

Is it possible to use external command line tools in Netbeans?
Thank you.
After searching and searching and searching, this feature is just missing in netbeans although it would absolutely straightforward to implement and has been ask by user for 2 more than years...
Regards,
Stéphane
There is a Terminal window in NetBeans 7:
Open the menu, Window -> Output -> Terminal
What about using an Ant target? Ant files are quite comfortable to run from Netbeans.
<exec executable="${executable-full-path}" ...
The best option I've found is to use jmarsault's plugin that he calls NetBeans Command Shortcuts. This give you an icon in the command line where you can add command and terminal scripts to run. The display shows in the output window.
Installation files are available here and he has kept it up to date with the newest versions of NetBeans.
NetBeans Command Shortcut plugin
Installation:
Download the .nbm file for your version of NetBeans
Open Tools / Plugins / Downloaded / Add Plugins...
Select the .nbm file and allow the installation of the plugin.
In since at least version 9.0, there are two decent options:
Just create a script file. (I think you need the C++ plugin for this. Otherwise you have to create it outside NetBeans or as a text file.) In my case I created a JLinkGDBServer.sh that just executes JLinkGDBServer as a prerequisite to start an embedded debug session. This automatically sends the executable's output to a NetBeans terminal.
Add a tool to Tools/Options/Miscellaneous/SendTo. SendTo is a pop-up menu item for certain project entities, for example files but not the project. In my case, I could add a SendTo running the executable and use it by right-clicking on for example the .elf file (although for the GDB server I don't need any file name as an argument).

netbeans jvi vimrc file location

I have started using netbeans vim plugin Jvi and i cant seem to find the vimrc file location
I found an option that seem to say that it will save the vimrc in the home folder, but there isnt one there.
I am using Ubuntu.
thanks
jVi does not support vimscript, so it does not handle a vimrc file. As mentioned, you can configure jVi in NetBeans with
Tools > Options > jViConfig
For most vi-like systems the .vimrc file is optional - if it is there, the program will use it, if it isn't it'll just use the defaults.
From a brief look at the jVi sourceforge page it seems as if the settings in the GUI are equivalent to creating a .vimrc file - so you can either set the details there, or create your own .vimrc.