VisualFBEditor - IDE for FreeBasic

User projects written in or related to FreeBASIC.
Post Reply
fan2006
Posts: 2
Joined: Jun 07, 2020 3:05

Re: VisualFBEditor - IDE for FreeBasic

Post by fan2006 »

good timing and thx for your excellent work.
PeterHu
Posts: 160
Joined: Jul 24, 2022 4:57

Re: VisualFBEditor - IDE for FreeBasic

Post by PeterHu »

Just found raylib and its examples has been supported directly in mff and the IDE,amazing and thank you!Talking about the examples/demos,serial port,audio,video,graphics,dbs,webviews,charts,downloads...WOW,all are there!!!Maybe multi-threads,(de)compression,de/encrptions,regex,and some advanced/complicated features regarding GUI controls?---->This is not a request,just a casual talk.Thank you so much again.


btw,not specific to mff and/or IDE, may I ask is there any kind of serialization/deserialization implementation in fb ?

【edit】Found the vfbeditor version from the most recent built is not correct.Last version no. is 1.3.6.1655 which was built last week,but the vesion no. built today is 1.3.6.1654.
Xusinboy Bekchanov
Posts: 791
Joined: Jul 26, 2018 18:28

Re: VisualFBEditor - IDE for FreeBasic

Post by Xusinboy Bekchanov »

PeterHu wrote: Jan 16, 2024 1:41 Just found raylib and its examples has been supported directly in mff and the IDE,amazing and thank you!
Thanks to Avata from this forum, this template was added.
PeterHu wrote: Jan 16, 2024 1:41 Talking about the examples/demos,serial port,audio,video,graphics,dbs,webviews,charts,downloads...WOW,all are there!!!
Yes.
PeterHu wrote: Jan 16, 2024 1:41 Maybe multi-threads,(de)compression,de/encrptions,regex,and some advanced/complicated features regarding GUI controls?---->This is not a request,just a casual talk.Thank you so much again.

btw,not specific to mff and/or IDE, may I ask is there any kind of serialization/deserialization implementation in fb ?
There are no such things yet. The IDE source code uses multithreading, you can look there.
PeterHu wrote: Jan 16, 2024 1:41 【edit】Found the vfbeditor version from the most recent built is not correct.Last version no. is 1.3.6.1655 which was built last week,but the vesion no. built today is 1.3.6.1654.
We do not update the project file and resource file. Therefore the build number does not change. Maybe in the previous one you compiled for the second time using the IDE, then it increased for you.
PeterHu
Posts: 160
Joined: Jul 24, 2022 4:57

Re: VisualFBEditor - IDE for FreeBasic

Post by PeterHu »

Xusinboy Bekchanov wrote: Jan 17, 2024 1:49
PeterHu wrote: Jan 16, 2024 1:41 Just found raylib and its examples has been supported directly in mff and the IDE,amazing and thank you!
Thanks to Avata from this forum, this template was added.
PeterHu wrote: Jan 16, 2024 1:41 Talking about the examples/demos,serial port,audio,video,graphics,dbs,webviews,charts,downloads...WOW,all are there!!!
Yes.
PeterHu wrote: Jan 16, 2024 1:41 Maybe multi-threads,(de)compression,de/encrptions,regex,and some advanced/complicated features regarding GUI controls?---->This is not a request,just a casual talk.Thank you so much again.

btw,not specific to mff and/or IDE, may I ask is there any kind of serialization/deserialization implementation in fb ?
There are no such things yet. The IDE source code uses multithreading, you can look there.
PeterHu wrote: Jan 16, 2024 1:41 【edit】Found the vfbeditor version from the most recent built is not correct.Last version no. is 1.3.6.1655 which was built last week,but the vesion no. built today is 1.3.6.1654.
We do not update the project file and resource file. Therefore the build number does not change. Maybe in the previous one you compiled for the second time using the IDE, then it increased for you.
Yes,you are right.Thank you.
PeterHu
Posts: 160
Joined: Jul 24, 2022 4:57

