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.



Alternatively it could make suggestions when the part before the event name is being typed:


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


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:
 

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!



 

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.
 
Cookies are required to use this site. You must accept them to continue using the site. Learn more…