Python script in VScode

Hello Dynamo user forum’s
When I writing codes in python script in Dynamo, some options and syntaxes shows after dot , for example when I write “Point.” after dot shows some options like “visibility” or “ByCoordinates” and etc
What should I do or install extensions in VScode that do this Visual studio code and highlights and autocorrects all Dynamo and Revit syntaxes?

This might be what you are looking for

2 Likes

There is also the helper function in pyRevit as explained on macro4bim
Add this to settings.json

"python.autoComplete.extraPaths": [
    "C:\\<path to stubs folder location>\\Stubs" 
],
"python.analysis.extraPaths": [
    "C:\\<path to stubs folder location>\\Stubs"
],