reqlanOverviewIdeasFilesCode filesClustersAttributesGraphPrint

Printable idea sheet

import_code_completion_auto_file_import

reqlan rq/extension/language/support/features-imports.rq:119

Katz 0.066

When a code completion for an idea in another file is selected, the import should be automatically added to the current file.
This prevents the user from selecting a presented idea, and then having to add the import for the same thing.
Uses the same from-import insertion as import_error quick fixes; skips the edit when the idea is already imported.
reference_code_completion
import_code_completion
import_code_completion_rendering
import_error

implementation
reqlan-completion-provider.ts, reqlan-import-edits.ts
status
done
tests
completion.test.ts

Interactive page: import_code_completion_auto_file_import