Customizing gambas
Posted: Monday 8th March 2021 12:39pm
Just curious to know if anyone else out there is modifying and have their unique flavour of gambas ?
Here's a list of patches/mods in my forks branch bruces-patched...
https://gitlab.com/bsteers4/gambas
* Makefile speedup: "make install" only installs mimetypes if not already installed.
Some systems pause for a while during install when installing mimetypes.
This skips all 3 mimetype installs if not needed.
(Does not skip on OpenSuse or Fedora as xdg-mime cannot determine filetypes as root on these systems)
* Show "Trunk version" on Welcome screen.
This displays the Trunk version (commit number) in the welcome screen.
Useful for those helping with gambas development branch.
* Enable Quote wrapping if Alt key is pressed.
This will wrap text in quotes (like braces) but only when presisng alt key.
(this simply unquotes Benoits original code he disabled but adds an "If Key.Alt" to the condition)
* Private Property auto-variable.
If you type Property MyText As String and press return in normal gambas it adds the MyText_Read() and MyText_Write() functions.
In my version you can also press the Alt key when pressing return and it will also add Private $sMyText As String and put $sMyText in the Read / Write functions.
* Added a "Keep Search box Open" checkbox to the search window in case you want it to not close on search.
* Added Bonus tweaks (developer options) page to preferences.
All this has at the moment is "Custom Controls", you can adds custom controls/components that will load with the IDE. this makes the controls render properly in the form designer instead of just showing a box with it's name.
To enable developer options you must repeatedly click the "Name" label on the "Identity" page. (a bit like repeatedly clicking "build version" on an android phone to enable developer mode)
This feature can be risky if your coding is not strong and could cause problems with your gambas IDE. use it at your own risk.
Here's a video of how i've got the Bonus Tweaks working like enabling developer mode on an Android phone..
Here's a list of patches/mods in my forks branch bruces-patched...
https://gitlab.com/bsteers4/gambas
* Makefile speedup: "make install" only installs mimetypes if not already installed.
Some systems pause for a while during install when installing mimetypes.
This skips all 3 mimetype installs if not needed.
(Does not skip on OpenSuse or Fedora as xdg-mime cannot determine filetypes as root on these systems)
* Show "Trunk version" on Welcome screen.
This displays the Trunk version (commit number) in the welcome screen.
Useful for those helping with gambas development branch.
* Enable Quote wrapping if Alt key is pressed.
This will wrap text in quotes (like braces) but only when presisng alt key.
(this simply unquotes Benoits original code he disabled but adds an "If Key.Alt" to the condition)
* Private Property auto-variable.
If you type Property MyText As String and press return in normal gambas it adds the MyText_Read() and MyText_Write() functions.
In my version you can also press the Alt key when pressing return and it will also add Private $sMyText As String and put $sMyText in the Read / Write functions.
* Added a "Keep Search box Open" checkbox to the search window in case you want it to not close on search.
* Added Bonus tweaks (developer options) page to preferences.
All this has at the moment is "Custom Controls", you can adds custom controls/components that will load with the IDE. this makes the controls render properly in the form designer instead of just showing a box with it's name.
To enable developer options you must repeatedly click the "Name" label on the "Identity" page. (a bit like repeatedly clicking "build version" on an android phone to enable developer mode)
This feature can be risky if your coding is not strong and could cause problems with your gambas IDE. use it at your own risk.
Here's a video of how i've got the Bonus Tweaks working like enabling developer mode on an Android phone..