Re: VisualFBEditor - IDE for FreeBasic

Post by PeterHu »

Does the IDE support dark mode,if yes,how? I mean the whole IDE,not the source editor only.Thank you.
Xusinboy Bekchanov
Posts: 791
Joined: Jul 26, 2018 18:28

Re: VisualFBEditor - IDE for FreeBasic

Post by Xusinboy Bekchanov »

PeterHu wrote: Jan 19, 2024 6:56 Does the IDE support dark mode,if yes,how? I mean the whole IDE,not the source editor only.Thank you.
Yes, the IDE supports dark mode, to do this you need to go to Service -> Options -> Themes -> Dark Mode
PeterHu
Posts: 160
Joined: Jul 24, 2022 4:57

Re: VisualFBEditor - IDE for FreeBasic

Post by PeterHu »

Xusinboy Bekchanov wrote: Jan 19, 2024 14:58
PeterHu wrote: Jan 19, 2024 6:56 Does the IDE support dark mode,if yes,how? I mean the whole IDE,not the source editor only.Thank you.
Yes, the IDE supports dark mode, to do this you need to go to Service -> Options -> Themes -> Dark Mode
Yes,I did exactly as you figured out,but only the source editor is in dark mode.I don't know why.
Xusinboy Bekchanov
Posts: 791
Joined: Jul 26, 2018 18:28

Re: VisualFBEditor - IDE for FreeBasic

Post by Xusinboy Bekchanov »

PeterHu wrote: Jan 20, 2024 0:03 Yes,I did exactly as you figured out,but only the source editor is in dark mode.I don't know why.
This requires Windows 10 or higher, what system do you have?
PeterHu
Posts: 160
Joined: Jul 24, 2022 4:57

Re: VisualFBEditor - IDE for FreeBasic

Post by PeterHu »

Xusinboy Bekchanov wrote: Jan 20, 2024 0:52
PeterHu wrote: Jan 20, 2024 0:03 Yes,I did exactly as you figured out,but only the source editor is in dark mode.I don't know why.
This requires Windows 10 or higher, what system do you have?
Yes,win10 64 bit
Xusinboy Bekchanov
Posts: 791
Joined: Jul 26, 2018 18:28

Re: VisualFBEditor - IDE for FreeBasic

Post by Xusinboy Bekchanov »

PeterHu wrote: Jan 20, 2024 7:56
Xusinboy Bekchanov wrote: Jan 20, 2024 0:52
PeterHu wrote: Jan 20, 2024 0:03 Yes,I did exactly as you figured out,but only the source editor is in dark mode.I don't know why.
This requires Windows 10 or higher, what system do you have?
Yes,win10 64 bit
Starting with Windows 10 October 2018 Update (version 1809), Microsoft added support for dark mode in File Explorer.

What version of Windows 10 do you have?
PeterHu
Posts: 160
Joined: Jul 24, 2022 4:57

Re: VisualFBEditor - IDE for FreeBasic

Post by PeterHu »

Xusinboy Bekchanov wrote: Jan 21, 2024 1:26
PeterHu wrote: Jan 20, 2024 7:56
Xusinboy Bekchanov wrote: Jan 20, 2024 0:52
This requires Windows 10 or higher, what system do you have?
Yes,win10 64 bit
Starting with Windows 10 October 2018 Update (version 1809), Microsoft added support for dark mode in File Explorer.

What version of Windows 10 do you have?
ah,this could be the reason,mine is V.1607
PeterHu
Posts: 160
Joined: Jul 24, 2022 4:57

Re: VisualFBEditor - IDE for FreeBasic

Post by PeterHu »

