This Visual Studio Code extension provides hints and autocompletion for Meteor settings in your JavaScript and TypeScript files. It reads the settings.json
file in your Meteor project and provides hover tooltips, code completion, and linting for accessing Meteor settings.
Hover over Meteor.settings
keys to see their values and types. This helps you understand what each setting represents and its data type.
Get autocompletion suggestions for Meteor.settings
keys and their values. As you type, the extension will provide a list of available settings and their values, making it easier to access and use them in your code.
The extension warns you if you try to access non-public settings in client code. This helps prevent accidental exposure of sensitive data and ensures that your code follows best practices for accessing Meteor settings.
Ctrl + click a setting to go to that location in the Meteor.settings
. This feature allows you to quickly navigate to the definition of a setting, making it easier to understand and modify its value.
- Install the extension in Visual Studio Code.
- Open your Meteor project in Visual Studio Code.
- Start using
Meteor.settings
in your JavaScript or TypeScript files, and the extension will provide hints and autocompletion.
You can configure the path to the settings.json
file by setting the meteorSettingsIntelliSense.settingsFilePath
option in your workspace settings. By default, it looks for settings.json
in the workspace root.
If you find any issues or have suggestions for improvements, please open an issue or submit a pull request on the GitHub repository.
This extension is licensed under the MIT License.