LuaLS / LuaLS/vscode-lua

Addon manager plugin support

Abierto
#112 0 comentarios 0 reacciones 0 asignados Ver en GitHub

Nadie ha tomado este issue todavía.

addon manager enhancement
Lenguaje dominante
TypeScript
Estrellas
215
Forks
62
Métricas de merge de PR
Sin PR fusionados en 30 d

Descripción

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.

Guía de contribución

No hay ninguna guía de contribución indexada para este repositorio

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.

Línea de trabajo

Comienza siguiendo cómo el addon manager gestiona el archivo plugin.lua descargado y revisa la documentación de LuaLS sobre la configuración runtime.plugin. Aclara los requisitos de aprobación y seguridad para habilitar un plugin instalado y, a continuación, define cómo se verificará la finalización sin ejecutar automáticamente código no revisado.

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

Evaluación

Stack tecnológico
lua, typescript, vscode
Área
security, tooling
Tipo de issue
Nueva funcionalidad
Dificultad
5/5
Tiempo estimado
Más de una semana
Estado de actividad
Estancado
Claridad
Necesita aclaración
Aptitud para principiantes
25/100

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.