I have a couple of feedbacks:
1. Optional terminal.For example,I would like to use Cmder the like which can handle console Chinese font display better,but the IDE seems works random,by random I mean when I try to run the compiled program in the source editor,by press F5,this time the Cmder pops up and the pragram runs well in it,but next time the Cmder just pops up but the default directory is “C:\Users\Administrator” and with the leading information "The directory name is invalid."

BTW,what's your preferable terminal integrated in the IDE?which should handle characters like Chinese font correctly.I don't want to configure the console code page from time to time.

2.The source editor---the 'tooltips at top' or 'auto suggestion' I don't know which one should I call,just the function argument list tips.I notice that when I am typing the first argument and it is not finishing yet,I have not enter a comma yet,the tip has already jumped to the next one.

3. Service-Tools/Add-Ins:I tried to add a couple of tool just to test,noticed it is easy to leading the IDE crash.

These are not day to day use ,just take your time to take a look them.

Thanks and best regards,
Xusinboy Bekchanov
Posts: 791
Joined: Jul 26, 2018 18:28

Re: VisualFBEditor - IDE for FreeBasic

Post by Xusinboy Bekchanov »

PeterHu wrote: Jan 29, 2024 15:05 I have a couple of feedbacks:
1. Optional terminal.For example,I would like to use Cmder the like which can handle console Chinese font display better,but the IDE seems works random,by random I mean when I try to run the compiled program in the source editor,by press F5,this time the Cmder pops up and the pragram runs well in it,but next time the Cmder just pops up but the default directory is “C:\Users\Administrator” and with the leading information "The directory name is invalid."
Show me the compilation and run output. For example, my IDE always correctly inserts the working directory:

Code: Select all

21:50:07: Compilation: "D:\GitHub\VisualFBEditor\Compilers\FreeBASIC-1.10.0-winlibs-gcc-9.3.0\fbc32.exe"  -b "Untitled.bas" -v -exx -i "D:\GitHub\VisualFBEditor\Controls\MariaDBBox" -p "D:\GitHub\VisualFBEditor\Controls\MariaDBBox" -i "D:\GitHub\VisualFBEditor\Controls\MyFbFramework" -p "D:\GitHub\VisualFBEditor\Controls\MyFbFramework\lib/win-x86" -i "D:\GitHub\VisualFBEditor\Controls\ScintillaControl" -p "D:\GitHub\VisualFBEditor\Controls\ScintillaControl" -i "D:\GitHub\VisualFBEditor\Controls\SQLite3" -p "D:\GitHub\VisualFBEditor\Controls\SQLite3" -i ".\Controls\MyFbFramework\inc" -p ".\Controls\MyFbFramework\Lib" -d _DebugWindow_=66914

