mstaron

About

Username
mstaron
Joined
Visits
21
Last Active
Roles
Members, Staff
Points
10
Badges
2
Posts
5

Comments

  • Maybe you should try to use the second rule (e.g. you have end line character after last comment). Without testing it is hard to advise something else. You can find the number of the last line in a file with the following rule: If you prefer pyt…
  • If it is the last line of a file, then should be created rule like this: If after comment line is an empty line, then should be created rule like this:
  • You can try to use the following python method: use correct indentations, that were removed automatically in this post def checkCharValue( node, context ): stringName = node.getProperty( 'name' ) for i in range(0, len(stringName)): ch…
  • The body of the comment is represented as a string and is accessible by the property 'Name'. Right-click the Comments node and choose Name(S) from the shortcut menu. Regular expressions are used to match strings. See https://docs.parasoft…
  • You need to create C++Text rule in RuleWizard: Choose File>New>Rule from the menu bar. Choose C++Text from the Dictionary drop-down menu and enable the By Node option. Choose Comments (// or /*) and click OK.