Wish IDE and Designer - a few suggestions

HomeWorx

Member
Licensed User
Longtime User
Hi all,
B4A is a very powerful tool, and the IDE and the Designer are great ! Though I think they could be even greater with a few additions...

** IDE **
- I'm getting lazy, so being able to close the "Find/Replace" tool window (and all tool windows in general) with the Esc key would be handy (like the Compile window, for instance)
- Sometimes the F12 key doesn't see the keyword when the cursor is at the very end of the word. Fortunately there's the Ctrl+click option : very handy, but I always forget it ! I'm too used to keyboard shortcuts...
- In the same vein, would it be possible to have Ctrl+F and Ctrl+F3 take the current word into account, just like F7 does ? Maybe I'm too used to that in VB6, but it's so handy !
- I'd love to see Ctrl+F3 auto-select the word under the cursor (like F7) and perform a "Find next occurence"...
- When hovering the mouse over a variable name declared as a "constant" (Dim myVar as Int = 5), it would be nice to have its value displayed along in the tooltip text : "myVar as Int = 5" instead of just "myVar as Int".
- The IDE freezes my computer sometimes, for a few seconds. Not sure if it occurs when the code gets a bit heavy and the engine wants to spell-check everything, or if there's something else running in the background... Maybe it's checking the connection state ? Or (more likely) is it Java working hard ? All I know is that it gets really annoying !
- (Not sure about this one) It might be handy to have Ctrl+click on an "End If" bring the cursor back to the matching "If". Same for "Select" and other loop/conditional structures.

** Designer **
- It would be very handy to have the "Send to back" and "Bring to front" sub-menuitems in the "Views Tree" tab (between "Anchor" and "Generate", exactly like the menu in the Abstract Designer). This would be a great time-saver, as it would avoid having to right-click in the Abstract designer : when a view is hidden underneath others, it's very difficult (if not impossible) to bring it to the front, apart with a tedious right-click on one corner.
- The "Views Tree" tab should feature the "Add View" option as well... Actually, this tab should have all the items from the Abstract Designer's popup menu !
- The "Generate members" window would be a bit nicer if it showed all members' nodes already expanded. It's tedious to open each node when you have 5 or more fresh views to add to the code... Another feature would be nice : Ctrl+click on a checkbox would check/uncheck all members' events. Say you have 3 buttons and 2 ListViews. Hitting Ctrl+click on the Click event of one button would check the Click event on all other buttons, and also that same event on the ListViews - plus the default event on views that don't handle a Click event, for instance.
 

Erel

B4X founder
Staff member
Licensed User
Longtime User
The Find / Replace dialog is more or less deprecated. You should use quick search instead (Ctrl + F). It also allows you to replace.

In the same vein, would it be possible to have Ctrl+F and Ctrl+F3 take the current word into account
This is already the case with Ctrl + F.

The IDE freezes my computer sometimes, for a few seconds.
This is not supposed to happen. Even with large projects (except of very few cases such as the ping request that is sent when you connect B4A-Bridge).
It can happen on large projects if your computer is a bit slow and especially if it is not multicore.

It would be very handy to have the "Send to back" and "Bring to front" sub-menuitems in the "Views Tree" tab
You can drag and drop the views to change the order.
 

HomeWorx

Member
Licensed User
Longtime User
The Find / Replace dialog is more or less deprecated.
Maybe it's just me, but I use it way more often than the Quick Search tool. It's more complete with its find options and has a "Find next" feature.

This is already the case with Ctrl + F.
Not really : Ctrl+F only displays the Quick Search tool window and either needs a word to be selected in the code, or waits for a search term to be typed. I was thinking about having Ctrl+F "see" the word under the caret without having to select the word first (like when you change a word in bold in a word processor), and Ctrl+F3 doing the same with an extra "find next" action.

if your computer is a bit slow and especially if it is not multicore.
Well, it's a HP from 2014 with Intel 2020M (2.4GHz) and 8 GB of RAM. It's dual core, therefore not the fastest beast maybe... The freeze really happens only when B4A is running, that's why I was suspecting a Java issue.

You can drag and drop the views to change the order.
Fine. It wasn't obvious, but I guess it will do.
 

ShaneG30

Well-Known Member
Licensed User
Longtime User
The freeze really happens only when B4A is running, that's why I was suspecting a Java issue.
B4A isn't a Java application.
 

HomeWorx

Member
Licensed User
Longtime User
I know. I mean it relies on Java to compile an app. Since I guess Java is always running along with B4A, there must be a reason it freezes my computer... Or am I the only one to experience this issue ?
 
Top