Hacktoberfest 2026: los issues que los mantenedores marcaron para octubre, abiertos y aptos para principiantes. Explorar issues de Hacktoberfest

Hierarchical outline broken since 0.3.17

Cerrado
#814 0 comentarios 1 reacción 0 asignados Ver en GitHub

Los mantenedores suelen responder en 1 día

Ya se ha fusionado un pull request relacionado.

  • #816 de @renkun-ken — fusionado

Evaluación

Dificultad
4/5
Tiempo estimado
1-2 días
Aptitud para principiantes
48/100
Tipo de issue
Error
Claridad
Bastante claro
Estado de actividad
Activo
Stack tecnológico
r

Línea de trabajo

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.

Escrito por el modelo de indexación a partir del texto del issue.

Descripción

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.

Lenguaje dominante
R
Estrellas
679
Forks
119
Merge medio
1 d 11 h
PR fusionados (30 d)
36

Preparar el entorno

Abrir en Codespaces

Inicia el contenedor de desarrollo del proyecto en tu navegador, con tu propia cuenta de GitHub.

  • Sin Dockerfile ni archivo de Docker Compose
  • Sin plantilla de pull request
  • Sin guía de contribución

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de REditorSupport/languageserver

Todos los issues de REditorSupport/languageserver

Issues similares

Más issues de R

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.