External IDE (Sublime Text Editor or another)

Previous topic - Next topic

Hark0

Hi!


About http://www.sublimetext.com/ or another code editor's are avaliable for use with GLB?


On positive reply... how configure/parameters?

TIA, Hark0
;)

http://litiopixel.blogspot.com
litiopixel.blogspot.com - Desarrollo videojuegos Indie · Pixel-Art · Retroinformática · Electrónica Development Indie Videogames · Pixel-Art · Retrocomputing · Electronic

Moru

There was a few threads about that but can't seem to find them at the moment.

In general there is nothing stopping you just opening the gbas files in whatever editor you want, saving and switching to GLBasic to compile. However there was some problem involving GLBasic not using the changes to the files. Maybe that is fixed now? I haven't really tried it at all. I would love to learn to use the Sublime text editor. I have it installed at work but since I never have time to learn it, I can't use it effectively... and so I can't use it :-)

Slydog

I just checked out Sublime, and I like it.
I love the 'minimap' feature on the side!
GLBasic syntax colouring would be nice.
And, it does have a 'Build' feature, so configuring it with GLBasic's compiler would be awesome, if possible!

The bug with the compiler not picking up changed files seems to be working better lately. 
It was only checking the first 10 files or so in your project, but I'm not 100% sure if Gernot fixed that yet.

It would be nice to have a guide on how to configure other text editors to edit and compile GLBasic projects.
Include topics such as a KEYWORDS list, compiler location and parameters, etc.
Eventually we could have configurations available for the most popular editors.
(If it's even possible, that is!)
My current project (WIP) :: TwistedMaze <<  [Updated: 2015-11-25]

MrTAToad

#3
The problem with other IDEs  is that it would need to be able to handle XML project files and the batch file for compiling stuff...

Slydog

Dang, you're right!  Forgot about multiple project source files, plus all the other project settings!

At some point, does GLBasic IDE convert the project file into a 'make' file?
Maybe a button in GLBasic to build the make file for us would help?
We should only have to update this file when we change the project.

First 'build' converts the GLBasic code into C, then compiles the C into an executable?
I really have no idea how all this works behind the scene, so no point in me speculating.
My current project (WIP) :: TwistedMaze <<  [Updated: 2015-11-25]

Hark0

Quote from: Moru on 2012-Feb-10
There was a few threads about that but can't seem to find them at the moment.
Yes yes... I know ;-)

Quote
In general there is nothing stopping you just opening the gbas files in whatever editor you want, saving and switching to GLBasic to compile. However there was some problem involving GLBasic not using the changes to the files. Maybe that is fixed now? I haven't really tried it at all. I would love to learn to use the Sublime text editor. I have it installed at work but since I never have time to learn it, I can't use it effectively... and so I can't use it :-)

Yes, any text editor are avaliable for write gbas files... but, (and sorry me for GLB IDE developer) comparing features about our IDE vs othe IDE's... no color.

Like you I very interest in use Sublime with GLB.

;-)
http://litiopixel.blogspot.com
litiopixel.blogspot.com - Desarrollo videojuegos Indie · Pixel-Art · Retroinformática · Electrónica Development Indie Videogames · Pixel-Art · Retrocomputing · Electronic

Hark0

Quote from: Slydog on 2012-Feb-10
I just checked out Sublime, and I like it.
I love the 'minimap' feature on the side!
GLBasic syntax colouring would be nice.
And, it does have a 'Build' feature, so configuring it with GLBasic's compiler would be awesome, if possible!

The bug with the compiler not picking up changed files seems to be working better lately. 
It was only checking the first 10 files or so in your project, but I'm not 100% sure if Gernot fixed that yet.

It would be nice to have a guide on how to configure other text editors to edit and compile GLBasic projects.
Include topics such as a KEYWORDS list, compiler location and parameters, etc.
Eventually we could have configurations available for the most popular editors.
(If it's even possible, that is!)

+1
http://litiopixel.blogspot.com
litiopixel.blogspot.com - Desarrollo videojuegos Indie · Pixel-Art · Retroinformática · Electrónica Development Indie Videogames · Pixel-Art · Retrocomputing · Electronic

Hark0

Quote from: MrTAToad on 2012-Feb-10
The problem with other IDEs  is that it would need to be able to handle XML project files and the batch file for compiling stuff...

hmmmm "batch file" hmmmmm

:P
http://litiopixel.blogspot.com
litiopixel.blogspot.com - Desarrollo videojuegos Indie · Pixel-Art · Retroinformática · Electrónica Development Indie Videogames · Pixel-Art · Retrocomputing · Electronic

Hark0

Quote from: Slydog on 2012-Feb-10
Dang, you're right!  Forgot about multiple project source files, plus all the other project settings!

At some point, does GLBasic IDE convert the project file into a 'make' file?
Maybe a button in GLBasic to build the make file for us would help?
We should only have to update this file when we change the project.

First 'build' converts the GLBasic code into C, then compiles the C into an executable?
I really have no idea how all this works behind the scene, so no point in me speculating.

... maybe the second build are "standard" makefile depending of platform exe?
http://litiopixel.blogspot.com
litiopixel.blogspot.com - Desarrollo videojuegos Indie · Pixel-Art · Retroinformática · Electrónica Development Indie Videogames · Pixel-Art · Retrocomputing · Electronic

bigsofty

I suggested this as a way to get the GLB to handle all the nitty-gritty stuff of using an external IDE... http://www.glbasic.com/forum/index.php?topic=6429.0
Cheers,

Ian.

"It is practically impossible to teach good programming style to students that have had prior exposure to BASIC.  As potential programmers, they are mentally mutilated beyond hope of regeneration."
(E. W. Dijkstra)

Hark0

Quote from: bigsofty on 2012-Feb-11
I suggested this as a way to get the GLB to handle all the nitty-gritty stuff of using an external IDE... http://www.glbasic.com/forum/index.php?topic=6429.0

Thanks for this link!!!

=D
http://litiopixel.blogspot.com
litiopixel.blogspot.com - Desarrollo videojuegos Indie · Pixel-Art · Retroinformática · Electrónica Development Indie Videogames · Pixel-Art · Retrocomputing · Electronic

Hark0

Following the link posted by bigsofty Kitty Hello says:

Quote
I think it would have to be a console program like "glbasic.exe" that can do:
glbasic.exe /PLAT=WIN32 /DEBUG "path to gbap file"

Any plan for this in near future?
=D
http://litiopixel.blogspot.com
litiopixel.blogspot.com - Desarrollo videojuegos Indie · Pixel-Art · Retroinformática · Electrónica Development Indie Videogames · Pixel-Art · Retrocomputing · Electronic

MrTAToad

Should be easy enough for Gernot :)

Hark0

http://litiopixel.blogspot.com
litiopixel.blogspot.com - Desarrollo videojuegos Indie · Pixel-Art · Retroinformática · Electrónica Development Indie Videogames · Pixel-Art · Retrocomputing · Electronic

Kitty Hello

that's a pretty nice idea. There's a project that can read the glbasic gbap xml files, already. So I think we should write an GLBasic project that can do this.