Closed darkpandarts closed 8 months ago
Thanks for the link. I uninstalled pylance and installed the prelease version: v2023.11.102
, & reinstalled crabviz.
Still get the type error with empty init.py files. after removing said files, and running crabviz from right clicl, no type errors but crabviz does not open or show anything.
Do you have any ideas on what may being wrong? :)
Is the code open-source? Or could you provide a minimal reproducible example?
it is open source. the project is here
if using pip install using requirements-old.txt
entrypoint is gen_mkdocs_site.py
and main src files are in bashautodoc
OK, I will test it later.
I just cloned your code and analyzed the bashautodoc
folder with Crabviz, no pip install, and then I got the output below. Maybe you should check about the pylance settings.
Ok that sounds amazing! :) What version of pylance do you have installed? I currently have v2023.11.102
It's not about the version. I switched to the pre-release version, and it worked too. Maybe you should check about Python settings, I just modified the Python: Language Server
and Python: Default Interpreter Path
.
Same issue here with the v0.3.0 (crabviz) . I switched to v0.2.0 (crabviz), and now it works perfectly.
There is an activation error in v0.3.0, which I think is the cause of this issue.
The bug should be fixed in the new version 0.3.1. Please update and try it out.
Awesome! It works for me now thanks! You are a ⭐!!!
Looks amazing! But, Does this work with Python3? I get "no matching workspace symbols" errors. I think these were due to my init.py files which I deleted. However, no image is opening in vscode. Any ideas on how to get it working? Would be much appreciated :)