Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

Hierarchical outline broken since 0.3.17

クローズ
#814 コメント 0 件 リアクション 1 件 担当者 0 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

関連するプルリクエストがすでにマージされています。

  • #816 @renkun-ken による — マージ済み

評価

難易度
4/5
見積もり時間
1〜2日
初心者へのやさしさ
48/100
issue の種類
バグ
明瞭さ
おおむね明確
活発さ
活発
技術スタック
r

調査の方向性

Compare outline and breadcrumb behavior between languageserver 0.3.16 and 0.3.17 using the R script in the issue, then trace the code-section symbols returned to Visual Studio Code. The issue names no source files or tests, so start by locating the outline and symbol handling entry points. Done means subsections appear nested under sections and breadcrumbs work with the current languageserver version.

索引モデルが issue の本文から書いたものです。

説明

Hello,

In version 0.3.16, the Outline view showed the sections and subsections in an hierarchical way which is the expected behavior according to https://github.com/REditorSupport/vscode-R/wiki/R-Language-Service#code-sections and https://code.visualstudio.com/docs/editing/getting-started/userinterface#_outline-view

Starting with 0.3.17, including the latest 0.3.19, the folding disappeared which makes navigation in huge files painful.

It is somehow related to #685 but not exactly the same issue.

It would be great if this issue could be fixed in order to use this folding feature with the latest languageserver version.
Thanks in advance!

Steps to reproduce

Create an R script with the following content

# First section ----

## Subsection of the first section ----

var <- "dummy"

## Another subsection ----

variable <- 2

# Second section ----

another_var <- "Hey!"

Open the Outline view in Visual Studio Code (could be in the Explorer panel depending on your settings).

Expected behavior

The header of the subsections must be hidden and folded inside the headers of the sections:

Image

Observed behavior

All symbols including headers are on the same level:

Image

Note that the breadcrumbs are also broken.

Additional information

Visual Studio Code version: 1.142.0
Commit: 6d62b1d5dace93a33b3a6d3eca1317bd5e15bcb1
Date: 2026-10-15T03:02:17Z
Electron: 43.7.7
ElectronBuildId: 15553055
Chromium: 150.0.7871.250
Node.js: 24.21.0
V8: 15.0.245.31-electron.0
@github/copilot: 1.0.95-0.unstable.r38345923974.g3754b70
@github/copilot-sdk: 1.0.19.38345923974.g3754b70
OS: Linux x64 6.8.0-138-generic

R extension for VSC version : 3.2.0

One may downgrade/upgrade easily languageserver with:

install.packages(
  pkg = "https://cran.r-project.org/src/contrib/Archive/languageserver/languageserver_0.3.16.tar.gz",
  repos = NULL
)

The problem appears starting with 0.3.17.

主要言語
R
スター
679
フォーク
119
平均マージ
1日 11時間
マージ済み PR(30日)
36

環境構築

Codespaces で開く

このプロジェクトの開発コンテナを、あなたの GitHub アカウントでブラウザ上に起動します。

  • Dockerfile・Docker Compose ファイルなし
  • プルリクエストのテンプレートなし
  • コントリビューションガイドなし

はじめの一歩

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

REditorSupport/languageserver のほかの issue

REditorSupport/languageserver の issue をすべて見る

似ている issue

R の issue をもっと見る

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

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