Unnoficial language extension for ampl, a mathematical programming language. This was a fork of @msundvick's original work.
This extension is still in development, please submit pull requests, issues or feature requests in the repo.
Link to marketplace: https://marketplace.visualstudio.com/items?itemName=johan-cho.ampl-vscode
- Syntax coloring, definition on hover
- Additional terminal
- Including files in terminal
- Snippets, tab to complete keywords
ampl.pathToExecutable: path to
ampl.exe -- defaults to looking for it on path
ampl.useRelativePath: toggles relative file paths when running through the ample console
ampl.complierArgs: arguments to feed into the ampl executable
git clone https://https://github.com/johan-cho/ampl-vscode.git
npm run compile
will build and compile the app. Press f5 to launch the debugger. The source file for autocomplete, syntax coloring and definitions is ./resources/keywords.json.