Page 1 of 2
Setting up Eclipse for <3 love <3
Posted: Mon Jul 16, 2012 7:51 pm
by IndieMedia
After several hours of fiddling I got eclipse "juno" on ubuntu to run my game without me fiddling in commandline.
Assuming you already have Eclipse installed
Step one: Open Market place and search for lua.
Step two: Find and click the install button for Lua Development tools (Koneki)
Step three: after installation create a new Lua project.
Step four: click the down arrow next to the Green run button with the red tool box.
Step five: Right click program and click new.
Step six: Name the new config love (or your current project name) then browse the file system looking for the love file for me this was /usr/bin/love
Step seven: under arguments add this: ${workspace_loc:/YOURPROJECT/src}
Please replace YOURPROJECT with your projects name
Step eight: click apply and then run
There will be more efficent methods but this is how I did it anyways, Im a java developer so Im used to eclipse.
Re: Setting up Eclipse for <3 love <3
Posted: Mon Jul 16, 2012 8:39 pm
by kruegsch
I just updated the luadoc to v0.8.0 for LDT. Get the .zip and add it as external lib to your project to get documentation and auto-completion.
https://github.com/mkosler/LOVELuaDoc
Re: Setting up Eclipse for <3 love <3
Posted: Tue Jul 17, 2012 12:04 am
by IndieMedia
Windows is the same thing.... exept where love is located e.g. C:\Program Files (x86)\LOVE\love.exe
and project path seems to work too. so you can do ${project_loc}/src
In windows eclipse auto-matily outputs the console into the eclipse run console
Re: Setting up Eclipse for <3 love <3
Posted: Tue Jul 17, 2012 11:00 am
by IndieMedia
kruegsch wrote:I just updated the luadoc to v0.8.0 for LDT. Get the .zip and add it as external lib to your project to get documentation and auto-completion.
https://github.com/mkosler/LOVELuaDoc
Hmm Cant seem it get that to work....
Re: Setting up Eclipse for <3 love <3
Posted: Tue Jul 17, 2012 4:31 pm
by kruegsch
IndieMedia wrote:kruegsch wrote:I just updated the luadoc to v0.8.0 for LDT. Get the .zip and add it as external lib to your project to get documentation and auto-completion.
https://github.com/mkosler/LOVELuaDoc
Hmm Cant seem it get that to work....
The files need to be in the root level of the zip, but github delivers the files in a directory. Just re-zip the files only or use the fixed zip in my attachment.
I made a fresh install on my windows machine and took some pictures of the procedures.
"README.txt" in "love2D_LDT_setup.zip"
Code: Select all
.:: Koneki LDT ::.
Use the Eclipse Marketplace to install Koneki LDT [ldt1.png - ldt8.png]
.:: LÖVE API documentation ::.
1. get zip file: https://github.com/mkosler/LOVELuaDoc/zipball/master
2. unzip "mkosler-LOVELuaDoc-fd3cc55.zip" --> folder "mkosler-LOVELuaDoc-fd3cc55"
3. select all files in "mkosler-LOVELuaDoc-fd3cc55" and create a new zip
4. add the new zip as file to your project (drag'n'drop)
5. use it as library [ldt9.png]
6. have fun with luadoc![ldt10.png]
DATE: July-17-2012
Re: Setting up Eclipse for <3 love <3
Posted: Tue Feb 05, 2013 1:05 am
by teenaviator
kruegsch wrote:IndieMedia wrote:kruegsch wrote:I just updated the luadoc to v0.8.0 for LDT. Get the .zip and add it as external lib to your project to get documentation and auto-completion.
https://github.com/mkosler/LOVELuaDoc
Hmm Cant seem it get that to work....
The files need to be in the root level of the zip, but github delivers the files in a directory. Just re-zip the files only or use the fixed zip in my attachment.
I made a fresh install on my windows machine and took some pictures of the procedures.
"README.txt" in "love2D_LDT_setup.zip"
Code: Select all
.:: Koneki LDT ::.
Use the Eclipse Marketplace to install Koneki LDT [ldt1.png - ldt8.png]
.:: LÖVE API documentation ::.
1. get zip file: https://github.com/mkosler/LOVELuaDoc/zipball/master
2. unzip "mkosler-LOVELuaDoc-fd3cc55.zip" --> folder "mkosler-LOVELuaDoc-fd3cc55"
3. select all files in "mkosler-LOVELuaDoc-fd3cc55" and create a new zip
4. add the new zip as file to your project (drag'n'drop)
5. use it as library [ldt9.png]
6. have fun with luadoc![ldt10.png]
DATE: July-17-2012
This doesn't work for me at all. I'm using Eclipse Juno and the current latest version of LDT. I used it as a library and restarted Eclipse. Then I did the same thing like five times after that with no results. I did try to put the LuaDoc files into my /src/ folder and I got the code completion when it was in there, but once I removed it from that directory, it didn't work again! Could you give me some light on the matter please, make a video or something even, please?
Re: Setting up Eclipse for <3 love <3
Posted: Tue Feb 05, 2013 1:38 am
by teenaviator
I sorted it out. I tried removing the Lua 5.1 linked library from the build path and then re-added the LuaDoc. I think it was a conflict between the previous definitions of Lua's API and the LÖVE LuaDoc's definitions.
Re: Setting up Eclipse for <3 love <3
Posted: Thu May 23, 2013 10:52 am
by demicanadian
It look like it needs to be over Lua api in "order and export" tab.
Re: Setting up Eclipse for <3 love <3
Posted: Wed Jun 05, 2013 6:11 pm
by Plu
Sweet! Eclipse with love docs is such an improvement over notepad++
Re: Setting up Eclipse for <3 love <3
Posted: Mon Mar 17, 2014 9:59 pm
by peachoftree
IndieMedia wrote:
Step seven: under arguments add this: ${workspace_loc:/YOURPROJECT/src}
Please replace YOURPROJECT with your projects name
There will be more efficent methods but this is how I did it anyways, Im a java developer so Im used to eclipse.
if you put ${workspace_loc:/${project_name:/src}} in arguments it will run on any project, not just one