microsoft / microsoft/vscode-cpptools

Code outline does not work on remote ssh filesystem

Open
#2,974 5 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug Language Service network drive
Dominant language
TypeScript
Stars
6.2k
Forks
1.7k
Avg merge
14h 46m
Merged PRs (30d)
61

Description

Type: LanguageService

Describe the bug

  • OS and Version: Win10 Pro
  • VS Code Version: 1.30.1
  • C/C++ Extension Version: 0.20.1
  • Other extensions you installed (and if the issue persists after disabling them): SSH FS, Python
  • Code Outline does not show anything at all for C++ files open on remote filesystem using SSH protocol (ssh:// prefix)

To Reproduce

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

Expected behavior
Outline view should show symbols from currently open C++ file

Additional context
I opened an issue against VSCode originally but they claim it's an extension issue: https://github.com/Microsoft/vscode/issues/65752

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Reproduce the issue by opening a C++ file through an SSH FS connection and checking the Outline panel. Start by tracing how the extension handles outline requests for documents using an ssh:// URI; done means symbols from the open C++ file appear in the Outline view.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp, typescript, vscode
Domain
developer-experience, tooling
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.