This extension adds rich language support for AWS CloudFormation Templates to Visual Studio Code. It works for both JSON and YAML templates, as long as the file extensions are respectively .cfn.json
or .cfn.yaml
. Alternatively, you can set the language mode for a file to "CloudFormation JSON" or "CloudFormation YAML" using the language picker in the bottom right.
- Install the extension
- Open any
.cf.json
or.cf.yaml
file in VS Code. - Enjoy rich language tooling
- Auto-completion
- Go to Definition
- Find References
- Smart rename
- File outline
- Inline errors
These features work even when there are syntactic or semantic errors in your file.
The best way to contribute to this extensions is to use it and file issues on the GitHub repository. Thank you! Also please rate the extension and leave honest feedback, I'll be sure to read it.
This extension provides rich language support using a Language Server Protocol server provided by this project. It connects to that LSP server using vscode-languageclient.
This extension runs faster when Java is installed. It looks for the Java home directory in these locations:
- the java.home setting in VS Code settings (workspace then user settings)
- the
JDK_HOME
environment variable - the
JAVA_HOME
environment variable - on the current system path