processing / processing/processing4
Improvements and Next Steps for the Processing Language Server (LSP)
Personne n'a encore pris cette issue.
- Langage dominant
- Java
- Étoiles
- 494
- Forks
- 183
- Merge moyen
- 4 h 39 min
- PR mergées (30 j)
- 3
Description
We’re revisiting the Processing Language Server with the goal of improving support for writing and editing Processing code outside the PDE.
Background
Several contributors have laid important groundwork for this effort:
- Initial work by @kgtkr was incorporated for Processing 4.1. They also built a minimal Processing LSP client for VSCode.
- Further work by @efratror was included in Processing 4.3 (see https://github.com/processing/processing4/issues/678 and https://github.com/processing/processing4/issues/690)
- As part of the
pr05grant in 2024, @diyaayay worked on another VS Code extension though it did not make use of the built-in LSP.
Proposed Improvements
We’d like to improve and extend the current functionality of the built-in LSP. Priorities are:
- Display parameter names in function signatures (e.g.,
copy(sx, sy, sw, sh, dx, dy, dw, dh)) should show named parameters - "Go to declaration" for built-in functions and classes (linking to Processing source code when possible)
- Hover documentation for built-in functions and core classes
- Support for overloaded functions (e.g.,
colorMode(mode),colorMode(mode, max),colorMode(mode, max1, max2, max3))
If you're interested in contributing or discussing further, feel free to comment here.
Thanks again to everyone who has contributed to this work so far!
Guide de contribution
Ouvrir le guide de contribution
Par où commencer
- Lisez l'issue en entier, puis le guide de contribution du projet.
- Signalez en commentaire que vous la prenez — cela évite que deux personnes fassent le même travail.
- Forkez le dépôt et travaillez sur une branche.
- Ouvrez une pull request qui référence le numéro de l'issue.
Piste de recherche
Commencez par examiner le Processing Language Server intégré actuel et les travaux précédents liés dans cet issue, notamment les issues 564, 678 et 690. Comparez son comportement aux priorités listées, puis définissez une contribution ciblée dont l'achèvement peut être vérifié à l'aide d'une capacité LSP spécifique.
Rédigé par le modèle d'indexation à partir du texte de l'issue.
Évaluation
- Stack technique
- java
- Domaine
- devtools
- Type d'issue
- Fonctionnalité
- Difficulté
- 5/5
- Temps estimé
- Plus d'une semaine
- Activité
- À l'abandon
- Clarté
- À clarifier
- Accessibilité débutants
- 32/100