Coder Social home page Coder Social logo

emmy-love-api's People

Contributors

133794m3r avatar kindfulkirby avatar tangzx avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

emmy-love-api's Issues

Autocompletion not working.

Hi there. I'm trying to use Intellij IDEA as a code editor.

I was able to generate the api files but when I follow the instructions and put the api folder in my source folder it doesn't work, I have no autcompletion at all.

I'm on Windows 11 and using InteliJ IDEA Community Edition, in case that matters...

keypressed API not being generated.

The API love.keypressed isn't generated when using your script. I can only find references to the API in descriptions but not to the API itself thus it's not part of the api list.

I don't know why it's not generating it but it's currently not doing so for reasons beyond my comprehension.

Fix parent of class declaration.

For anyone who uses this script for latest love-api, the class declaration may have no parent.

if type.parenttype then
code = code .. ' : ' .. type.parenttype

Changing that line to this

if type.supertypes and type.supertypes[1] then
    code = code .. ' : ' .. type.supertypes[1]

fixes the problem.

According to EmmyLua, API files have warnings in them.

I just imported the API files into my game, and the autocomplete is working incredibly. This is a small problem, but love.audio, love.data, love.event, and love.filesystem have warnings in them. Here is one in love.audio.

image

How I can fix it? It doesn't affect the game but takes up space.

License

Hi,

is it possible to reuse and modify code from this repository? Right now there is no license and I wonder whether it is intentional and you do not want people to modify it.

(I would like to use it for docs generation of my lua libs.)

Setup with coc.nvim

I have coc.nvim working with lua, how do I add the love2d API libraries?

I've read the coc.nvim docs specifically how to add a custom library. But which files of emmy and this repo do I need to make it work?

Error when running genEmmyAPI

I encountered this error message when issuing the command "lua genEmmyAPI.lua":

lua: genEmmyAPI.lua:118: attempt to concatenate a nil value (field 'name')
stack traceback:
        genEmmyAPI.lua:118: in upvalue 'genModule'
        genEmmyAPI.lua:136: in local 'genModule'
        genEmmyAPI.lua:149: in main chunk
        [C]: in ?

although I followed exactly the steps in the README.
I'm currently on Windows 10 64bit.
Do you have any idea how to fix this?
Thanks in advance.

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.