Skip to content

VSG format target file is incorrect #797

@wespiard

Description

@wespiard

Describe the bug

When formatting a VHDL file using TerosHDL with VSG selected as the VHDL formatter, the file is not modified, but the TerosHDL output says the following:

[info] The code has been formatted successfully.

The debug output shows the command executed to format:
vsg -p 2 --fix -f /tmp/f-2025727-344643-8lh35n.87te

I'm not sure if this is a temporary file buffer that TerosHDL is using, or if it's caused by something else.

To Reproduce

  • Open VHDL (.vhd) file in VS Code
  • Run format (TerosHDL set as default for .vhd files)
  • File is not formatted, TerosHDL debug output shows a file/buffer in /tmp/ was passed to the -f argument of VSG

Code
N/A (any .vhd file has this problem)

Please complete the following information:

  • OS: RHEL 8.10
  • VSCode version: 1.103.2

Screenshots
N/A

Additional context
I am running VS Code on my local Windows machine, but the extension is installed on a remote SSH host.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions