Code reference detail
reqlan-ignore-error-action.ts
reqlan rq/extension/host/packages/language/src/reqlan-ignore-error-action.ts
| Idea | Status | Tags | Summary | Katz |
|---|---|---|---|---|
| code_actions_ignore_error | done | A Quick Fix [code_actions] on a line with diagnostics inserts [comment_reference_ignore] ( `//rq-ignore-error` ) on the line before the error. The inserted comment uses the same indent as the error line. One action is offered per line when that line has one or more diagnostics. The action is omitted when that line is already suppressed, and when the client asks only for non-quickfix kinds. Available in `.rq` files and in a comment context in a code file ( ["../language/comment-references/functional-code-comment-references.rq".references_in_functional_code_comments] ). In `#` comments the action inserts `# //rq-ignore-error` so the line stays a comment. | 0.074 |
Reference labels
code_actions_ignore_error