SMARTINDENT

버전 1.0.0.0 (3.49 KB) 작성자: Francesco di Pierro
SMARTINDENT customizes the indentation of m files.
다운로드 수: 2K
업데이트 날짜: 2002/7/24

라이선스 보기

SMARTINDENT is a tool to customize the indentation of your m files without going manually through the whole process.

SMARTINDENT fully mimics the behaviour of the MATLAB editor's smartindent command:

- it allows you to choose the number of spaces/tabs used for the indentation;

- it can handle nested and partially nested flow control commands.

SMARTINDENT does overwrite the files you want it
to process, therefore:

- when invoked from the command line, SMARTINDENT warn the users to back up first their files;

- when invoked from within another function or script, no warnings are issued, thus allowing for off-line multiple calls.

To process all files under a given folder(s), call SMARTINDENT with FUF,
e.g., to process all m files under folders ...\Documents and ...\MyFcns, type

smartindent(fuf({'...\Documents\*.m','...\MyFcns\*.m'}))

You can download FUF from the Matlab File Exchange under the category DEVELOPMENT ENVIRONMENT: the submission name is "Files Under Folders".

인용 양식

Francesco di Pierro (2024). SMARTINDENT (https://www.mathworks.com/matlabcentral/fileexchange/2038-smartindent), MATLAB Central File Exchange. 검색 날짜: .

MATLAB 릴리스 호환 정보
개발 환경: R12
모든 릴리스와 호환
플랫폼 호환성
Windows macOS Linux
카테고리
Help CenterMATLAB Answers에서 Environment and Settings에 대해 자세히 알아보기
도움

도움 받은 파일: Files Under Folders (fuf)

도움 준 파일: SIGNFILE

Community Treasure Hunt

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

Start Hunting!
버전 게시됨 릴리스 정보
1.0.0.0