ide : ide for C/C++/Java with syntax coloring and tab buffer tracking
| script karma
Downloaded by 2229
Comments, bugs, improvements
script versions (upload new version)
After using the vimscript #69 plugin for quite some time, I started modifying
it as I wanted to have each buffer open on its own TAB, to have syntax highlight
using the member, function and type classes defined within my project, and to
have a visual indication of which files were open and close within the project.
This ide plugin thus contains a re-write of the plugin project (1.3k) plus
my additional ide code (2.5k). The re-write was needed because instead of
loading a project file into a file buffer, the ide plugin loads an index of
all project files into a hash and displays it on the dedicated buffer, this
allows for integration with other plugins that I do use such as the source
explorer plugin. There is a powerful feature in the original project plugin
(script loading at file or project open) that I have never really used.
I have ported this feature but I have never tested it.
I do not expect you will agree with all changes, but I hope that some time in
the future someone else also motivated by "personal taste" will end up taking
over this code, improve it and then pass it on, till the time we get a true
IDE on top of vim.
Now that I look back to this plugin, I think it would have been probably easier
to implement it on VIM itselft.
CHANGES WITH RESPECT TO THE PROJECT PLUGIN
I have tried to maintain the same functionality of the original project plugin,
that is, almost all its commands, settings, and flags are still valid. If you
have already used the project plugin then its migration to the ide plugin will
The main changes, upgrades and extensions that the ide plugin has with
respect to the project plugin are:
- The ide window follows any tab movement provinding a persistant panel ide.
- Keeps track of all files opened, edited and closed using icons. Pending
tracking updates are refreshed as soon as the ide window is entered so
you can visualize the status of your project.
- No more multiple windows for the same buffer. Opening a file which is
already open won't create another window but will jump to the correct
tab and window.
- Cursor movement within the ide windows seems as a file or project select.
- Windows width can be adjusted and re-adjusted.
- Tabs provide information on mouse hover
- Closing a project unloads all its working variables, so its safe to invoke
the|ide|again. Or open a new project and let to the|ide|unload the current
- Help can be lauch from within the ide window by pressing <F1>
- All key-bindings can be customized in the|vimrc|file to another mapping.
- Information on some key processes are provided on the command line
- Errors on bad usage are notified
- Create the syntax file for the code based in the project-file
- Syntax file for the project are generated and loaded for the files on open
- Highlights are automatically or manually updated through the IDESyntax
- Highlights are refreshed on idle intervals, so your idle times are no
Other Plugin interactions
- Can be registered to other plugins
- Have built in workarounds for some plugins that I use as part of my ide:
showmarks, taglist, source-explorer, ex-global-search
Tracing, Logging and Debugging Support
- Logs with detailed information of traces can be generated, see IDEShowlog
- All internal variables can be exposed through the command IDEShowenv
- Easier than ever to debug the plugin so you can modify it and improve it.
- The core of the project plugin was re-writen to be loaded in a dedicated
buffer named __IDE_Project__. The project-file is read on loading the ide
and then closed, all the files contained are indexed and store in a map.
- Having the information in a map renders continuous parsing of the
project-file unnecessary, and facilitates the development of extensions.
- Make a project or a sub-project, with the key binding you wish.
For screen-shots related to this plugin and additional documentation please
Place the following files [1-4] at ~/vim/icons
Then move the files [5-6] to ~/vim/pluggins
make sure that ideSyntax.pl has execution properties
as this perl script is used by the ide plugin to generate
highlight syntax coloring for C/C++ files.
Move the file  to ~/vim/doc
After moving the previous file, execute within vim
Optionally, you can place file  within your path to
generate or load project-files. After reading this readme
you can delete it.
 ide.readme (this file)
Within the tar there is a folder call ide-screenshots with some screen shots of the plugin.
Follow the instructions provided in the Linux section
but change the root folder ~/vim by $VIM/vimfiles where
the value of $VIM can be obtained by typing :echo $VIM
in your current vim window.
Click on the package to download.
ip used for rating: 184.108.40.206