lua-support.vim - Screen Shots |
Lua plugin |
screen shots: gVim + plugins as Lua-IDE Read the lua-support.vim help file |
Similar plugins: Bash-IDE bash-support.vim C/C++-IDE c.vim Perl-IDE perl-support.vim |
Submenus (1. level) |
Submenus (2. level) |
Generated Code |
---|---|---|
Menu Comments |
Menu Comments : Different types of comments, file header, commenting and uncommenting of marked areas etc.The menu entry File Header generates a complete file header. File name and the date are looked up by the editor. The other information (author name, sign, ... ) are taken from the configuration settings in the plugin. -- -------------------------------------------------------------------------------- -- FILE: permutations.lua -- USAGE: ./permutations.lua -- DESCRIPTION: -- OPTIONS: --- -- REQUIREMENTS: --- -- BUGS: --- -- NOTES: --- -- AUTHOR: Dr.-Ing. Fritz Mehner (Mn), <mehner.fritz@web.de> -- COMPANY: Fachhochschule Südwestfalen, Iserlohn -- VERSION: 1.0 -- CREATED: 03.12.2006 14:43:16 CET -- REVISION: --- -------------------------------------------------------------------------------- -- This header is generated from the template file below. This template file is created by the user; the tags are replaced when the file is read in. The templates are suggestions. -- -------------------------------------------------------------------------------- -- FILE: |FILENAME| -- USAGE: ./|FILENAME| -- DESCRIPTION: |CURSOR| -- OPTIONS: --- -- REQUIREMENTS: --- -- BUGS: --- -- NOTES: --- -- AUTHOR: |AUTHOR| (|AUTHORREF|), <|EMAIL|> -- COMPANY: |COMPANY| -- VERSION: 1.0 -- CREATED: |DATE| -- REVISION: --- -------------------------------------------------------------------------------- -- The entry KEYWORD: -> TODO generates a special line end comment. These comments are easily located by their key words (e.g. :TODO: ). Date and author name are inserted by the editor. -- :TODO:03.12.2006 14:49:58:Mn:These comments are not for the final version of a script, of course. |
|
Menu Statements |
Menu Statements : Lua statementsIn normal and insert mode the entry for generates an empty for-loop . The cursor will be positioned between for and in: for in do end If the entry if then else end is chosen for a marked block (visual mode) this block is surrounded by this statement:
print("This is a text.")
Result:
if then
print("This is a text.")
else
end
|
|
Menu Snippets |
Menu Snippets : Lua code snippet supportThe entries call the standard file open dialog. Read, write and edit your own code snippets in separate files in a separate snippet directory |
|
Menu Idioms |
Menu Idioms : Insert frequently used statements and code snippetsThe entry function asks for the name of the function (here: Set.union) and generates the following lines: function Set.union ( ) return end ---------- end of function Set.union ---------- |
|
Menu Regex |
Compose regular expressions with a few mouse clicks. |
|
Menu Run |
Menu Run : Run script, check syntax, make hardcopy, redirect outputRun script or check or syntax. In case of errors an error window will be opened to show the current list of errors:(58 KB) Code navigation with the taglist -plugin (based on Exuberant Ctags ) : (80 KB) |
back to Sourceforge