This VS Code extension provides support for the FriCAS Computer Algebra System. This extension is also compatible with Google Antigravity
- Clone the repository: git clone https://github.com/gvanuxem/fricas-vscode
- Install npm for your distro/system (Node.js package manager)
- Install vsce using npm:
- Run
sudo npm install -g @vscode/vscein a terminal.
- Run
- Install required node modules:
- Run
npm installin the root directory
- Run
- Build the extension:
- Run
vsce package
- Run
- Install FriCAS for your platform: https://github.com/fricas/fricas/releases/
- Install VS Code for your platform: https://code.visualstudio.com/download or
install the open source version, on a Debian-based system issue
sudo apt install code-ossin a terminal. At the end of this step you should be able to start VS Code. -
- Start VS Code.
- Inside VS Code, go to the extensions view either by
executing the
View: Show Extensionscommand (click View->Command Palette...) or by clicking on the extension icon on the left side of the VS Code window. - In the extensions view, click at the top right, the three dots
...and chooseInstall from VSIX...You will be able to choose thelanguage-fricas-*.vsixVSIX file. Or in theCommand Palette...executeExtensions: Install from VSIX...and choose the extension.
If you have installed FriCAS into a standard location on Mac or Windows, or
if the FriCAS binary is on your PATH, the FriCAS VS Code extension should
automatically find your FriCAS installation and you should not need to
configure anything.
If the extension does not find your FriCAS installation automatically, or
if you want to use a different FriCAS installation than the default one,
you can set the fricas.executablePath to point to the FriCAS executable
that the extension should use. In that case the
extension will always use that version of FriCAS. To edit your configuration
settings, execute the Preferences: Open User Settings command (you can
also access it via the menu File->Preferences->Settings), and
then make sure your user settings include the fricas.executablePath
setting. The format of the string should follow your platform specific
conventions, and be aware that the backlash \ is the escape character
in JSON, so you need to use \\ as the path separator character on Windows.
The extension currently provides:
work in progresssyntax highlightingwork in progressFriCAS specific commandswork in progressintegrated FriCAS REPLwork in progresscode completionplanneddocumentation navigationplannedhover helpwork in progresscode navigationplanneddebuggerplannedintegrated plots
- If you face any issues, please open an issue here.
- If there is already an issue opened related to yours, please leave an upvote/downvote on the issue.
- Contributions are always welcome!