How do I customize the indentation in the custom rules?
조회 수: 3 (최근 30일)
이전 댓글 표시
Hello Team,
I am new to using Polyspace Bug finder. I want to Indent a statement by four spaces where required in my c program. I couldn't find anything related to indentation under 'Coding standard & Code metrics'>Custom rules. How Can I customize identation and edit it in the custom rules without using any other standards?
댓글 수: 0
답변 (1개)
Anirban
2023년 2월 8일
편집: Anirban
2023년 2월 8일
As of release R2022b, there is no rule related to indentation in Polyspace Bug Finder.
Most IDE-s and editors these days have ways to automatically recognize the language and enter the required four spaces. For instance, in the free editor Notepad++, you can go to Settings > Preferences and modify the number of spaces used for tabs and indentations inside functions. In most cases, you do not need a checker to implement this rule.
댓글 수: 0
참고 항목
카테고리
Help Center 및 File Exchange에서 Bug Finder Analysis에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!