Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>sage-codeNew to Visual Studio Code? Get it now.
sage-code

sage-code

苏氨酸

|
49 installs
| (0) | Free
Enhanced support for SageMath in VS Code.
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

SageMath VS Code Enhancement Plugin (sage-code)

Developed to streamline my personal workflow in CTF crypto challenges, this plugin improves the SageMath development experience in VS Code.

✨ Features

  • Enhanced Syntax Highlighting

    • Recognizes SageMath-specific keywords, functions, and classes.
    • Correctly highlights ring definition syntax such as R.<x> = ....
  • Basic Code Completion

    • Automatically extracts symbols from the SageMath environment to provide completion suggestions.
    • Offers real-time suggestions to improve coding efficiency.
  • Hover Documentation

    • Displays the docstring when hovering over SageMath functions or classes.
    • Uses docutils to convert RST-formatted docs into HTML for better readability.
  • Code Runner Integration

    • Supports multiple execution modes for .sage files:

      • Run normally: Execute Sage scripts directly.
      • Run and clean: Execute and then automatically remove the generated .py files to keep the workspace clean.

📸 Preview

Auto Completion Hover Docs Context Menu Code Runner

📄 License

This project is licensed under the MIT License.

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft