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

조회 수: 96 (최근 30일)
Dirk
Dirk 2022년 2월 3일
댓글: Juergen Lisenfeld 2023년 9월 1일
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
Juergen Lisenfeld 2023년 9월 1일
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
Srijith Kasaragod 2022년 4월 6일
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에서 Marine and Underwater Vehicles에 대해 자세히 알아보기

제품


릴리스

R2021b

Community Treasure Hunt

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

Start Hunting!

Translated by