Skip to content

Latest commit

 

History

763 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

reStructuredText Language Support for Visual Studio Code

Become a Sponsor Build Status Stable Version Install Count Download Count

This extension provides rich reStructuredText language support for Visual Studio Code. Now you write reStructuredText scripts using the excellent IDE-like interface that VS Code provides.

reStructuredText in Visual Studio Code

Features

Standalone Formatter (CLI)

The formatter engine from this extension is also available as a standalone CLI tool and Python package called rstformat. Install it with:

pip install rstformat

It can be used in:

  • Pre-commit hooks
  • CI/CD pipelines
  • Text editors (Neovim, Emacs, etc.)
  • Any Python project

See the rstformat documentation for more details.

Requirements

Linter and formatter integration requires Python 3.11 or newer on desktop. Older Python versions are no longer supported; reload the window after changing the selected Python interpreter. In VS Code for the Web, a bundled Python runtime is used and no local Python installation is needed.

Frequent Asked Questions can be found here.

How to install from Marketplace

This extension is hosted at Visual Studio Marketplace

  1. Upgrade to Visual Studio Code 1.82.0 or above.
  2. Switch to the Extensions view by clicking the fifth icon in the left most bar.
  3. Type "restructuredtext" in the search box and hit Enter key.
  4. Click "Install" button to install "reStructuredText" extension (by LeXtudio Inc.).

After installing this extension, please visit the homepage for this extension to learn how to use it.

Contributing to the code

Check out the development documentation for more details on how to contribute to this extension!

License

This extension is licensed under the MIT License. Please see the third-party notices file for details on the third-party files that we include with releases of this project.

Acknowledgements

Logo

The project logo comes from Legendora Icon by Teekatas Suwannakrua.

Linter

The linter support is based on Cody Hoover's ruby-linter. Linters like rstcheck/doc8/rst-lint can be used side by side.

Sponsor

Cloudflare

Releases

Sponsor this project

Packages

Used by

Contributors

Languages