Skip to content
| Marketplace
Sign in
Visual Studio Code>Programming Languages>Ansible Go to DefinitionNew to Visual Studio Code? Get it now.
Ansible Go to Definition

Ansible Go to Definition

Blauwe Lucht

|
1,544 installs
| (0) | Free
Implements 'Go to definition' for Ansible projects.
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Visual Studio Code Ansible Go to Definition

This vscode extension enhances the RedHat Ansible extension with some extra 'Go to Definition' functionality.

IMPORTANT: This extension uses heuristics and will therefore be wrong in a lot of cases! Use at your own risk and don't use it when it doesn't work with your project. Don't say I didn't warn you. :)

Requirements

The extension will only work when the RedHat Ansible extension has been installed and the current file is actually recognized as Ansible file (it should say 'Ansible' in the bottom right of the IDE).

How to use

Right-click on a word and select 'Go to Definition' or press F12 (or whatever shortcut key you have assigned).

(Partially) supported definitions

  • variables,
  • import_tasks,
  • include_tasks,
  • files,
  • templates,
  • roles,
  • handlers (notify)
  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft