I use Brackets.io for all of my Love2D development, and whilst having the documentation open on another monitor is fine, it's not ideal.
This is why I've created LÖVE Hints!
So far it's a simple autocomplete style thing, but thanks to the wonderful effort of those over at LOVE-API, I've been able to get in-depth documentation for every single function, callback, type, enum and module in the JSON format!
To install, just open up Brackets, hit the extensions button, and search for "love2d"!
After that, just typing in any .lua file will start hinting.
LÖVE Hints for Brackets.io
LÖVE Hints for Brackets.io
Last edited by Ruirize on Wed Aug 26, 2015 10:48 am, edited 1 time in total.
Re: LÖVE Hints for Brackets.io
Amazing work! This should come in handy, as I have decided to switch to brackets now (it looks better and does more than Sublime!). I'm also trying to build love from a framework manager extension, any ideas on how to do that?
Re: LÖVE Hints for Brackets.io
I'm currently running my LÖVE projects using "Command Line Shortcuts", and a small batch script to open up a console window and run the folder in LÖVE. It works quite well, I've got the hotkey set to CTRL+F5.
Re: LÖVE Hints for Brackets.io
Ah, I got that now.. Currently I'm trying:Ruirize wrote:I'm currently running my LÖVE projects using "Command Line Shortcuts", and a small batch script to open up a console window and run the folder in LÖVE. It works quite well, I've got the hotkey set to CTRL+F5.
Code: Select all
[
{
"name": "Build with LOVE2D",
"dir": "$PROJECT_ROOT",
"cmd": "love $PROJECT_ROOT",
"shortcut": "Ctrl-Alt-B",
"autohide": true
}
]
Re: LÖVE Hints for Brackets.io
You may need to put $PROJECT_ROOT in quotes. Other than that I don't know. Try setting autohide to false whilst you debug.TurtleP wrote:Ah, I got that now.. Currently I'm trying:Ruirize wrote:I'm currently running my LÖVE projects using "Command Line Shortcuts", and a small batch script to open up a console window and run the folder in LÖVE. It works quite well, I've got the hotkey set to CTRL+F5.
But it's not running the project. Any idea why?Code: Select all
[ { "name": "Build with LOVE2D", "dir": "$PROJECT_ROOT", "cmd": "love $PROJECT_ROOT", "shortcut": "Ctrl-Alt-B", "autohide": true } ]
Re: LÖVE Hints for Brackets.io
Hey everyone! I finally got around to adding in quick documentation, and now it looks like this:
Just open Brackets.io to update! To activate the new feature, just right-click a love.* member and click "Quick Docs".
Just open Brackets.io to update! To activate the new feature, just right-click a love.* member and click "Quick Docs".
Re: LÖVE Hints for Brackets.io
Nice! I tried brackets a while ago, but back then it was pretty barebones. It looks really cool now.
P.S.: If you find any mistakes in the API please report them
P.S.: If you find any mistakes in the API please report them
Re: LÖVE Hints for Brackets.io
God! Brackets is such a nice editor! Feels so nice to use it. I guess I will use it to edit my code, and ZeroBrane Studio to debug it. It's so good looking and easy to use.
Re: LÖVE Hints for Brackets.io
I wonder how possible it'd be to get debugging support in Brackets. I imagine it'd be very difficult.Zarty55 wrote:God! Brackets is such a nice editor! Feels so nice to use it. I guess I will use it to edit my code, and ZeroBrane Studio to debug it. It's so good looking and easy to use.
Will do! So far I've really liked it.rmcode wrote:Nice! I tried brackets a while ago, but back then it was pretty barebones. It looks really cool now.
P.S.: If you find any mistakes in the API please report them
Who is online
Users browsing this forum: Bing [Bot] and 6 guests