Skip to content
| Marketplace
Sign in
Visual Studio Code>Programming Languages>LINGO-lspNew to Visual Studio Code? Get it now.
LINGO-lsp

LINGO-lsp

LINDO Systems

|
808 installs
| (0) | Free
A LINGO editor extension for Visual Studio Code.
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

LINGO VS code Editor

This is the official LINGO VS Code editor extension. It features syntax highlighting, auto complete, hover text and can run LINGO models. Note: This extension works with .LNG files, not .LG4 files.

Run LINGO

When a .LNG or .LTF file is open, use the Run LINGO button in the editor title. The extension detects installed versions from LINGO64_<major>_HOME on Windows and LINGO_<major>_HOME on Linux, choosing the highest version found. Set the variable to the LINGO installation directory. On Windows, the extension runs the matching runlingo.exe or runlingo2.exe from that directory; on Linux, it runs runlingo or runlingo2 from {LINGO_HOME}/bin/linux64/.

LINGO 23 and later runs with runlingo -c -l; LINGO 22 uses runlingo2; earlier versions use runlingo without the -c -l options. Install or update LINGO from the LINDO Systems downloads page.

Editor Features

Syntax highlighting, auto-completion and hover text are essential for most language extensions. These features boost productivity, enabling users to conduct more rapid research and development. The LINGO VS Code editor extension tailors these features specifically to the LINGO modeling language.

Auto Complete

The auto-complete feature includes each LINGO function, logical operator and section name. Additionally, every set name, along with all their attributes and variables, is covered. Lastly, the extension includes templates for each set looping function, complete with the set name and an iterator.

Model specific options for auto completing @FOR:

Hover Text

When you hover the mouse over a LINGO function, a text box will appear with the function's prototype, documentation and sample code. Hovering over set names will display a text box containing the set name and all of its attributes. Additionally, hovering over a set's attribute will show a text box with the attribute and the set to which it belongs.

Hovering the mouse over a the @SUM fucntion:

Hovering the mouse over a set:

Future Features

If you have suggestions for additional features, please let us know by leaving feedback or emailing the team at info@lindo.com.

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
  • Your Privacy Choices
  • Consumer Health Privacy
© 2026 Microsoft