emmylua / emmy-love-api Goto Github PK
View Code? Open in Web Editor NEWLÖVE2D API
LÖVE2D API
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...
Emmylua 在intellij 上很好用,但不支持love的自动补全。 你这个怎么安装到 emmylua上面啊?
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.
For anyone who uses this script for latest love-api, the class declaration may have no parent.
Lines 74 to 75 in f9b1855
Changing that line to this
if type.supertypes and type.supertypes[1] then
code = code .. ' : ' .. type.supertypes[1]
fixes the problem.
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.)
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?
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.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.