Disable function tips, suggestions, help pop-up in Editor R2021b macOS

68 次查看(过去 30 天)
I would like to turn off the function suggestions that pop up while typing in the editor. This used to be accomplished in Preferences>Keyboard> and deselecting Function Hints, but that is no longer there. Did not seem like a logical place for that preference, I will admit, but I cannot find it anywhere now.

回答(2 个)

Jacky Tsai
Jacky Tsai 2022-4-6
编辑:Jacky Tsai 2022-4-6
@Dirk, would you mind trying this:
  1. Go to Preferences
  2. In the menu on the left, click into MATLAB > Editor/Debugger > Automatic Completions
  3. Under Suggestions and completions, check Show on tab
  4. Click OK
This will stop the function suggestions from popping out automatically while typing, unless you explicitly hit <tab> key.
  8 个评论
Matthew Cooper
Matthew Cooper 2022-12-30
Agreed, this is very disruptive to writing functions. Especially if tabs are used to align blocks of code for readability, due to the delay caused by the pop up window. On the other hand, it is nice to have the syntax reminders once a function is finished and a syntax reminder is needed. The ability to add a shortcut to toggle this pref on or off would be ideal.
Juergen Lisenfeld
I agree that Matlab became very annyoing in the recent versions due to all the things that pop up or suggest corrections. The function hints are hiding the previous code lines, but I need to see those to come up with the next code line. It took also long time to find this option, as imho a "function hint" has nothing to do with "autocompletion" or "suggestions and completions".

请先登录,再进行评论。


Srijith Kasaragod
Hi @Dirk,
In MATLAB R2021b, the option to disable function syntax hints in the MATLAB editor is no longer supported.
However, you can disable function syntax hints in the MATLAB Command Window. You can also choose Code Suggestions and Completions to only appear after the you press the tab key (which are similar to, but not the same thing as function syntax hints).
Refer this link to know more on how to disable Automatic Suggestions and Completions.
Regards,
Srijith
  1 个评论
Dirk
Dirk 2022-4-6
Hi Srijith,
The issue is with function syntax hints in the editor, not the other scenarios you describe in your answer.
Why is the option to disable this is no longer supported? Why can one disable it in the command window, but not the editor? Will this option be restored in a future release?
I find these pop-ups while typing to be very disruptive to composing and editing my code, often blocking visability and movement using the keyboard controls (e.g. up/down arrows), requiring use of the mouse, etc. to navigate out of the "sticky" hints widget.
I am also a little puzzled by these repeated "answers" (first via email two months ago, now here) suggesting to do something entirely different. If I bring my car in to the dealer and tell him my front windshield wipers are stuck on all the time, would you expect him to tell me how to turn off my rear wipers or my fog lights? Your first sentence was a clear and accurate answer. Thanks.
Best,
Dirk

请先登录,再进行评论。

类别

Help CenterFile Exchange 中查找有关 Environment and Settings 的更多信息

产品


版本

R2021b

Community Treasure Hunt

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

Start Hunting!

Translated by