GithubHelp home page GithubHelp logo

maticzpl / lls-addons Goto Github PK

View Code? Open in Web Editor NEW

This project forked from luals/lls-addons

0.0 0.0 0.0 1.11 MB

Addons for use with Sumneko's Lua Language Server

Home Page: https://github.com/LuaLS/lua-language-server

License: MIT License

lls-addons's Introduction

Lua Language Server Addons

Addons count Contributors Enforces StyLua

Welcome to the repository of addons for the Lua Language Server by sumneko!

This repository is a highly collaborative project, with the community contributing addons through pull requests. The goal is to provide a central location where the community can collaborate on creating addons. Addons are added to this repository as a git submodule, allowing each project to have its own issues, pull requests, and fork-able repo - they can even live on GitLab. The addons in this repository can be fetched by the addon manager in the VS Code extension that communicates with the Lua Language Server in VS Code.

What is an Addon?

An addon, simply put, is something that extends the functionality of the Lua Language Server. An addon could, for example, include definitions for an API, and apply settings. Definition files are written in Lua using the Lua Language Server's LuaCATS annotation system.

What should be an Addon?

  • An addon for a popular library/framework.
  • Definitions for an API

What should NOT be an Addon?

  • Definitions for a personal project (use workspace.library).
  • Definitions for proprietary software.

Anatomy of an Addon

Here is an example of what an addon could look like:

๐Ÿ“‚ MySnazzyAddon/
    โ”œโ”€โ”€๐Ÿ“œ info.json
    โ””โ”€โ”€ ๐Ÿ“ module/
        โ”œโ”€โ”€ ๐Ÿ“ library/
        โ””โ”€โ”€ ๐Ÿ“œ config.lua

info.json

The info.json file contains some details about the addon such as the name and description. It also contains some additional metadata such as size and hasPlugin, but these values are generated automatically by the LLS-Addons-Action. This file is used by the addon manager to retrieve some data about each addon without having to install them all first.

module

The module folder is the submodule that contains the addon's definition files and config.json.

Get Involved

As already said, this is a very collaborative project, so anyone is welcome to help out! To get started, please review the contribution guidelines. Your contributions are greatly appreciated and will help to make this project a valuable resource for the Lua community โค๏ธ.

lls-addons's People

Contributors

carsakiller avatar josef-friedrich avatar goldenstein64 avatar serg3295 avatar frityet avatar luttje avatar bilal2453 avatar lukasbestle avatar martonlederer avatar ierdna100 avatar cassolette avatar leafx-code avatar maticzpl avatar lelouchhe avatar govnocodedbychapo avatar misohoza avatar fesily avatar cloudwindy avatar checkraisefold avatar b0mbie avatar wolf-64 avatar tozydev avatar youwereeatenbyalid avatar sylviettee avatar flrgh avatar fgaz avatar sparebola avatar bavalpey avatar demiurgequantified avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.