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

Support pluggable linting and formatting backends

Abierto
#776 0 comentarios 1 reacción 0 asignados Ver en GitHub

Los mantenedores suelen responder en 1 día

Nadie ha tomado este issue todavía.

Evaluación

Dificultad
5/5
Tiempo estimado
Más de una semana
Aptitud para principiantes
35/100
Tipo de issue
Nueva funcionalidad
Claridad
Bastante claro
Estado de actividad
Activo
Stack tecnológico
r

Línea de trabajo

Start by tracing how the current lintr and styler integrations are wired into the language server and where their mandatory dependencies are declared. Define the configurable linting and formatting backend boundary, including stdin input and translation to LSP diagnostics or edits. Done means the default backends remain compatible while alternative CLI tools can be selected without changing unrelated language-server features.

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

Descripción

Currently, languageserver depends directly on lintr for diagnostics and styler for formatting.

It may be useful to make these backends configurable and allow external CLI tools such as Jarl, Air, or Arity to provide the same functionality.

For example:

  • keep lintr / styler as the default or compatibility backends;
  • move them from mandatory dependencies to optional dependencies where possible;
  • allow linting and formatting functions to select another backend;
  • invoke CLI tools using the current document contents via stdin and translate their output into LSP diagnostics / edits.

Potential benefits:

  • substantially faster linting and formatting with native CLI tools;
  • fewer mandatory R package dependencies and a lighter source installation;
  • separation of LSP functionality from a specific linter or formatter implementation;
  • users can keep the existing languageserver completion, navigation, documentation, and other features while choosing newer tooling for linting and formatting;
  • future linters and formatters could be integrated without changing the LSP-facing implementation.

The exact supported tools and configuration can be considered separately.

Lenguaje dominante
R
Estrellas
675
Forks
118
Merge medio
1 d 11 h
PR fusionados (30 d)
11

Preparar el entorno

Aún no hemos revisado los archivos de configuración de este proyecto. Empieza por su README y consulta nuestra guía para la primera contribución para los pasos generales.

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.