.VSCODEIGNORE File Extension

Visual Studio Code Extension Ignore File

Developer Microsoft
Popularity
3.0  |  1 Vote
 

What is a VSCODEIGNORE file?

A VSCODEIGNORE file is a text file used to exclude unnecessary files when packaging a Microsoft Visual Studio Code extension. It contains a collection of glob patterns that specify what source code files will not be included in the extension's final .VSIX file. VSCODEIGNORE files allow developers to reduce their VSIX files' file sizes, before publishing the files to the Visual Studio Code Extension Marketplace.

More Information

Screenshot of a .vscodeignore file in Microsft Visual Studio Code
VSCODEIGNORE file open in Microsft Visual Studio Code

Microsoft Visual Studio Code is a popular cross-platform code editor. Developers who want to extend Visual Studio Code's capabilities can search for and install Visual Studio Code extensions, which contain one or more additional Visual Studio Code features. For the most part, developers search for and install extensions from Visual Studio Code's Extension Marketplace.

Any developer can create and publish an extension to the Visual Studio Code Extension Marketplace. To do so, a developer must first develop their extension in Visual Studio Code. Then, the developer must publish their extension to the Marketplace, using the Visual Studio Code Extensions command-line tool.

Often, a developer's extension project includes files that do not need to be part of the extension's final, published VSIX package. For example, a developer who developed their extension in TypeScript will likely want to exclude .TS files from the extension's VSIX package. To exclude files from an extension's VSIX file, a developer must create a VSCODEIGNORE file and place it within their extension project.

After creating a VSCODEIGNORE file, a developer can open the file and specify what source code files should be excluded when Visual Studio Code Extensions packages their extension. Developers specify file exclusions using a list of glob patterns. Any files that match a pattern are excluded from the extension's VSIX file.

How to open a VSCODEIGNORE file

You can open a VSCODEIGNORE file in any text or source code editor. Most likely, you'll want to open your VSCODEIGNORE file in Microsoft Visual Studio Code (cross-platform), as part of a Visual Studio Code extension development project.

Open over 400 file formats with File Viewer Plus.Free Download

Programs that open or reference VSCODEIGNORE files

Verified by FileInfo.com

The FileInfo.com team has independently researched the Visual Studio Code Extension Ignore file format and Mac, Windows, and Linux apps listed on this page. Our goal is 100% accuracy and we only publish information about file types that we have verified.

If you would like to suggest any additions or updates to this page, please let us know.