An open API service indexing awesome lists of open source software.

https://github.com/dalirnet/vscode-mongod-config

Syntax highlight and formatter for Mongod config files
https://github.com/dalirnet/vscode-mongod-config

Last synced: about 1 year ago
JSON representation

Syntax highlight and formatter for Mongod config files

Awesome Lists containing this project

README

          

# Mongod config syntax support for VS Code

Syntax highlight, autocomplete and formatter for Mongod config files

![demo](https://raw.githubusercontent.com/dalirnet/vscode-mongod-config/main/demo.png)

## Usage

#### Install the extension in VS Code

- Open the command palette using Ctrl+Shift+P
- Type `ext install mongod-config` in the command palette

#### Select Mongod config as a language

- On the bottom-right corner, click on the select language mode button.
- Select _Mongod config_ in the list of languages.

Alternatively, saving the file with a `.conf` or `.cfg` extension, will allow VS Code to understand that it is a Mongod file, and automatically select the language correctly.

## Supported filetypes

- .conf
- .cgf

## License

This software is released under the terms of the MIT license.