|
Post by Roger Cabo on Feb 24, 2024 12:46:54 GMT 1
Does anyone know if gb32 has the ability to add gb32 code to itself inside a lib, so it would be possible to add refactoring to? I need a pop-up window to add some information in the interpreter window.
My idea is to add a database with vars, types, functions, procs, at every start of the refactoring process and display the results in an small overlay window. Then save the result into a different .g32 code and test. And to display errors during the changes..
Thanks!
|
|
|
Post by Roger Cabo on Feb 24, 2024 15:04:58 GMT 1
1) Does anyone know what the Interpreter APP key is?
2) Another important use case question: I want to solve refactoring by clicking a variable or function name by (CTRL || ALT) + right click
Generally is there a way to act on (CTRL || ALT) + right, without adding code to the current source code in interpreter?
3) how it should work:
Note: It's important to recognize the previous variable type that wants to be edited and refactorized. I will find a solution for this..
* Selecting a variable or etc. by CTRL+RButton * Explore the code && if okay then ------------------------------------------------ * Ask for refactoring the code in case of the new variable name if it not exist
* Compiling the code to checkup * Compare and vars/funcs for duplicated behaviors * Create a copy of the source code * Resubing all existing vars/fuc with the new varname * Compile new code
Should there be any behavior that prevent this from working?
Thank you..
|
|
|
Post by (X) on Feb 24, 2024 16:28:52 GMT 1
HOW? Gfa_ commands stuffed into your very own GLL Editor Extension.
Here is the APP key...
For 'refactoring' utility, I believe there is a Gfa_ related solution in the help documentation...
To get a 'fancy' pop-up may require opening a window from your GLL and managing its system messages to interact with it and the controls you put in it. I looked into this some time ago, but, I did not work anything out yet.
|
|