Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/itprokyle/vscode-runway
Visual Studio Code extension for Runway
https://github.com/itprokyle/vscode-runway
Last synced: 19 days ago
JSON representation
Visual Studio Code extension for Runway
- Host: GitHub
- URL: https://github.com/itprokyle/vscode-runway
- Owner: ITProKyle
- License: apache-2.0
- Created: 2020-02-08T17:20:37.000Z (almost 5 years ago)
- Default Branch: master
- Last Pushed: 2023-09-28T02:26:31.000Z (over 1 year ago)
- Last Synced: 2024-12-10T11:56:34.885Z (23 days ago)
- Language: TypeScript
- Homepage: https://marketplace.visualstudio.com/items?itemName=itprokyle.vscode-runway
- Size: 2.75 MB
- Stars: 0
- Watchers: 2
- Forks: 1
- Open Issues: 17
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# vscode-runway
> **IMPORTANT:** This extension is still in early development. It is not full featured. Expect breaking changes between versions.
Visual Studio Code extension for [Runway](https://github.com/onicagroup/runway) that provides schema validation for `runway.yml`/`runway.yaml` files and configuration files for Runway's CFNgin.
![vscode-runway.gif](https://raw.githubusercontent.com/ITProKyle/vscode-runway/master/assets/vscode-runway.gif)
## Features
- `runway.yml`/`runway.yaml` validation and autocompletion
- CFNgin configuration file validation and autocompletion
- automatically applies to `**/*.cfn/*.yaml` & `**/*.cfn/*.yml` files
- description on hover for key and values## Usage
1. Install the extension.
2. Create or open a `runway.yml`/`runway.yaml` file.
3. Start typing or hover over existing keys.### CFNgin Configuration Files
This extension will automatically identify YAML files in a CFNgin module directory (suffix of `.cfn`) as CFNgin configuration files.
If using a directory without the suffix, an entry can be manually added to [workspace settings](https://code.visualstudio.com/docs/getstarted/settings).Below is an example of the entry that is added to [user settings](https://code.visualstudio.com/docs/getstarted/settings).
Update the glob patters to match the desired CFNgin configuration files (vscode will need to be reloaded after making changes).> **NOTE:** The extension version is contained within this path.
> When manually adding to workspace settings, the version will need to be maintained manually.```json
{
"yaml.schemas": {
"file:///Users/kyle/.vscode/extensions/itprokyle.vscode-runway-0.0.0/schemas/cfngin.schema.json": [
"**/*.cfn/*.yaml",
"**/*.cfn/*.yml"
]
}
}
```## How It Works
This extension modifies the [user settings](https://code.visualstudio.com/docs/getstarted/settings) of Visual Studio Code to append a schema to the `yaml.schemas` configuration property of the [redhat.vscode-yaml](https://marketplace.visualstudio.com/items?itemName=redhat.vscode-yaml) extension.
The YAML extension consumes the schema provided here to produce autocompletion and information on keys and values upon hover.## Requirements
- [redhat.vscode-yaml](https://marketplace.visualstudio.com/items?itemName=redhat.vscode-yaml) extension
## Release Notes
All release notes can be viewed in the [releases](https://github.com/ITProKyle/vscode-runway/releases) section of the repo.