Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Code outline does not work on remote ssh filesystem #3821

Closed
andy-z opened this issue Dec 28, 2018 · 5 comments
Closed

Code outline does not work on remote ssh filesystem #3821

andy-z opened this issue Dec 28, 2018 · 5 comments
Labels
feature-request Request for new features or functionality

Comments

@andy-z
Copy link

andy-z commented Dec 28, 2018

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?
@ghost ghost added the triage-needed Needs assignment to the proper sub-team label Dec 28, 2018
@d3r3kk d3r3kk added the triage label Dec 29, 2018
@d3r3kk d3r3kk self-assigned this Dec 29, 2018
@ghost ghost removed the triage-needed Needs assignment to the proper sub-team label Dec 29, 2018
@d3r3kk
Copy link

d3r3kk commented 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.

@d3r3kk d3r3kk added feature-request Request for new features or functionality needs decision labels Dec 29, 2018
@d3r3kk d3r3kk removed their assignment Dec 29, 2018
@d3r3kk d3r3kk removed the triage label Dec 29, 2018
@andy-z
Copy link
Author

andy-z commented Dec 29, 2018

Thanks for quick response. Actually I do not care much about remote projects or running Python interpreter remotely, all I do is editing files on remote filesystem. We have our own build system which I'm running from a terminal window on remote Linux server, so I only use vscode as a dumb editor running on my local Windows machine. Still it would be nice to support the same features as for the files on local file system (code outline, spell check) in this case if possible.

@DonJayamanne
Copy link

Closing in favour of #79

@ghost ghost removed the needs decision label Dec 29, 2018
@andy-z
Copy link
Author

andy-z commented Dec 29, 2018

Maybe worth to mention here too that our development is multi-language, in addition to Python we have C++, JavaScript, some YAML, etc. on remote end, and I need to edit all those files. Python-only solution (e.g. running remote Python interpreter indexing Python files) won't probably help me.

@DonJayamanne
Copy link

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

@lock lock bot locked as resolved and limited conversation to collaborators Jan 26, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
feature-request Request for new features or functionality
Projects
None yet
Development

No branches or pull requests

3 participants