microsoft / microsoft/vscode-cpptools

Go to declaration always shows 2 files, relative and absolute paths

オープン
#3,288 コメント 63 件 リアクション 72 件 担当者 1 名 GitHub で見る

@sean-mcmanus がすでに取り組んでいます。

2025年12月19日 から。

bug Language Service symlinks
主要言語
TypeScript
スター
6.2k
フォーク
1.7k
平均マージ
14時間 46分
マージ済み PR(30日)
61

説明

Type: LanguageService

Describe the bug

  • OS and Version: Ubuntu 14.04.5
  • VS Code Version: 1.24.1
  • C/C++ Extension Version:
  • Other extensions you installed (and if the issue persists after disabling them): yes
  • A clear and concise description of what the bug is.

The issue is that my workspace folders setting contains only the current dir "." and ctrl+p
open file using the relative path, BUT, the problems tab show the problems in the same file
but with the absolute path and when I click on a problem, it opens the same file twice.
1 with relative and 1 with absolute path.
It also happens with "goto declaration", it shows 2 files, 1 with relative, and with absolute path.
Is there a way to use only relative or absolute path?

Steps to Reproduce:

  1. Open file using ctrl+p
  2. Click on the of the problems in that file from the problems tab

Expected behavior

If the file already open, it should navigate from the problems tab to the open file

Screenshots

goto reference screen shot:
image

コントリビューションガイド

コントリビューションガイドを開く

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

評価

この issue はまだ評価されていません。

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。