Vscode python goes to character that doesn't work

I just downloaded vscode ver 1.0 and I really like it. However, it seems that "go to character" does not work for python source files? I tried installing different extensions, but I can not get them to work. Is this not fully supported?

I tried it with the node.js project folder, and the transition symbol works fine for it.

Can someone point me the docs? Perhaps I could write my own plugin for the symbol.

Thank you for your time.

+5
source share
2 answers

I think this is a limitation on how the Python extension for vscode is currently implemented. I reported this on my track on github:

https://github.com/DonJayamanne/pythonVSCode/issues/93

+2
source

This works for me, but only for local files. See screenshot below:

enter image description here

I am using portable 1.0.0 zip on windows 7. I installed the Don Jayamanne Python Extension . Maybe you need it to work? I did not try without it.

If you are not familiar with the extension, some configuration changes should be made after installing it, if python is not in your PATH.

You will need to tell where your python lives using these configuration updates :

Configure the path to the python interpreter in the user settings file (settings.json) as follows. Make sure the full name of the python executable is specified. "Python.pythonPath": "C: /python27/python.exe"

I also updated the parameter, not sure if this has any effect.

Simply provide the fully qualified path to the python executable in the "python" setting within the configuration settings in the launch.json file as follows: { "name": "Python", "type": "python", "request": "launch", "stopOnEntry": true, "program": "${file}", "pythonPath": "c:/python27/python.exe", "debugOptions": [ "WaitOnAbnormalExit", "WaitOnNormalExit", "RedirectOutput" ] } 
+1
source

Source: https://habr.com/ru/post/1247389/


All Articles