AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |
Back to Blog
Visual studio code python jedi4/15/2023 ![]() ![]() I think it is good to use it properly with the search in the workspace. This does not use ctags even if you are using Jedi. You can search for symbols in a file with Go to Symbole in Editor of Ctrl + Shift + O. Personally, the standard library completion seems to work better with the Jedi, so I'm using the Jedi with the default settings. ![]() If true, a static analysis tool for Python called Jedi is used. To switch to Microsoft Python Language Server, set python.jediEnabled to false in the Python extension settings. If you use Microsoft Python Language Server as the engine of IntelliSense, it seems that you can search for symbols in the workspace without using ctags. (It seems that this function was turned off by default because of this specification.) The symbol search function will automatically generate a tags file in the. Alternatively, you can specify the ctags path in the extension settings. Since the Python extension uses ctags to search for symbols in the workspace, it is necessary to install ctags separately to operate this function.įor Windows, you can download the ctags executable file from GitHub and place it in a location where the path passes. From the command palette, it is Go to Symbole in Workspase. The shortcut key for symbol search in the workspace is Ctrl + T. It is OK if you set the setting item to true.īy enabling this setting, the symbol search in the workspace will work. ![]() Personally, I use it because it is effective and there are few problems. If you enable it in the settings, it will work as before. The symbol search function in the workspace of the Python extension was simply disabled by default. The premise is that Microsoft's Python extension is installed in VS Code. I was waiting for it to come back soon, but I didn't come back, so I looked it up. I can do a symbol search in a Python workspace with VS Code, but it has stopped working for some time.
0 Comments
Read More
Leave a Reply. |