Skip to content

Add VSG linter QuickFix Support #849

@bporteboeuf

Description

@bporteboeuf

Hi,

I am currently enjoying TerosHDL v6.0.14 coupled with VHDL Style Guide v3.35.0 and VS Code 1.97.2 on Windows.

When using VSG as the VHDL Style Checker, I do have correct integration of the report in VS Code and hovering over the problematic line gives an explanation of the issue. However VSG provides automated fixes for simple issues (like indentation, case, blank spaces and so on) and this is not currently available as quick fix in VS Code (see screenshot).

Image

Ideally, I would love to be able to simply ask for VSG's quickfix either by hovering over the line, or by right-clicking on the associated problem report, either only for the selected line or for all the lines with the same issue in the current file.

This could be done using VSG -fix_only and or -json parameters that allows to specify a single line and/or a single rule to fix in a file : https://vhdl-style-guide.readthedocs.io/en/3.11.0/tool_integration.html.

I could not find any information about this feature on the TerosHDL documentation or github issues and would like to know if this is part of your roadmap.

Thank you for your hard work that makes ours easier !

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions