vscode-terosHDL icon indicating copy to clipboard operation
vscode-terosHDL copied to clipboard

Problem with VSG version > 3.3.0

Open elpollodiablo84 opened this issue 4 years ago • 3 comments

Describe the bug VSG formatter doesn't work when version is strictly greater than 3.3.0

To Reproduce Install a version of VSG strictly greater than 3.30 (at this moment only 3.4.0 and 3.5.0), and try to use the formatter

Versions

  • Teros 2.0.6 or 2.0.5
  • VSG > 3.30
  • VSCode 1.63.2

elpollodiablo84 avatar Jan 21 '22 14:01 elpollodiablo84

Just a (hopefully helpful) remark from someone who stumbled across this bug as well: In my case, VSG worked when installed on native python, i.e. outside of any virtual environment, but did not work when installed inside a virtualenv or anaconda env.

Versions

  • Windows 10
  • VSCode 1.63.2
  • Teros 2.0.6
  • Python 3.10.2
  • VSG 3.5.0

le-blue avatar Jan 23 '22 17:01 le-blue

Sadly in my case VSG is installed on native python and it doesn't work on version > 3.3.0. for the sake of completeness, my python version is 3.8.10.

elpollodiablo84 avatar Jan 24 '22 09:01 elpollodiablo84

Seems I got same issue. TerosHDL output is:

****************************************************************************************************************************************
2022-04-08 10:47:54: Formatting file with vsg: 
****************************************************************************************************************************************

and nothing happens on editing file.

kele14x avatar Apr 08 '22 02:04 kele14x

I've got some good news about this issue: apparently the change that broke the integration is in the rules configuration file, in facts using vsg and teroshdl without a custom yaml configuration file works as intended in versions > 3.3. Basically there's nothing wrong with teroshdl, so I think the issue should be closed.

elpollodiablo84 avatar Sep 08 '22 11:09 elpollodiablo84