VSChina/vscode-ansible

Feature Request: Linting support

Opened this issue · 1 comments

Environment

  • Extension version: 0.5.2
  • OS Type: MacOS

Summary

Request to integrate ansible-lint into the Ansible VSCode extension

Reproduce steps

---
- hosts: localhost
  connection: local
  vars:
    throw_error: true
  tasks:
  - debug:
      msg: "This should throw a linter error"
    when: throw_error = true

Expected Results

Linter Error should be highlighted in the editor and appear in the "Problems" tab

Actual Results

VSCode doesn't know there's a linter error

I have the same problem in Ubuntu 18.04 with ansible 2.8.4 and vscode 1.37.1+ (1.38 too) See image.

Selección_118