Addon manager plugin support
Personne n'a encore pris cette issue.
- Langage dominant
- TypeScript
- Étoiles
- 215
- Forks
- 62
- Métriques de merge des PR
- Aucune PR mergée en 30 j
Description
Explain the feature
The Lua Language Server supports plugins that allow users to write custom Lua scripts that the language server will then run to output a modified file. As of right now, the addon manager will download the plugin.lua file, but it will not tell the server to use it. There should be some easy (and safe) way for users to enable a plugin that they have installed.
Are there any potential drawbacks from adding the feature?
There are some serious security concerns with downloading a script off the internet and running it automatically on the user's computer. While the addons being installed should be reviewed and trusted before being merged into LLS-addons, there is always the chance of something slipping through.
We could ask the user to review the code themselves before approving the request to enable it - but at the end of the day, the safest option will always be to not run code created by other users.
Guide de contribution
Aucun guide de contribution indexé pour ce dépôt
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 retracer la manière dont addon manager traite le fichier plugin.lua téléchargé et consultez la documentation de LuaLS sur le paramètre runtime.plugin. Clarifiez les exigences d’approbation et de sécurité pour activer un plugin installé, puis définissez comment l’achèvement sera vérifié sans exécuter automatiquement du code non vérifié.
Rédigé par le modèle d'indexation à partir du texte de l'issue.
Évaluation
- Stack technique
- lua, typescript, vscode
- Domaine
- security, tooling
- Type d'issue
- Fonctionnalité
- Difficulté
- 5/5
- Temps estimé
- Plus d'une semaine
- Activité
- À l'abandon
- Clarté
- À clarifier
- Accessibilité débutants
- 25/100