reqlanOverviewIdeasFilesCode filesClustersAttributesGraphPrint

Printable idea sheet

code_actions

reqlan rq/extension/language/vsc-primitives.rq:21

Katz 0.169

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 ) — import_error
- Refactor: search / replace or wrap as idea reference — search_code_actions
- Refactor: move or delete an idea declaration — refactor_symbol_move refactor_symbol_delete
- File-level source action: barrel page — barrel_page
- Quick Fix: insert `//rq-ignore-error` before a line with diagnostics — code_actions_ignore_error
- Quick Fix: create a missing local idea below the idea that contains the unresolved reference — create_idea_below_idea_containing_unresolved_reference_under_cursor
The Rust server returns the same set ( 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.

implementation
reqlan-code-action-provider.ts, code_actions.rs, server.rs, session.rs, reqlan-document-builder.ts, register-import-error-commands.ts, main.ts, main.ts, register-idea-refactor-commands.ts, register-barrel-page-command.ts, register-ignore-error-code-actions.ts, reqlan-ignore-error-action.ts, reqlan-create-idea-below.ts
status
done
tests
code-actions.test.ts, code_actions.rs, code-actions.test.ts:keeps one quick fix set after repeated builds, extension-package.test.ts, barrel-page-apply.test.ts, idea-refactor.test.ts, ignore-error-action.test.ts, ignore-error-code-action.test.ts, code-actions.test.ts:creates the missing idea below the containing idea when only one is unresolved, code-actions.test.ts:offers all or a specific unresolved idea when the caret idea has several

Interactive page: code_actions