Jump to content
havrlisan

"Complete Class at Cursor" (Ctrl+Shift+C) equivalent in MMX

Recommended Posts

I wondered if there is an equivalent option to the Complete Class at Cursor, whose default shortcut is Ctrl+Shift+C. I'm asking because if you use that shortcut, the MMX gets out of sync and seems to parse the entire unit again, which takes around a second. During that period, you cannot use MMX's other tools, or you'll get this message:

Quote

[MMX] Explorer not in sync with modified source. Editing aborted

 

The closest option I found was invoking Edit Entity... (Ctrl+E), clicking OK, and the method implementation gets created; the MMX doesn't get out of sync that way.

 

I get that it's a pretty specific scenario, but I find myself getting the above message quite often as I invoke the shortcuts during coding.

 

Thanks for your time!

Edited by havrlisan
wording

Share this post


Link to post

Usually MMX avoids to duplicate functionality already available in the IDE. In most of the cases where it does, it is probably the IDE implementing a similar feature recently (f.i. Extract method).

 

If you feel MMX needs too much time to parse the unit after changes not made by itself, you might try to reduce the Delay times in the General -> Synchronization options of MMX. The defaults were made for hardware standards now pretty much outdated.

  • Thanks 1

Share this post


Link to post
52 minutes ago, Uwe Raabe said:

Usually MMX avoids to duplicate functionality already available in the IDE. In most of the cases where it does, it is probably the IDE implementing a similar feature recently (f.i. Extract method).

 

If you feel MMX needs too much time to parse the unit after changes not made by itself, you might try to reduce the Delay times in the General -> Synchronization options of MMX. The defaults were made for hardware standards now pretty much outdated.

I agree with the duplicate functionality, I don't like that approach either but thought it might make sense due to MMX parsing the code.

I didn't realize that option was available. That did the trick, thanks! 

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
×