Jump to content

vs.code & vs.py linting


Recommended Posts

Hey All,

 

Has anyone successfully gotten linting to work with VS.Code?   I've been bashing my head against this for last couple of days and just can't seem to get it play nice...

 

I've tried pointing the linter to the Plug-Ins directory, copying vs.py to the python library directory as well as placing it in the same directory that I'm using for my plug in and none seem to work....

 

Has anyone successfully gotten this to work?

 

 

Link to comment

Well, I had to google linting and linter to try and understand this question.

 

It seems it has something to do with code analysis? Code structure and fidelity?

 

In either case, I use PyCharm Community Version. https://www.jetbrains.com/pycharm/

I add as the Project Interpreter, the python version from the one included with the Vectorworks version. For windows, its in:

"C:\Program Files\Vectorworks 2018\Python35\python.exe"

(This way all external library installs can be directly done through Pycharm, very robust)

And last, add the vs.py file from the DevWiki site, to the Project Directory root folder.

 

And everything works like a charm(no pun intended), with code correction, auto-completion, code hints, etc.

 

 

Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...