Wish Autocomplete or suggestions on event sub names

JdV

Active Member
Licensed User
Longtime User
Hi

It would be good if the IDE could list/suggest object names when creating event subs.

For example, in this app it could suggest MyButton_Click for the complete sub name.

upload_2019-5-24_12-29-37.png


Alternatively it could make suggestions when the part before the event name is being typed:
upload_2019-5-24_12-32-26.png


Regards

Joe
 

AnandGupta

Expert
Licensed User
Longtime User
btw, if ANY IDE in ANY language suggested I use 'My' as a control prefix my head would explode.

This bad habit crept on us, after MS started naming 'My Computer' , 'My Places' etc. They got rid of it, but we are still in that mind state.

Regards,

Anand
 

JdV

Active Member
Licensed User
Longtime User
upload_2019-5-24_13-19-4.png


Regardless of what the button is called it would be good to have the name suggested when creating the event sub.
 

jimmyF

Active Member
Licensed User
Longtime User
It just would get so complicated.
Imagine 24 buttons, 2 combo boxes, a list view, 25 edittexts, 3 switches, etc., etc.

It just does not seem practical at all.
just my 1.6¢ (2¢ US)
 

JdV

Active Member
Licensed User
Longtime User
I don't see why it wouldn't be practical. Variable names are already suggested by the IDE when typing:
upload_2019-5-24_14-17-37.png
 

klaus

Expert
Licensed User
Longtime User
Imagine 24 buttons, 2 combo boxes, a list view, 25 edittexts, 3 switches, etc., etc.
My Button names begin with btn.
My Labels names begin with lbl.
My EditText names begin with edt.
etc.
So when I write 'btn' it would suggest only my Buttons, writing more characters it would filter.

Like anywhere in the code!

upload_2019-5-24_16-14-35.png


upload_2019-5-24_16-16-30.png
 

jimmyF

Active Member
Licensed User
Longtime User
So when I write 'btn' it would suggest only my Buttons, writing more characters it would filter.
That's true. I hadn't considered that aspect. I name them in a similar manner.

In fact, it really does make sense.
 
Top