codefori / codefori/vscode-rpgle
Lint option: Many defined variables with the same type should become LIKE(x)
Open
enhancement
- Dominant language
- TypeScript
- Stars
- 57
- Forks
- 35
- Avg merge
- 2d 3h
- Merged PRs (30d)
- 1
Description
E.g.
```
Dcl-S name char(25);
Dcl-Ds stuff qualified;
name char(25);
initials char(3);
End-Ds;
```
Should be
```
Dcl-C NAME_LENGTH 25;
Dcl-S name char(NAME_LENGTH);
Dcl-Ds stuff qualified;
name char(NAME_LENGTH);
initials char(3);
End-Ds;
```
Though, not sure how to force this. We'd need to quick fix to handle this
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.