---
title: "Introducing the Syncfusion<sup>®</sup> Document Viewer Extension for Visual Studio Code"
published_at: "2024-12-26T11:22:44+00:00"
modified_at: "2026-02-11T05:55:37+00:00"
url: "https://www.syncfusion.com/blogs/post/document-viewer-extension-for-vs-code"
excerpt: "This blog explains the features of the Syncfusion Document Viewer extension for Visual Studio Code and its use cases."
taxonomy_category:
  - "Document Processing"
  - "Extensions"
  - "File Formats"
  - "Syncfusion"
  - "Visual Studio Code"
taxonomy_post_tag:
  - "Document Processing"
  - "Document viewer extension"
  - "extension"
  - "File Formats"
  - "Syncfusion"
  - "Visual Studio Code"
---

# Introducing the Syncfusion® Document Viewer Extension for Visual Studio Code

[Ganesan Rengasamy](https://www.syncfusion.com/blogs/author/ganesan-rengasamy)

![Revolutionize Your Data Workflow with Syncfusion® Document Viewer for Visual Studio Code](https://www.syncfusion.com/blogs/wp-content/uploads/2024/12/Revolutionize-Your-Data-Workflow-with-Syncfusion%C2%AE-Document-Viewer-for-Visual-Studio-Code.png)


**TL;DR:** The Syncfusion® Document Viewer for Visual Studio Code allows you to open and view Excel, CSV, and TSV files directly in your editor. With features like sorting, filtering, and read-only mode, it enhances your workflow within Visual Studio Code, saving time and boosting productivity.

The [Syncfusion® Document Viewer for Visual Studio Code](https://marketplace.visualstudio.com/items?itemName=SyncfusionInc.Document-Viewer-VSCode-Extensions)
 is an extension that lets you open and view Excel, CSV, and TSV files within VS code editor.

With features like sorting, filtering, and a toggleable read-only mode, this extension allows you to view your files without switching between different apps.

## Prerequisites

Before getting started, make sure your environment meets the following requirements:

- [Visual Studio Code 1.73.0 or later](https://code.visualstudio.com/download)

## Installing the Syncfusion® Document Viewer Extension

You can install the **Syncfusion® Document Viewer** extension directly from ** Visual Studio Code**. Here’s how:

1. Launch **Visual Studio Code**.
2. Open the **Extensions** View. Select the ** Extensions** icon in the** Activity Bar** on the left side of the editor (it looks like four squares with one detached), or press ** Ctrl+Shift+X** (Windows/Linux) or ** Cmd+Shift+X** (Mac).
3. Search for **Syncfusion® Document Viewer** in the search bar.[https://www.syncfusion.com/blogs/wp-content/uploads/2024/12/Search-for-Syncfusion%C2%AE-Document-Viewer-in-the-search-bar.png](https://www.syncfusion.com/blogs/wp-content/uploads/2024/12/Search-for-Syncfusion%C2%AE-Document-Viewer-in-the-search-bar.png) Syncfusion Document Viewer extension in Visual Studio Code
4. Click on the **Install** option to add the extension to your editor.

Once installed, you can start working with Excel, CSV, and TSV files within Visual Studio Code.

## Why use the Syncfusion® Document Viewer?

**The Syncfusion® Document Viewer** streamlines your workflow by eliminating the need to switch between applications to view files, providing a more focused experience.

### Key features

- **Open and View**: You can open and view ** Excel (.xlsx), CSV (.csv),** and** TSV (.tsv)** files directly within Visual Studio Code, without need to switch between applications.
- **Sorting and filtering**: Utilize the sorting and filtering options in the column headers for improved viewing.
- **Read-only mode**: Safeguard your data by enabling read-only mode to prevent accidental edits.

## How to customize the Syncfusion® Document Viewer extension?

The **Syncfusion® Document Viewer** allows you to customize its features to fit your workflow. Here’s how you can easily configure the extension:

### Configuring read-only mode

You can enable read-only mode to view files without making any changes, helping to prevent accidental edits.

1. **Via the VSCode Status Bar**:
  - After opening a file, click the **Syncfusion® Document Viewer** icon in the ** VSCode status bar**.
  - A **QuickPick** bar will appear at the top of VSCode, with ** Enable** or ** Disable** read-only mode options.![Enabling read-only mode via icon in VS Code](https://www.syncfusion.com/blogs/wp-content/uploads/2024/12/Configuring-Read-Only-Mode-via-the-VSCode-Status-Bar.gif) Enable/Disable read-only mode via icon in VS Code

2. **Via VSCode settings (User/Workspace)**:

- 
  - Go to **VSCode Settings** → ** Extensions** → ** Syncfusion® Document Viewer**.
  - Toggle the **Read-Only Mode** setting to ** Enable** or ** Disable** based on your preference.![Configuring read-only mode via VSCode Settings](https://www.syncfusion.com/blogs/wp-content/uploads/2024/12/Configuring-read-only-mode-via-VSCode-Settings.png) Configuring read-only mode via VSCode Settings

### Configuring filtering and sorting on the first row

You can apply filtering and sorting to the first row of the worksheet for quicker access.

1. **Via the VSCode Status Bar**:
  - After opening a file, click the **Syncfusion® Document Viewer** icon in the ** VSCode status bar**.
  - A **QuickPick** bar will appear at the top of VSCode, enabling you to configure filtering and sorting on the ** first row** of the worksheet.![Configuring filtering and sorting on the first row via the VSCode Status Bar](https://www.syncfusion.com/blogs/wp-content/uploads/2024/12/Configuring-filtering-and-sorting-on-the-first-row-via-the-VSCode-Status-Bar-1.png) Configuring filtering and sorting on the first row via the VSCode Status Bar

2. **Via VSCode Settings (User/Workspace)**:

- 
  - Go to **VSCode Settings** → ** Extensions** → ** Syncfusion® Document Viewer**.
  - You can toggle filtering and sorting options here, turning these features on or off for the first row.![Configuring filtering and sorting via VSCode Settings](https://www.syncfusion.com/blogs/wp-content/uploads/2024/12/Configuring-filtering-and-sorting-via-VSCode-Settings.png) Configuring filtering and sorting via VSCode Settings

### Accessing filtering and sorting directly in the file

- For more granular control, right-click on any cell or column header to open a context menu that provides access to filtering and sorting options. **Using column header:1**** By right-clicking on a cell:**![Accessing filtering and sorting by right-clicking on a cell](https://www.syncfusion.com/blogs/wp-content/uploads/2024/12/Accessing-filtering-and-sorting-by-right-clicking-on-a-cell.png) Accessing filtering and sorting by right-clicking on a cell

## Future plans for extension enhancement

As we continue to improve the Syncfusion® Document Viewer for Visual Studio Code, we are excited to announce plans to support additional file formats. In the near future, we will introduce support for additional file formats, including:

- **Word documents (DOCX)**: Seamlessly open and view Word documents directly within Visual Studio Code.
- **Rich text files (RTF, MD)**: Work with rich text formats like RTF and Markdown (MD) files, allowing for greater flexibility in viewing content.
- **PDF files**: View PDF documents directly in Visual Studio code.

These updates will further streamline your workflow by integrating even more document types directly into your coding environment.

**Note:** For more details, refer to the [Syncfusion® Document Viewer extension for Visual Studio Code documentation](https://help.syncfusion.com/extension/document-viewer-extension/visual-studio-code/overview)
.

## Conclusion

The [Syncfusion® Document Viewer for Visual Studio Code](https://marketplace.visualstudio.com/items?itemName=SyncfusionInc.Document-Viewer-VSCode-Extensions)
is an essential extension for viewing Excel, CSV, and TSV files directly in your coding environment. With features like read-only mode, sorting, and filtering, it helps you save time and stay productive by reducing the need to switch between apps.

If you’re an existing customer, you can download the latest version of Essential Studio® from the [License and Downloads](https://www.syncfusion.com/account/downloads)
 page. For those new to Syncfusion®, try our 30-day [free trial](https://www.syncfusion.com/downloads)
 to explore all our features.

For queries, you can contact us through our [support forum](https://www.syncfusion.com/forums)
, [feedback portal](https://www.syncfusion.com/feedback)
, or [support portal](https://support.syncfusion.com/)
. As always, we are happy to assist you!

## Related blogs

- [Syncfusion® Visual Studio Extensions Are Now Compatible With .NET 9.0](https://www.syncfusion.com/blogs/post/visual-studio-extension-with-net-9)
- [Top 15 VS Code Extensions Every Developer Should Know](https://www.syncfusion.com/blogs/post/top-vs-code-extensions)
- [3 Popular Chrome Extensions for Test Automation](https://www.syncfusion.com/blogs/post/3-popular-chrome-extensions-for-test-automation)
- [Creating Extensions for Visual Studio Code: A Complete Guide](https://www.syncfusion.com/blogs/post/creating-extensions-for-visual-studio-code-a-complete-guide)
