Jump to content
PeterPanettone

Switching off automatic Bookmarks?

Recommended Posts

 Several MMX actions automatically set Bookmarks in the source code or even set a mark where the ESC key jumps to another position in the source code. I find this extremely disturbing.

 

Where can I switch this OFF?

 

image.png.146b5ae62c56caebb3825706e8663529.png

 

image.png.a14b16162659958ff7e93a1542e58db3.png

Edited by PeterPanettone
  • Thanks 1

Share this post


Link to post

In MMX Code Explorer properties look in General-Searching and History.

  • Thanks 1

Share this post


Link to post

Here are the places I found where the "drop bookmark" feature can be switched off:

 

History:

 

image.thumb.png.e42e1c1a45b4dd33dd618e773231c98c.png

 

Searching:

 

image.png.5ddbd703097380fe53d069332f5c3d53.png

 

Did I miss any?

 

Is anyone using these dropped bookmarks?

 

Thanks for the other basic MMX features; they are very helpful!

Edited by PeterPanettone

Share this post


Link to post
59 minutes ago, PeterPanettone said:

Did I miss any?

None that I am aware of.

 

1 hour ago, PeterPanettone said:

Is anyone using these dropped bookmarks?

Of course!

 

Share this post


Link to post
36 minutes ago, PeterPanettone said:

Numbers?

0 < x < Number of MMX users

Proof:

  1. I am using it, which proves the lower limit
  2. You are not using it, which proves the upper limit

 

Let alone that this number would give no usable insight, MMX could only add dropping these bookmarks to the usage report (which it doesn't). Using these bookmarks is an intrinsic IDE functionality which is not traced by MMX.

 

After all, it is optional. Since I took over MMX I had exactly one question on how to disable or change one of these bookmarks, because it interferes with another plugin. Yours is the second.

 

BTW, also since I took over MMX there has been no one sending any usage report (perhaps it just works on my tests but not in the wild), so I don't have any numbers of what people use most or least. While I would not drop any features based on such numbers, they would give me some hints of MMX features that may just be unknown and lack some promotion.

Share this post


Link to post

Peter, what's your point? If you don't like that feature, deactivate it. I use it often for navigation between extracted code and original position, so I find it very useful.

Share this post


Link to post
1 minute ago, ULIK said:

I use it often for navigation between extracted code and original position, so I find it very useful.

It's nice to hear that someone uses it.

Share this post


Link to post

To summarize, MMX is an extremely valuable and flexible addition to the Delphi developer's toolkit. I like the fact that you can switch off the bookmarks if you don't need them. Perhaps it would be helpful if the bookmarks were switched off by default during the initial installation.

Share this post


Link to post
On 9/11/2024 at 9:44 AM, PeterPanettone said:

Perhaps it would be helpful if the bookmarks were switched off by default during the initial installation.

I think it is more helpful that they are on by default. Once I noticed them, I went to MMX options to turn them off. I suspect many users wouldn't notice the option was available if they were not on by default.

Share this post


Link to post
On 9/11/2024 at 10:28 AM, Uwe Raabe said:

BTW, also since I took over MMX there has been no one sending any usage report (perhaps it just works on my tests but not in the wild), so I don't have any numbers of what people use most or least. While I would not drop any features based on such numbers, they would give me some hints of MMX features that may just be unknown and lack some promotion.

Hm, I just tried that but since I am not using Outlook but Thunderbird it failed to generate the email. But since I am only starting to use MMX, that won't have told you much anyway.

 

btw: I found theses automatically dropped bookmarks annoying, especially since I didn't know what created them. Thanks to Peter's question I know now how to disable them and did.

Share this post


Link to post
1 hour ago, dummzeuch said:

Thunderbird it failed to generate the email

Sending is done via MAPI, so no special handling for some mailers. You can check or set the MAPI entry under HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows Messaging Subsystem/ and /HKEY_LOCAL_MACHINE\SOFTWARE\WOW6432Node\Microsoft\Windows Messaging Subsystem/ for a REG_SZ value of 1.

 

1 hour ago, dummzeuch said:

I found theses automatically dropped bookmarks annoying, especially since I didn't know what created them.

The help gives some information:

Quote

MMX Code Explorer can automatically drop bookmarks on special editing operations:

·Before modifying source a bookmark can be dropped on the original cursor position (default #7)

·Extract Method / Extract Property can be drop Bookmarks on orignal source position (default #8) and on new Extracted method (default #9).

·A bookmark is dropped when creating a new method, by default bookmark #9.

 

Share this post


Link to post
40 minutes ago, Uwe Raabe said:

The help gives some information

You're apparently assuming that I read the help before using MMX. I didn't. I installed it and started to explore what it can do (and watched part of your video on YouTube). Reading the docs (help) is so 1990ies ...

Since at the same time I also started to use Delphi 12 in anger I didn't know what caused these bookmarks. It could have been one of the many flaws of that new IDE. Also the bookmarks have become more visible in Delphi 12 than they were n 10.2 so having them turn up all the time became more annoying.

Share this post


Link to post
2 hours ago, dummzeuch said:

Reading the docs (help) is so 1990ies ...

Well, MMX was born in 2001 and I assume the help is just as old.:classic_smile:

  • Haha 1

Share this post


Link to post

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×