I working on making a simple IDE for myself that has auto-completion and syntax highlighting for Gideros APIs (and Lua). I'd like to know if it is possible to launch the player via command line so that my IDE could run the player.
Is this the place to ask this type of question or should I be asking somewhere else?
Comments
I guess you can do it, some people mentioned that they use Visual Studio for Gideros projects.
btw did you check ZeroBrane Studio?
it's the most advanced Lua IDE, and it supports Gideros
"What one programmer can do in one month, two programmers can do in two months." - Fred Brooks
“The more you do coding stuff, the better you get at it.” - Aristotle (322 BC)
I wanted to create an IDE so I could see how to make one along with being able to add stuff that I like. ZeroBrane has auto-complete but large files seem to get unorganized because it doesn't highlight (or at least I didn't find a way to highlight things).
Here is a screen shot of my project so far, to get an idea of what I'm trying to do. Plus, its been a fun project.
I crawled the reference site to get all the information so I can display it to myself instead of having to look everything up- at least some things I won't have to look up.
(haven't gotten the highlighting working for the API's yet.)
Mainly, just an IDE, text editor really, for me. I'll be using Gideros Studio to debug, and set project settings and such, but I'll use my project for code writing.
https://www.sampenland.com/giddy_screenshot.png
Open of the main features I want to add is auto-complete and highlights for my own functions found in other files so I don't have to keep referring back to them to remember the order of parameters and other things like that.
C:\Program Files (x86)\Gideros\Tools>gdrbridge play C:\Users\spenl\Documents\my_project.gproj
* daemon not running. starting it now on port 15011 *
* daemon started successfully *
But nothing happened. Is there something else I must do?
Also, is there a way to launch it in debug mode? Say, I have Gideros Studio running and have set a breakpoint. Is it possible to launch the player from command line and have it stop on that breakpoint?
It's a large job to make your own IDE.. good luck!! I'd most likely contact @paulclinger who is the creator of ZBS (pretty sure about that) and see if he can shed any light on why the player does not launch every time on mac. He is a top notch guy and is always willing to improve ZBS to make it more Gideros friendly!
Also, I'll look into ZeroBrane studio's source and see what I can find.
Fragmenter - animated loop machine and IKONOMIKON - the memory game
gdrbridge.exe setip 127.0.0.1 12345
Launching Gideros Player
gdrbridge.exe play [my project full path and name with extension]
What am I forgetting? Also, what does "gdrbridge.exe isconnected" return? I know it returns 1 and 0 but what exactly does that mean? Also, when setting the IP, what exactly is that doing? I'm not sure what I should be setting it to.
Thanks in advanced!
Setting the IP is telling the bridge the IP of the Gideros Player (I think) so you set the IP to the player IP and port.
isconnected tells if the bridge is connected to the player after setting the IP.
Once I did that, I was able to play from the command line.
Thanks everyone!
Likes: antix