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.
Setting up Eclipse for <3 love <3
Forum rules
Before you make a thread asking for help, read this.
Before you make a thread asking for help, read this.
Re: Setting up Eclipse for <3 love <3
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
https://github.com/mkosler/LOVELuaDoc
- IndieMedia
- Prole
- Posts: 7
- Joined: Sun Jul 01, 2012 2:12 pm
Re: Setting up Eclipse for <3 love <3
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
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
- IndieMedia
- Prole
- Posts: 7
- Joined: Sun Jul 01, 2012 2:12 pm
Re: Setting up Eclipse for <3 love <3
Hmm Cant seem it get that to work....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
Re: Setting up Eclipse for <3 love <3
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.IndieMedia wrote:Hmm Cant seem it get that to work....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
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
- Attachments
-
- mkosler-LOVELuaDoc-fd3cc55.zip
- ready to use zip - love2Dv0.8.0 API docs for LDT
- (38.45 KiB) Downloaded 404 times
-
- love2D_LDT_setup.zip
- pictures of a fresh install
- (109 KiB) Downloaded 431 times
-
- Prole
- Posts: 2
- Joined: Tue Mar 20, 2012 10:07 pm
Re: Setting up Eclipse for <3 love <3
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?kruegsch wrote: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.IndieMedia wrote:Hmm Cant seem it get that to work....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
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
-
- Prole
- Posts: 2
- Joined: Tue Mar 20, 2012 10:07 pm
Re: Setting up Eclipse for <3 love <3
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.
-
- Prole
- Posts: 1
- Joined: Thu May 23, 2013 10:48 am
Re: Setting up Eclipse for <3 love <3
It look like it needs to be over Lua api in "order and export" tab.
Re: Setting up Eclipse for <3 love <3
Sweet! Eclipse with love docs is such an improvement over notepad++
-
- Prole
- Posts: 1
- Joined: Mon Mar 17, 2014 9:53 pm
Re: Setting up Eclipse for <3 love <3
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
Who is online
Users browsing this forum: Bing [Bot], Semrush [Bot] and 9 guests