Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>RTF PreviewNew to Visual Studio Code? Get it now.
RTF Preview

RTF Preview

elong0527

|
19 installs
| (0) | Free
Preview RTF files by converting them to PDF using LibreOffice
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

RTF Preview for VS Code

Preview RTF files directly in VS Code by converting them to PDF using LibreOffice.

RTF Preview Example

Features

  • Preview RTF files as PDF within VS Code.
  • Automatic detection of LibreOffice installation.
  • Configurable path to LibreOffice executable.

Requirements

  • LibreOffice: This extension requires LibreOffice to be installed on your system to convert RTF files to PDF.
    • macOS: brew install --cask libreoffice
    • Linux: sudo apt install libreoffice (Debian/Ubuntu)
    • Windows: Download and install from libreoffice.org

Extension Settings

This extension contributes the following settings:

  • rtfPreview.libreOfficePath: Path to the LibreOffice executable (soffice). If left empty, the extension will attempt to auto-detect it.
  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft