Hacktoberfest 2026: le issue che i maintainer hanno segnato per ottobre, aperte e adatte ai principianti. Sfoglia le issue Hacktoberfest

Support pluggable linting and formatting backends

Aperta
#776 0 commenti 1 reazione 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
5/5
Tempo stimato
Più di una settimana
Idoneità per principianti
35/100
Tipo di issue
Funzionalità
Chiarezza
Abbastanza chiara
Stato di attività
Attiva
Stack tecnologico
r

Direzione di ricerca

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.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

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.

Lingua principale
R
Stelle
675
Fork
118
Merge medio
1g 11h
PR unite (30g)
11

Preparare l'ambiente

Non abbiamo ancora controllato i file di configurazione di questo progetto. Parti dal suo README e consulta la nostra guida al primo contributo per i passaggi generali.

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di REditorSupport/languageserver

Tutte le issue di REditorSupport/languageserver

Issue simili

Altre issue su R

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.