codefori / codefori/vscode-rpgle

Local workspace and linting issue

Open
#476 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
57
Forks
35
Avg merge
2d 3h
Merged PRs (30d)
1

Description

I have been struggling with two issues.

1. If I edit my linting config inside .vscode directory, the changes are not reflected until project is not closed and re-opened.

Image

**rpglint.json:**

```
{
"indent": 2,
"PrototypeCheck": true,
"NoOCCURS": true,
"NoSELECTAll": true,
"UppercaseConstants": true,
"IncorrectVariableCase": false,
"NoSQLJoins": true,
"PrettyComments": true,
"NoGlobalSubroutines": true,
"NoExternalTo": [
"QCMD",
"QP2TERM",
"QSH",
"SYSTEM",
"QCMDEXC"
]
}
```

**Sample program:**

```
**free
dcl-s var1 int(10);
Var1 = 100;
*inlr = *on;
```

I am not sure if it is working as designed but I expect the linter to refresh the linter errors if the config is changed.

2. Also, is there a feature to auto-fix a single type of linting error like IncorrectVariableCase

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.