You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I figured out that it PyLance works out of the box if you simply specify zopepy instead of python as your default interpreter.
When I work on Plone projects I have often checked out multiple packages in the src folder. Therefore I use one workspace file with one folder for my home directory and then for every source an other folder. in the end it looks like this:
I save this file as workspace.code-workspace in the home directory and open it with VSCode. Just make sure that the path to zopepy is absolute because otherwise Pylance will throw errors.
You do not even need collective.recipe.vscode anymore. Autocompletion just works because zopepy already knows all the things you need.
https://marketplace.visualstudio.com/items?itemName=ms-python.vscode-pylance
The text was updated successfully, but these errors were encountered: