Skip to content

apupier/vscode-yaml

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

82 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Build Status

Kubernetes extension for VS Code

VS Code extension that provides asssitance for authoring kubernetes and Openshift configuration.

Features

screencast

YAML validation:

      Detects whether the entire file is valid yaml

Kubernetes validation:

    Detects errors such as:

      Child node does not exist

      Command not found in kubernetes

      Incorrect type of value

Kubernetes auto completion:

    Auto completes on all commands and resorts to defaults for the value if found

Developer Support

Getting started

  1. Install prerequisites:
  2. Fork and clone this repository
  3. cd vscode-k8s
  4. Install the dependencies for server
cd server
$ npm install
  1. Install the dependencies for client
cd ../client
$ npm install
  1. Open client on VS Code
cd ..
code ./client
  1. Open server on VS Code
code ./server

Refer to VS Code documentation on how to run and debug the extension

Configuring the extension for testing

In order to configure the extension for autocompletion you need to change edit.quickSuggestions.strings to true

  1. Open up your settings.json file by going to VS code settings
  2. Under the editor tab scroll down until you find "editor.quickSuggestions"
  3. Edit this and make sure that "strings" is set to true (otherwise autocomplete will not work)

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • TypeScript 100.0%