PeterPanettone 158 Posted March 12, 2019 (edited) I have discovered this extremely useful feature: Find previous/next occurrence (Shift + Alt + Left): This jumps to the previous or next occurrence of the current identifier and then opens this popup window: So my question is: How can I DIRECTLY open this extremely useful popup window (using the current identifier) without having to previously do the Find previous/next occurrence (Shift + Alt + Left) command? I am aware that there is the Find Identifier command which displays this Search box: However, this Find Identifier search box has the inconvenience to not automatically insert the currently selected identifier or the identifier under the cursor into the search field. Or is it possible to configure this? Edited March 12, 2019 by PeterPanettone Share this post Link to post
Uwe Raabe 2063 Posted March 12, 2019 (edited) 9 minutes ago, PeterPanettone said: How can I DIRECTLY open this extremely useful popup window (using the current identifier) without having to previously do the Find previous/next occurrence (Shift + Alt + Left) command? As the hint mentions: <Shift>-<Alt>-<Left/Right> Oh, I see. You mean without moving the cursor? Edited March 12, 2019 by Uwe Raabe Share this post Link to post
PeterPanettone 158 Posted March 12, 2019 9 minutes ago, Uwe Raabe said: Oh, I see. You mean without moving the cursor? 1 Yes, I mean without moving the cursor. Share this post Link to post
Uwe Raabe 2063 Posted March 12, 2019 Seems that this is not possible in the moment. Please file a feature request at support@mmx-delphi.de to make this happen in a future release. 1 Share this post Link to post
PeterPanettone 158 Posted March 12, 2019 17 minutes ago, Uwe Raabe said: Seems that this is not possible in the moment. Please file a feature request at support@mmx-delphi.de to make this happen in a future release. Done. Thank you! 1 Share this post Link to post
FredS 138 Posted March 12, 2019 23 minutes ago, PeterPanettone said: Done. Thank you! 'Entire Scope' as default might be nice too. Share this post Link to post
Jacek Laskowski 57 Posted March 13, 2019 (edited) CNPack has similar or in some cases better solution, see: Edited March 13, 2019 by Jacek Laskowski 1 Share this post Link to post
PeterPanettone 158 Posted March 13, 2019 9 minutes ago, Jacek Laskowski said: CNPack has similar or in some cases better solution, see: 1 Jacek, thank you for pointing that out. I am using this feature all the time. It is INVALUABLE for checking whether there are other instances of the current identifier under the cursor nearby. On a wider scope, I use the GExperts Grep Search, as it can optionally even search an identifier in ALL FILES inside a project group! Share this post Link to post
Uwe Raabe 2063 Posted March 13, 2019 19 minutes ago, PeterPanettone said: it can optionally even search an identifier in ALL FILES inside a project group! This looks pretty similar to the MMX Source Indexer function "Search Identifier" available with <Shift>-<Ctrl>-<Alt>-S (assuming appropriate settings). Share this post Link to post
PeterPanettone 158 Posted March 13, 2019 (edited) 1 hour ago, Uwe Raabe said: This looks pretty similar to the MMX Source Indexer function "Search Identifier" available with <Shift>-<Ctrl>-<Alt>-S (assuming appropriate settings). That is also a great search tool with flexible options for the search locations: However, it lacks the invaluable CONTEXT PREVIEW of the GExperts Grep Search: ...which can be configured here: The MMX Indexer Search loads the result file in the IDE by just left-single-clicking the result line which for me is not good because it also attempts to load the associated form file (if it has one). It should definitely have a preview pane like Grep Search! Edited March 13, 2019 by PeterPanettone Share this post Link to post
Uwe Raabe 2063 Posted March 13, 2019 13 minutes ago, PeterPanettone said: However, it lacks the invaluable CONTEXT PREVIEW of the GExperts Grep Search: On the other hand MMX immediately synchronizes the editor view when you select a match with a mouse click. Share this post Link to post
PeterPanettone 158 Posted March 13, 2019 (edited) 29 minutes ago, Uwe Raabe said: On the other hand MMX immediately synchronizes the editor view when you select a match with a mouse click. That is useful only when using one of these options: Otherwise, attempting to load the associated form file can interfere with the current project! So, the MMX Indexer result-list should automatically load the result file in the IDE on mouse-click ONLY if the result-file is part of the current project (or if the result-file is already opened in the IDE). This would be much smarter! Additionally, when using the Root paths option or one of these options: ...then this option in most cases is useless: ...because the content of the Library path or the Browsing path does not change that often. In this case (if the Rebuild option is unchecked) it would be far more intelligent to not erase the index between IDE sessions or to rebuild the index only if a change has been detected in one of these paths! So a separate dockable context preview panel for the MMX Indexer IMO would be very useful. Edited March 13, 2019 by PeterPanettone 1 Share this post Link to post
Georgge Bakh 29 Posted March 16, 2019 On 3/12/2019 at 5:57 PM, PeterPanettone said: I have discovered this extremely useful feature: Is it just an ordinary identifier usages list? Share this post Link to post