Giter VIP home page Giter VIP logo

Comments (7)

sumneko avatar sumneko commented on May 26, 2024

You may use EmmyLua for now.
image

from lua-language-server.

bryab avatar bryab commented on May 26, 2024

Is there a recommended method of "including" such files in your VS Code workspace? Or must you just have your "defintion file" somewhere in your workspace?

from lua-language-server.

Avril112113 avatar Avril112113 commented on May 26, 2024

What i have done is make a folder called api/ and then another folder named after what its defining
and then put lua files for there definitions

I created 2 python scripts to automate converting a webpage into bare lua files with Emmy's format for auto-completions ect

https://github.com/Dude112113/RobloxApi-Definitions-Emmy

just as a side note, this is what i have done, don't expect it to be how it should be done as that i do not know.

from lua-language-server.

bryab avatar bryab commented on May 26, 2024

Yes, I've done much the same myself. Havent put it on github yet but intend to.

Have you somehow managed to get function descriptions to show up? I use a format like this:

--- Opens a filename for seeking and playback
function preview:Open()end

But in VSCode I don't see that comment "Opens a filename..." etc when i begin to type "Open", as I would in other languages.

from lua-language-server.

Avril112113 avatar Avril112113 commented on May 26, 2024

Very good point, im currently using a different extension for the time being until this one has better support for EmmyLua...
i will create a suggestion for it.

from lua-language-server.

sumneko avatar sumneko commented on May 26, 2024

image
I think this may meet your needs.

from lua-language-server.

bryab avatar bryab commented on May 26, 2024

Wow, sounds great! Also, the English looks good to me...

from lua-language-server.

Related Issues (20)

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.