Support pluggable linting and formatting backends
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
- Ambito
- backend-api-design, tooling
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
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di REditorSupport/languageserver
-
Difficoltà 4/5 3-5 giorni Idoneità per principianti 55/100
REditorSupport/languageserver#735 · 2 commenti ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 4/5 3-5 giorni Idoneità per principianti 45/100
REditorSupport/languageserver#731 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 4/5 3-5 giorni Idoneità per principianti 52/100
REditorSupport/languageserver#730 ·
I maintainer di solito rispondono entro 1 giorno
-
bug
Difficoltà 3/5 1-2 giorni Idoneità per principianti 65/100
REditorSupport/languageserver#771 · 3 commenti ·
I maintainer di solito rispondono entro 1 giorno
-
bug
Difficoltà 3/5 1-2 giorni Idoneità per principianti 65/100
REditorSupport/languageserver#772 · 6 commenti ·
I maintainer di solito rispondono entro 1 giorno
Tutte le issue di REditorSupport/languageserver
Issue simili
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 75/100
ImperialCollegeLondon/ve_data_science#666 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
-
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 90/100
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 88/100
-
bug
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 95/100
tidymodels/textrecipes#332 ·