Forum > IDE/CodeTools
"Find declaration" option is used to do two different things
Martin_fr:
--- Quote from: MarkMLl on January 23, 2024, 11:29:30 pm ---Having to remember key combinations
--- End quote ---
...
"Having" (as in "must do") is not the same as "being given the choice".
IIRC, largely the IDE offers you to use menus for a great many things. Or adding them to toolbars (editor toolbar).
And as for keys, you can map every action to any key you want.
The way that is to be configured could be improved, given the amount of actions that can be chosen to be assigned to keys => but that is a (at least slightly) different topic.
If you ask me, I like the Emacs concept of major and minor modes that affect the key-mapping, and that you can toggle when you need.... But well everyone has their own likes.
MarkMLl:
--- Quote from: Martin_fr on January 24, 2024, 01:32:59 am ---
--- Quote from: MarkMLl on January 23, 2024, 11:29:30 pm ---Having to remember key combinations
--- End quote ---
...
"Having" (as in "must do") is not the same as "being given the choice".
--- End quote ---
Correct. It's absolutely fine to have a shortcut for when one's doing something that is likely to require repetitive action. It's not fine to not have that shortcut hinted at by some appropriate item in the menu tree.
MarkMLl
dbannon:
Mark, Martin, at risk of straying back on to topic again ....
Its a given that Lazarus defines a number of "things" that can be mapped to certain keyboard combinations. Some people like to use them. However, one of those "things", called "Find declaration" should be complemented with one called "Find Implementation". Instead we are offered a Code Tools option to make the "Find Declaration" thing, behave like a misnamed "Find Implementation". But we cannot have both.
And both would be very useful to those of use who like to use key board short cuts. And could be ignored by everyone else.
Seriously, I don't remember any more than a dozen or so key combinations but they are really useful when jumping around in existing code.
Davo
Martin_fr:
--- Quote from: dbannon on January 24, 2024, 11:51:52 am ---However, one of those "things", called "Find declaration" should be complemented with one called "Find Implementation". Instead we are offered a Code Tools option to make the "Find Declaration" thing, behave like a misnamed "Find Implementation". But we cannot have both.
And both would be very useful to those of use who like to use key board short cuts. And could be ignored by everyone else.
--- End quote ---
Not disagreeing.
But the better way to get anything done is a feature request (bug tracker). I can't tell if anything will come of it.
It can be accomplished by an offer to a patch, but again: no idea if it will further the case or not.
Navigation
[0] Message Index
[*] Previous page