sponsor Vim development Vim logo Vim Book Ad

gladecompletion.vim : IDE-like completion for projects using the Glade UI designer

 script karma  Rating 0/0, Downloaded by 403    Comments, bugs, improvements  Vim wiki

created by
erik falor
 
script type
utility
 
description
WHAT IS IT?  Provides an Insert mode completion function which completes names
from a .glade file as produced by the Glade UI designer.
http://glade.gnome.org/

HOW DOES IT WORK?  The plugin defines a function which scans .glade files in
current buffer's current directory.  The function adds Gtk objects and event
handlers to the insert mode completion menu

The menu is invoked by pressing <C-x><C-u> in insert mode.  Read all about it
at |i_CTRL-X_CTRL-U|.

Each time the completion function is invoked, it looks at the .glade files in
the current directory and compares the filesystem's modification timestamp
with the timestamp value from the previous invocation.  Thus, if you
add/change a widget in Glade and save the file, those changes are reflected
immediately in Vim.

 
install details
To turn it on for all files, all the time, put it in your $HOME/.vim/plugins directory.
If you don't use Glade project files for all of your projects and don't want this plugin
to take up precious memory, put it in your $HOME/.vim/macros directory, and add
this command to any of your ftplugins which you do use with Glade:
:runtime macros/gladecompletion.vim
 

rate this script Life Changing Helpful Unfulfilling 
script versions (upload new version)

Click on the package to download.

package script version date Vim version user release notes
gladecompletion.vim 1.0 2008-06-23 7.0 erik falor Initial upload
ip used for rating: 54.80.120.136

If you have questions or remarks about this site, visit the vimonline development pages. Please use this site responsibly.
Questions about Vim should go to the maillist. Help Bram help Uganda.
   
SourceForge.net Logo