Alpha version of BLIde a free IDE

BlitzMax Forums/BlitzMax Programming/Alpha version of BLIde a free IDE

The forum is locked. These are the original blitzbasic.com forums, kept so they can still be read. No new topics, replies or edits can be made here. To join in, head over to the Blitz3D+ forums.

I've tried it and it is great. The only thing that disturb my impression, was the fact, that the highligthning works only for a few basic functions. So I've written a bit of code that extracts the function names and creates a new "STDKEYWORDS.TXT".

I know its not big stuff but it would probably help some people.

Rem 
This code extract the Function names from Bmax 
and creates a new "STDKEYWORDS.TXT" to
add full highlightning in BLIde
End REM 



' change the path to your Blitzmax path
Commandfile_max$ = Requestdir("please choose your BMAX main folder","C:\Blitzmax")
	
' change this to your Blide path 					
Commandfile_new$ = requestdir("please choose your Blide main folder","D:\Programme\The Factory.ws\BLIde")	

'
open_max = readfile(Commandfile_max$+"\doc\bmxmods\commands.txt")
open = createfile(Commandfile_new$+"\STDKEYWORDS.TXT")
open_new = openfile(Commandfile_new$+"\STDKEYWORDS.TXT")
While Not Eof(open_max)
file:String = Readline(open_max)
n = (file.length - file.findlast("#"))-1
com$ = Right(file,n)
if com$ <> "()" then writeline(open_new,com$)
Wend

Closestream(open_max)
Closestream(open_new)

[edit:] Now opens a folder dialog to choose your folders