@atilim, in most IDEs it is very easy to find definitions and references to variables, classes etc. Obviously, because of the dynamic nature of Lua this is somewhat harder but something that would go a long way towards helping out (and would be easy to add, I think) would be a right click context menu in the editor to do a "Find in Files" of the currently selected text.
That way, if I want to find where a particular variable (field) or class is defined/referenced in my project I can simply double click over the item and then right-click and choose "Find in Files". I find I'm doing this a lot right now using the Edit menu item but this isn't ideal because one has to type in the text to find and choose the options first.
best regards
Comments
double click -> ctrl + c ->ctrl + shift + f -> ctrl + v ->enter
if I can do it as, double click -> ctrl + shift + f -> enter, it will make me happy,and implement this will not take @atilim more than one minute.
https://sites.google.com/site/xraystudiogame
Although I'd still quite like the operation on the context menu too if possible because that would avoid having to switch from mouse to kbd.
Best regards
I'm used to some other editors like Notepad++, and UltraEdit, they paste the selected text into the find or replace dialog automatically, some also have a context menu option.
I also miss the replace in files
https://sites.google.com/site/xraystudiogame
The new version is top : https://github.com/pkulchenko/ZeroBraneStudio.git
best regards
@paulclinger yay!
-Gideros Studio is the name of IDE as far as i know
Atilim Said : http://www.giderosmobile.com/forum/discussion/comment/22230#Comment_22230
See the attached screenshot, when using on a 14" 3200x1800 pixel Razer Blade.
Menu text scales, but the toolbar icons are way too small, and the buttons and lists are messed up.
This probably doe snot affect too many users (yet), but as HPPI screens become more popular, supporting the standard Windows screen scaling would be good.
Likes: antix
https://deluxepixel.com
For the IDE I would love if the "localhost" tickbox for the player could be on the toolbar, it's annoying to have to go into menus everytime I want to switch between player and device. Also if local player is selected and the play button is pressed, the player should be popped to front. It/'s also annoying having to click that to front every time.
As for the IDE its' self I would like if there was another pane on the left side listing the variables and functions in the currently active LUA file. DoubleClick on any item would take you to it in the file, so moving about large LUA files would be easier. You could also add RightClick and rename function, along with refactoring also.
Of course these are just wishes but maybe one day...
Likes: GregBreinholt
I agree with your IDE recommendations - a radio type button in the toolbar would be good. Also if the player is already started then pressing the player button shouldn't start a new player.
I'm not that bothered about the variables/functions thing, it would be nice if the find worked properly though. It should also ask you if you want to restart from the top if nothing found.
Likes: Holonist
https://deluxepixel.com
I agree about the player button too, sometimes I end-up with more than one local player
@antix, you can do this in ZeroBrane Studio (http://studio.zerobrane.com) if you use the Outline tab that shows the list of all functions in a file (or open files). This also shows functions defined as "{foo = function() end}". You can't rename the function from the Outline itself, but you can Ctrl-DblClick on a variable in a file and the IDE will select all instances of that variable (paying attention to its scope); more details here: http://notebook.kulchenko.com/zerobrane/scope-aware-variable-indicators-zerobrane-studio. Paul.
Likes: MikeHart
I still have ZeroBrane installed to open old corona projects to salvage code from them
Fragmenter - animated loop machine and IKONOMIKON - the memory game
http://www.indiedb.com/tutorials/gideros-with-zerobrane
especially the last part about
"Setup multiple devices for instant on-device testing and debugging"
(it's actually truly one-click switching while in gideros studio you have to go into the appropriate menu so it's slower)
Fragmenter - animated loop machine and IKONOMIKON - the memory game
I edited the tutorial too, thanks for noting.
Fragmenter - animated loop machine and IKONOMIKON - the memory game
Likes: paulclinger
Fragmenter - animated loop machine and IKONOMIKON - the memory game
Likes: antix
It really is a fantastic feature and it would be so good if it was implemented in Gideros Studio (which needs a lot of love)