The problem is as follows:
Use roboware studio to open the ros project, and find that it cannot jump to the definition, and roboware studio is built on the basis of VS Code.
The solution is as follows:
Add the following code to the settings.json file:
"python.jediEnabled": false
The current configuration is modified as follows:
{ “window.zoomLevel”: 1, “editor.fontSize”: 15, “files.associations”: { “*.json”: “cpp” }, “python.jediEnabled”: false }
If it is opened If it is C/C code, defining jumps and code prompts also need to rely on the C/C plug-in, just install the plug-in.
Related tutorial sharing:vscode tutorial
The above is the detailed content of What should I do if vscode cannot jump to the definition?. For more information, please follow other related articles on the PHP Chinese website!