필터 지우기
필터 지우기

Hope to have an equivalent shortcut key similar to Ctrl+D in VSCode

조회 수: 40 (최근 30일)
Jixiong Su
Jixiong Su 2024년 1월 11일
편집: Hassaan 2024년 1월 11일
In VSCode, use Ctrl+D can Add Selection To Next Find Match, which can easily change variables in specific regions.
I Hope to Matlab will have an equivalent shortcut key similar to Ctrl+D in VSCode

채택된 답변

Hassaan
Hassaan 2024년 1월 11일
MATLAB's built-in editor might not have a direct equivalent to Visual Studio Code's Ctrl+D shortcut for "Add Selection To Next Find Match," you can achieve a similar result using the "Find and Replace" functionality:
  1. Press Ctrl + F to open the "Find and Replace" dialog.
  2. Type the variable or text you want to find in the "Find" field.
  3. Click the "Find Next" button or press F3 to find the next occurrence.
  4. If you want to replace the found occurrences, you can type the new variable or text in the "Replace with" field and use the "Replace" or "Replace All" options.
Alternatively, you could consider using an external editor that is compatible with MATLAB code, such as VSCode with a MATLAB extension, which allows you to edit MATLAB files with all the features of VSCode, including multi-cursor editing.
For more specific functionality, you may want to check the latest MATLAB documentation or reach out to the MathWorks support community, as new features and shortcuts are added over time.
---------------------------------------------------------------------------------------------------------------------------------------------------
If you find the solution helpful and it resolves your issue, it would be greatly appreciated if you could accept the answer. Also, leaving an upvote and a comment are also wonderful ways to provide feedback.
Professional Interests
  • Technical Services and Consulting
  • Embedded Systems | Firmware Developement | Simulations
  • Electrical and Electronics Engineering
Feel free to contact me.
  댓글 수: 2
Jixiong Su
Jixiong Su 2024년 1월 11일
it wiil be great if Matlab can have this feature
Hassaan
Hassaan 2024년 1월 11일
편집: Hassaan 2024년 1월 11일
It would be but its upto the MATLAB team how and when they decide to do so.
--------------------------------------------------------------------------------------------------------------------------------------------------- If you find the solution helpful and it resolves your issue, it would be greatly appreciated if you could accept the answer. Also, leaving an upvote and a comment are also wonderful ways to provide feedback. Professional Interests Technical Services and Consulting Embedded Systems | Firmware Developement | Simulations Electrical and Electronics Engineering Feel free to contact me.

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Get Started with MATLAB에 대해 자세히 알아보기

제품


릴리스

R2023b

Community Treasure Hunt

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

Start Hunting!

Translated by