question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Code outline does not work on remote ssh filesystem

See original GitHub issue

Environment data

  • VS Code version: 1.30.1
  • Extension version (available under the Extensions sidebar): 2018.12.1
  • OS and version: Win10 Pro
  • Python version (& distribution if applicable, e.g. Anaconda): Anaconda, Python 3.6.6
  • Type of virtual environment used (N/A | venv | virtualenv | conda | …): None
  • Relevant/affected Python packages and their versions:

Expected behaviour

Outline view should show symbols from open Python file

Actual behaviour

Outline view shows greyed-out message “There are no editors open that can provide outline information”

Steps to reproduce:

  1. Connect to remote filesystem using SSH protocol (e.g. using kelvin.vscode-sshfs extension)
  2. Open any Python file
  3. Outline panel shows text “There are no editors open that can provide outline information”

Logs

Output for Python in the Output panel (ViewOutput, change the drop-down the upper-right of the Output panel to Python)

Starting Jedi Python language engine.

Output from Console under the Developer Tools panel (toggle Developer Tools on under Help; turn on source maps to make any tracebacks be useful by running Enable source map support for extension debugging)

I have no idea what do you mean by "running Enable...". Running how?

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:5

github_iconTop GitHub Comments

1reaction
d3r3kkcommented, Dec 29, 2018

We are working in collaboration with the VS Code team itself on getting remote scenarios up and running. Please see issue #79.

However, your issue seems to be working on a remote filesystem while editing your local project? This would suggest to me that the support for WSL #67 (workspaces outside of the environment where VS Code and the extension are installed) would satisfy what you are looking to do.

We realize you are trying to make use of kelvin.vscode-sshfs extension to accomplish this, but our extension does not know about nor use any extensions to supply it with information about the workspace at this time.


I have no idea what do you mean by “running Enable…”. Running how?

You can open the Command Pallete (ctrl+shift+p, or on Windows, f1) and type in Enable source map support for extension debugging and that will enable this feature.

0reactions
DonJayamannecommented, Dec 29, 2018

Closing as this is related to remote interpreter, Code navigation, intellisense, code outlive, etc are all related.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Code outline does not work on remote ssh filesystem #2974
Code outline does not work on remote ssh filesystem #2974. Open ... Outline view should show symbols from currently open C++ file.
Read more >
Remote Development using SSH - Visual Studio Code
The Visual Studio Code Remote - SSH extension allows you to open a remote folder on any remote machine, virtual machine, or container...
Read more >
Using VS Code for Remote Development (#367339) - GitLab
TL;DR: This issue sums up our options for how to use VS Code. We have to decide if we want to go the...
Read more >
Using Remote VSCode - :: Guru Computing Blog
Open a command prompt (type cmd in the start menu) and type “ssh-keygen”. Hit enter about 3 times and you're done! You can...
Read more >
Troubleshooting AWS Cloud9
Console warning: "Switching to the minimal code completion engine..." AWS Cloud9 installer doesn't finish after displaying: "Package Cloud9 IDE 1"; VPC error ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found