On 08.03.2016 14:15, Michael Van Canneyt wrote:
Well. You take yourself as a reference I think.
I don't think Jesus' idea wasn't really serious :)
Some contra's:
1.) Lazarus IDE doesn't have an API for that. I don't think anybody has
time/will to make it - it could be pretty/unnecessarily complex to
support it in every IDE dialog.
2.) No Lazarus function is called this way. It doesn't make sense if
Code Creation is the only function taking advantage of it.
3.) I don't know any desktop application that works like this (except
the TotalCommander mouse right click).
(1) is already a reason big enough for me.
---
Btw. do you really think that the dialog is so frustrating? You can
apply it by just one Enter press. I personally like to know where the
things are put. An alternative "no-dialog" shortcut is easy to make, but
I still don't know if yet another shortcut brings really some
simplification. Formerly, there was 1 shortcut for CodeCreation, now
there are 2, do you really want 3 for the same function?
On 08.03.2016 10:13, Mattias Gaertner wrote:
One for less interactive and one for more interactive.
Many code completions can be enhanced with dialogs.
Actually this is already done, ctrl+shift+c is the less interactive
(therefore it doesn't offer the class option). ctrl+shift+x is the more
interactive with more options. To reduce confusion I can enhance the
dialog with a local/class target combobox - people could than map the
more interactive shortcut to ctrl+shift+c and use only one shortcut for
both class/local target if they want. What do you think?
If I create a special shortcut for every option of CodeCreation, they
could easily blow up (like shortcut for add to private, public etc,
maybe more in the future).
Ondrej
--
_______________________________________________
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus