newdatasystems / vscode-foxpro

VSCode Extension for the Microsoft Visual Foxpro programming language
MIT License
20 stars 5 forks source link

README

VSCode Syntax Highlighting and Snippets for Foxpro (VFP)

This extension adds generic syntax highlighting for foxpro (including function and class definition detection).

alt text

How to Install

The easiest way to install this extension is to use the VSCode extensions sidebar and search for "foxpro". Click on the green "Install" button. (If you'd prefer to install from a VSIX file follow these instructions: https://code.visualstudio.com/docs/editor/extension-gallery#_install-from-a-vsix)

Snippets

Credits

Extension inspiration (and syntax highlighting file) from Matt Slay: https://github.com/mattslay/Visual-FoxPro-language-template-for-Visual-Studio-Code

Fox Icon provided by: by Freepik (https://www.freepik.com/) under the Creative Commons license

Internal snippet list -- these reference my company's internal libraries so probably not very useful for anyone else
  • *fs* (select), *fso* (select into object),*fin* (insert),*fup* (update),*fdel* (delete)
  • *multi* - TEXTAREA based multiprompt declaration
  • *mptext*,*mpname*,*mpnum*,*mpdate*,*mplist*,*mpcheck*,*mplabel*,*mprange*,*mpnote*
  • *open* (this.Open),*dopen* (this.Dao.Open)
  • *dw* (.Where), *dwcomplete* (.Where full)
  • *djoin* (.Join), *dfields* (.Fields), *dset* (.Set), *dsetobj* (.SetObject)
  • *dinval* (.IntoValue), *dinobj* (.IntoObject), *dincurs* (.IntoCursor)