21:50:07: FreeBASIC Compiler - Version 1.10.0 (2023-05-14), built for win32 (32bit) 
21:50:07: Copyright (C) 2004-2023 The FreeBASIC development team. 
21:50:07: standalone 
21:50:07: target :       win32, 686, 32bit
21:50:07: backend :      gas
21:50:07: compiling :    Untitled.bas -o Untitled.asm (main module)
21:50:09: assembling :   D:\GitHub\VisualFBEditor\Compilers\FreeBASIC-1.10.0-winlibs-gcc-9.3.0\bin\win32\as.exe --32 --strip-local-absolute "Untitled.asm" -o "Untitled.o"
21:50:10: compiling rc :               D:\GitHub\VisualFBEditor\Compilers\FreeBASIC-1.10.0-winlibs-gcc-9.3.0\bin\win32\GoRC.exe /ni /nw /o /fo "Form1.obj" "Form1.rc"
21:50:10: linking :      D:\GitHub\VisualFBEditor\Compilers\FreeBASIC-1.10.0-winlibs-gcc-9.3.0\bin\win32\ld.exe -m i386pe -o "Untitled.exe" -subsystem console -T "D:\GitHub\VisualFBEditor\Compilers\FreeBASIC-1.10.0-winlibs-gcc-9.3.0\lib\win32\fbextra.x" --stack 1048576,1048576 -s -L "D:\GitHub\VisualFBEditor\Controls\MariaDBBox" -L "D:\GitHub\VisualFBEditor\Controls\MyFbFramework\lib/win-x86" -L "D:\GitHub\VisualFBEditor\Controls\ScintillaControl" -L "D:\GitHub\VisualFBEditor\Controls\SQLite3" -L ".\Controls\MyFbFramework\Lib" -L "D:\GitHub\VisualFBEditor\Compilers\FreeBASIC-1.10.0-winlibs-gcc-9.3.0\lib\win32" -L "." "D:\GitHub\VisualFBEditor\Compilers\FreeBASIC-1.10.0-winlibs-gcc-9.3.0\lib\win32\crt2.o" "D:\GitHub\VisualFBEditor\Compilers\FreeBASIC-1.10.0-winlibs-gcc-9.3.0\lib\win32\crtbegin.o" "D:\GitHub\VisualFBEditor\Compilers\FreeBASIC-1.10.0-winlibs-gcc-9.3.0\lib\win32\fbrt0.o" "Untitled.o" "Form1.obj" "-(" -lkernel32 -lgdi32 -lmsimg32 -luser32 -lversion -ladvapi32 -limm32 -lcomctl32 -lcomdlg32 -luuid -lole32 -loleaut32 -liphlpapi -lrasapi32 -lws2_32 -lshlwapi -lshell32 -lddraw -ldxguid -lgdiplus -luxtheme -lfbmt -lgcc -lmsvcrt -lmingw32 -lmingwex -lmoldname -lgcc_eh "-)" "D:\GitHub\VisualFBEditor\Compilers\FreeBASIC-1.10.0-winlibs-gcc-9.3.0\lib\win32\crtend.o"

21:50:10: Layout succeeded! Elapsed Time: 2,65 Seconds
21:50:10: Run: "cmd.exe" /K "cd /D "D:\GitHub\VisualFBEditor\Projects\" & "D:\GitHub\VisualFBEditor\Projects\Untitled.exe""  ...
PeterHu wrote: Jan 29, 2024 15:05 BTW,what's your preferable terminal integrated in the IDE?
My default is Standard Windows Console.
PeterHu wrote: Jan 29, 2024 15:05 which should handle characters like Chinese font correctly.I don't want to configure the console code page from time to time.
Is this what you mean?

Code: Select all

Shell "chcp 936"
?"Test 1 主要信息", "标题"
Sleep
Here, using the shell, the terminal code page is always configured when the program is launched.
PeterHu wrote: Jan 29, 2024 15:05 2.The source editor---the 'tooltips at top' or 'auto suggestion' I don't know which one should I call,just the function argument list tips.
Tooltips at top - Tooltips are shown not at the bottom, but at the top.
Auto suggestions - If the file is unsaved, the IDE gives advice or shows errors.
PeterHu wrote: Jan 29, 2024 15:05 I notice that when I am typing the first argument and it is not finishing yet,I have not enter a comma yet,the tip has already jumped to the next one.
Show an example of this function (Which the IDE does not handle correctly).
PeterHu wrote: Jan 29, 2024 15:05 3. Service-Tools/Add-Ins:I tried to add a couple of tool just to test,noticed it is easy to leading the IDE crash.

These are not day to day use ,just take your time to take a look them.

Thanks and best regards,
At what stage: when opening this tool or when adding it?
PeterHu
Posts: 160
Joined: Jul 24, 2022 4:57

Re: VisualFBEditor - IDE for FreeBasic

Post by PeterHu »

I will find a way to upload screenshots for your easy reference.
PeterHu
Posts: 160
Joined: Jul 24, 2022 4:57

Re: VisualFBEditor - IDE for FreeBasic

Post by PeterHu »

And,how to use debug in the IDE?is it simple and straightforward?I tried,Toggle the breadkpoints,Use debugger,Step into (F8) etc. and led to another crash...
Post Reply