VS Code Extensions
Proektsoft Calcpad

Proektsoft Calcpad

by ProektsoftEOOD

Language support for Calcpad (.cpd files) - syntax highlighting, completions, and run support

Downloads

96

Rating

— (0)

Version

7.6.3

Last updated

Apr 28, 2026

Language support for Calcpad (.cpd files) in Visual Studio Code.

Features

  • Syntax Highlighting - Full syntax highlighting for Calcpad files including:

    • Keywords (#if, #else, #for, #while, #def, etc.)
    • Methods ($Root, $Find, $Plot, $Integral, etc.)
    • Built-in functions (sin, cos, sqrt, matrix, etc.)
    • Numbers with units (10m, 5kg, 100Pa, etc.)
    • Operators and special symbols
    • Strings and comments
  • Auto-completion - IntelliSense completions for:

    • All Calcpad keywords
    • Built-in functions
    • Units (SI and imperial)
    • Special methods
  • Hover Documentation - Hover over functions to see descriptions

  • Run Files - Run Calcpad files directly from VS Code (Ctrl+Shift+B)

  • Color Theme - Includes a Monokai-based color theme optimized for Calcpad

Installation

From VSIX file

  1. Download the .vsix file
  2. In VS Code, press Ctrl+Shift+P and type "Install from VSIX"
  3. Select the downloaded .vsix file

Usage

  1. Open any .cpd file - syntax highlighting is automatic
  2. Start typing to see auto-completions
  3. Hover over functions for documentation
  4. Press Ctrl+Shift+B or right-click and select "Run Calcpad File" to execute

Color Theme

To use the included Calcpad Monokai theme:

  1. Press Ctrl+K Ctrl+T to open the theme picker
  2. Select "Calcpad Monokai"

File Association

The extension automatically associates with .cpd files. To manually set the language:

  1. Click on the language indicator in the status bar (bottom right)
  2. Select "Calcpad"

Requirements

Known issues

  • $Map do not display plots in preview when PlotSVG mode is set to nonzero.

Contributing

Contributions are welcome! Please feel free to submit issues and pull requests.

License

MIT

Related extensions