Code reference detail
ignore-error-action.test.ts
packages/language/test/ignore-error-action.test.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 | |
| command_palette | done | Extension commands should be available via the vscode command palette and configurable keyboard shortcuts. Command titles should not repeat the category prefix; use category " reqlan " with plain titles so the palette shows " Reqlan: List All Ideas ", not " Reqlan: Reqlan:... " or " RQ: RQ:... ". Commands belong to product domains; this file is the palette naming hub under host lifecycle. Agent: [agent_ai.add_to_chat]. Index host: [index_diagnostics.open_index_diagnostics]. Diff: [diff_webview]. Export: [export_functions.export_html] and siblings. Mutation: [refactor_support], [barrel_page], [decompose]. Language: [search_code_actions], [code_actions_ignore_error], [create_idea_below_idea_containing_unresolved_reference_under_cursor]. | 0.087 | |
| code_actions | done | Language-server code actions for `.rq` files, plus comment-file Quick Fixes for ignore-error: - Quick fixes for unresolved references ( add import, rewrite qualified ref, search, create file ) — ["./support/features-imports.rq".import_error] - Refactor: search / replace or wrap as idea reference — ["../host/features-commands.rq".search_code_actions] - Refactor: move or delete an idea declaration — ["../mutation/refactor_support.rq".refactor_symbol_move] ["../mutation/refactor_support.rq".refactor_symbol_delete] - File-level source action: barrel page — ["../host/features-commands.rq".barrel_page] - Quick Fix: insert `//rq-ignore-error` before a line with diagnostics — ["../host/features-commands.rq".code_actions_ignore_error] - Quick Fix: create a missing local idea below the idea that contains the unresolved reference — ["../host/features-commands.rq".create_idea_below_idea_containing_unresolved_reference_under_cursor] The Rust server returns the same set ( ["./support/language-server-rust.rq".language_server_rust] ). Command-backed search / replace and barrel actions omit LSP command arguments so VS Code does not cache disposable delegating ids; the extension resolves the active editor ( or document ) when the command runs. The same Quick Fix appears once in one request. Langium appends validation diagnostics when a document already has diagnostics. The diagnostic list stays when the document state is below Validated. The document builder removes previous built-in diagnostics before that append. One linking error gives one Quick Fix after repeated builds. | 0.169 | |
| codelens | Outbound classification CodeLens on references: ["./syntax/features-syntax-highlighting.rq".code_lens_reference_types]. File-top inbound file-reference CodeLens: ["./syntax/features-syntax-highlighting.rq".file_inbound_code_lens]. Idea inbound `@referenced-by` remains an inlay: ["./syntax/features-syntax-highlighting.rq".view_references_as_inlay_hints]. | 0.103 |
Reference labels
"../../../packages/language/test/ignore-error-action.test.ts", "../../../packages/language/test/ignore-error-action.test.ts:inserts at the start of the file for a first-line error", "../../../packages/language/test/ignore-error-action.test.ts:inserts indented ignore comment before the error line", "../../../packages/language/test/ignore-error-action.test.ts:offers one action per diagnostic line", "../../../packages/language/test/ignore-error-action.test.ts:omits the action when //rq-ignore-error already suppresses the line", "../../../packages/language/test/ignore-error-action.test.ts:uses tab indent and CRLF when the error line uses them", "../../../packages/language/test/ignore-error-action.test.ts:wraps the ignore comment for a hash-comment error line", ../../../packages/language/test/ignore-error-action.test.ts, ../../../packages/language/test/ignore-error-action.test.ts:inserts at the start of the file for a first-line error, ../../../packages/language/test/ignore-error-action.test.ts:inserts indented ignore comment before the error line, ../../../packages/language/test/ignore-error-action.test.ts:offers one action per diagnostic line, ../../../packages/language/test/ignore-error-action.test.ts:omits the action when //rq-ignore-error already suppresses the line, ../../../packages/language/test/ignore-error-action.test.ts:uses tab indent and CRLF when the error line uses them, ../../../packages/language/test/ignore-error-action.test.ts:wraps the ignore comment for a hash-comment error line