You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
So my idea is to create a new tab in SQDev preferences called "commands colors" or something like that and there create a drop-down list with some common commands find here: https://community.bistudio.com/wiki/Category:Scripting_Commands_Arma_3
like getText, isEqualTo/==, setVariable, getVariable, sleep, isNull, isNil, nearestObjects...
I´ll simplify it grouping commands correlated to each other, like getText,getNumber,getArray... =,isEqualTo... isNil, isNull...
It would be something unic right now for SQF and I think it´s a good idea
The text was updated successfully, but these errors were encountered:
I really like the idea. The most problematic part of the suggested approach is the grouping of commands.
I'd say it'd be best if one was to create a few groups of commands that can be coloured individually. Every user then can do the following things
Enable/Disable every single group separately so that no one is forced to set the color of that group to the same as the keywords in order for them to look the same
Edit existing groups - The commands of every group should be freely selectable. If I feel like hint should be coloured in the same way as getNumber I should be able to add it to the respective group and if I don't want getString in that group (any more) I should be able to remove it
Create new groups from scratch so that the colouring can be fully customized.
Did I miss something?
So in order for this to be implemented properly the following things have to be done (that's just a checklist for myself):
Create new settings area for grouping commands and configuring their colour
Create UI frontend for the respective actions
Create some default groups
Install a KeywordScanner for every activated group on editor initialization
I´ve come with this idea when I was changing eclipse to a dark theme... I first realized that I needed to change the colors of the things in SQDev
This was the result: https://gyazo.com/e265b92dc32cfb580d2841115bb56603
Not bad but when your code is large enough it looks messy and it does because all the commands are recognized like keywords and the IDE colors them the same...
https://gyazo.com/3a7c67f386405f716a363e99267d0c6b (ignore the macro error)
So I tought why not doing it like this?: https://gyazo.com/e302466742cc9cf91a3cc998beeb6049
So my idea is to create a new tab in SQDev preferences called "commands colors" or something like that and there create a drop-down list with some common commands find here: https://community.bistudio.com/wiki/Category:Scripting_Commands_Arma_3
like getText, isEqualTo/==, setVariable, getVariable, sleep, isNull, isNil, nearestObjects...
I´ll simplify it grouping commands correlated to each other, like getText,getNumber,getArray... =,isEqualTo... isNil, isNull...
It would be something unic right now for SQF and I think it´s a good idea
The text was updated successfully, but these errors were encountered: