All Projects → vim-scripts → SQLComplete.vim

vim-scripts / SQLComplete.vim

Licence: other
SQLComplete is a SQL code completion system using the omnifunc framework

Programming Languages

Vim Script
2826 projects
This is a mirror of http://www.vim.org/scripts/script.php?script_id=1572

SQLComplete.vim is a plugin which uses the new Vim7 OMNI completion features (intellisense code completion).

SQLComplete.vim version  4.0 is included in the Vim 7.0 release.
SQLComplete.vim version  5.0 is included in the Vim 7.1 release.
SQLComplete.vim version  6.0 is included in the Vim 7.2 release.
SQLComplete.vim version  9.0 is included in the Vim 7.3 release.
SQLComplete.vim version 10.0 is included in the Vim 7.3 release.
SQLComplete.vim version 11.0 is included in the Vim 7.3 release.
SQLComplete.vim version 12.0 is included in the Vim 7.3 release.
SQLComplete.vim version 13.0 is included in the Vim 7.3 release.
SQLComplete.vim version 14.0 is included in the Vim 7.3 release.
SQLComplete.vim version 15.0 is included in the Vim 7.3 release.

What does it do:
-----------------------
Completion for the SQL language includes statements, functions, keywords, operators and database options which it draws from the current SQL syntax file in use.  Vim ships with 9 different SQL syntax files (Oracle, Informix, MySQL, SQL Anywhere, ...).  You can choose different SQL dialects using the command  (see :h sql-dialects):
:SQLSetType sqlanywhere
:SQLSetType <Tab> will cycle through the installed dialects.

It will also dynamically complete tables, procedures, views and column lists with data pulled directly from a database.  It does this in conjunction with the dbext.vim "vimscript #356".  For detailed instructions and a tutorial see :h omni-sql-completion.

Existing instructions can be found within Vim7 using 
:h sql.txt
:h sql-completion

This plugin is new to Vim7.  Improvements to the script will be uploaded here, and supplied to Bram for inclusion into future versions of Vim7.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].