awk-support.vim   –   AWK IDE  –   Screen Shots    



   

AWK plugin
root menu
( version 1.2 )

             screen shots: gVim + plugins as AWK-IDE

Read the awk-support.vim help file

The key mappings of this plugin (PDF)

             Similar plugins:
  Bash-IDE
  C/C++-IDE
  Git Support
  LaTeX-IDE
  Perl-IDE
  Vim Script IDE

This plug-in is based on a powerful template system. Users can easily build their own templates and menus.

Menu Structure

Submenus (1. level)

Submenus (2. level)

Generated Code

Menu Comments

   

Menu Comments : insert different types of comments, comment and uncomment marked areas etc.


The menu item file description generates a complete file prolog. 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.
#!/usr/bin/awk -f
#===============================================================================
#
#          File:  script1.awk
# 
#   Description:  
# 
#   VIM Version:  7.0+
#        Author:  Dr. Fritz Mehner (fgm), mehner.fritz@web.de
#  Organization:  FH Südwestfalen, Iserlohn
#       Version:  1.0
#       Created:  26.01.2013 21:42
#      Revision:  ---
#       License:  Copyright (c) 2013, Dr. Fritz Mehner
#===============================================================================



This header is generated from the template shown below. This template file can easily be changed by the user. Tags (like |FILENAME|) are replaced when the file will be created.
== Comments.file description == start, map:ch ==
#!/usr/bin/awk -f
#===============================================================================
#
#          File:  |FILENAME|
#
#   Description:  <CURSOR>
#
#   VIM Version:  7.0+
#        Author:  |AUTHOR| (|AUTHORREF|), |EMAIL|
#  Organization:  |ORGANIZATION|
#       Version:  1.0
#       Created:  |DATE| |TIME|
#      Revision:  ---
#       License:  |COPYRIGHT|
#===============================================================================

Menu Statements

Menu Statements : insert AWK statements


Example. In normal and insert mode the entry for in generates an empty for-in-loop. The cursor will be positioned before in.
for ( | in <-ARRAY-> ) {
	}
For a marked block (visual mode) this block will surrounded by the statement:
for ( | in  ) {
  MARKED BLOCK
  MARKED BLOCK
  MARKED BLOCK
}

TOP

Menu Idioms

Menu Idioms : insert frequently used statements and code snippets


TOP

Menu Functions

Menu Functions : insert AWK function calls


TOP

Menu Special Variables

   

Menu Special Variables : insert AWK special variables


TOP

Menu Regex

   

Menu Regex : build regular expressions


Read the help file for more informations about snippets and templates.

TOP

Menu Snippets

Menu Snippets : handle code snippets and templates


Read the help file for more informations about snippets and templates.

TOP

Menu Run

Menu Run : run script, check syntax, do lint check, ...

Run script, output goes to the AWK-Output buffer:



Check syntax. In case of errors an error window will be opened (quickfix) to show the current list of errors:



Lint check:



Menu Help

Menu Help : read the AWK manual and the plugin help


TOP

TOP

back to Sourceforge


Page created: April 21 2014   /   Mail to: F.Mehner