Skip to content

A VSCode extension that provides language services and features for ansible.cfg file

Notifications You must be signed in to change notification settings

priyamsahoo/ansible-config-vscode

Repository files navigation

Ansible Config VSCode Extension

This contains a vscode extension that used language server behind the scenes to give ide features for ansible configuration file, i.e., ansible.cfg.

This server as an example for my talk on Building Rich IDE Features Using Language Server Protocol at FOSSASIA Summit 2023

Functionality

This Language Server identifies an ansible config file and provides the following language features:

  • Completions
  • [TODO] Diagnostics

It also includes an End-to-End test.

Running the Sample

  • Run npm install in this folder. This installs all necessary npm modules in both the client and server folder
  • Open VS Code on this folder.
  • Press Ctrl+Shift+B to start compiling the client and server in watch mode.
  • Switch to the Run and Debug View in the Sidebar (Ctrl+Shift+D).
  • Select Launch Client from the drop down (if it is not already).
  • Press ▷ to run the launch config (F5).
  • In the Extension Development Host instance of VSCode, open an ansible.cfg file to use the language features.

About

A VSCode extension that provides language services and features for ansible.cfg file

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages