Skip to content
| Marketplace
Sign in
Visual Studio Code>Programming Languages>FoxPro Language SupportNew to Visual Studio Code? Get it now.
FoxPro Language Support

FoxPro Language Support

Kaue Lunelli

|
3 installs
| (0) | Free
Visual FoxPro language support with Go to Definition
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

FoxPro Language Support

Visual FoxPro language support focused on "Go to Definition" for common declaration patterns.

Features

  • Associates the foxpro language with .prg, .h, .spr, .mnx, .sc2, and .vc2 files.
  • Indexes FUNCTION, PROCEDURE, DEFINE CLASS, and PROCEDURE class.method declarations across the workspace.
  • Provides Go to Definition (F12 / Ctrl+Click) for function, procedure, and class member names.
  • Refreshes the index on file saves, edits, and file system changes.
  • Configurable file size limits, exclude patterns, and logging levels for performance tuning.

Usage

  1. Open a workspace containing FoxPro sources.
  2. Place the cursor on a function, procedure, or class method reference and press F12 (or Ctrl+Click) to jump to its declaration.
  3. The index builds automatically and updates as you edit files.

Commands

  • Gofox: Reindex Workspace � Manually rebuild the index for all FoxPro files.
  • Gofox: Open Logs � Show the Gofox output channel for diagnostics.

Configuration

Setting Type Default Description
gofox.maxFileSize number 5242880 (5 MB) Maximum file size in bytes to index. Set to 0 to disable the limit.
gofox.logLevel string info Verbosity level: off (no logs), info (key events), debug (detailed diagnostics).
gofox.excludeGlobs array ["**/node_modules/**", "**/out/**", "**/dist/**", "**/build/**"] Glob patterns to exclude from indexing.

Notes

  • Matching is line-based; complex macro/substitution scenarios may require additional patterns.
  • Definitions are case-insensitive and matched by the declared name or Class.Method pair.
  • Use excludeGlobs to skip build outputs, dependencies, or other irrelevant folders.

Development

  • npm run compile builds the extension.
  • npm test runs the sample test suite.
  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft