This VS Code extension enables syntax highlighting for Dynare files.
MATLAB code within Dynare files is also highlighted.
Note: This extension alone does not enable running your Dynare code in VS Code.
The syntaxes/dynare.tmLanguage.json file was generated using Perplexity with Claude 3.5. Ongoing improvements are being made with the assistance of Claude 3.5 Sonnet.
NOTE: This extension is still under development. If you encounter any bugs, please create an issue.
Run Dynare in Terminal
Ensure MATLAB is installed on your system.
Verify MATLAB can run in headless mode:
Type matlab -nodesktop in the terminal or PowerShell
MATLAB's copyright information should appear in the terminal
If not, please add MATLAB's installation directory to the environment variable PATH, or replace matlab with the absolute path to your MATLAB installation