Turning Off Auto Code Correct in 2011b?

Simple question here.
How can I turn off the auto correct option in Matlab .m 2011b editor?
It is really annoying and gets in the way telling me to shift enter to correct things I'm in the process of editing.
I dislike when programs try to get fancy.

Answers (2)

Jonathan
Jonathan on 5 Mar 2012
Had the same problem. Solution:
File -> Preferences -> Editor/Debugger -> Language -> Variable & function renaming -> Enable automatic variable and function renaming
Then disable that :)
I'm not sure exactly which feature it is that is providing suggestions to you, but almost all MATLAB Editor preferences are under File>Preferences>Editor/Debugger. There may be some relevant options under File>Preferences>Keyboard also.

4 Comments

I guess it is the red "~~" symbol appeared in the code when there is warnings or errors detected by M-Lint. Is there an option or way to disable it. I personally like it and don't see the point to disable it.
Hah! I got it. It is under Preferences>Colors>Code Analyzer
Fangjun: one reason it is annoying the red lines are so close to the scroll bar so when you are trying to scroll and accidentally hit the red line you have to wait for this suggestion to disappear, it can get very annoying.
This setting does not appear to have any effect on embedded matlab functions within Simulink. Checked 11b and 14b. I am getting my code changed on every save, or build. Can you please confirm this behavior?

Sign in to comment.

Categories

Find more on Environment and Settings in Help Center and File Exchange

Asked:

on 28 Oct 2011

Commented:

on 15 Jan 2015

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!