Cluster detail
reqlan rq/extension/language-support
Ideas located under folder reqlan rq/extension/language-support.
folder
12 ideas
2 files
| Idea | File | Status | Summary |
|---|---|---|---|
| anonymous_reference_code_completion | reqlan rq/extension/language-support/features-imports.rq | Anonymous imports should share the same code completion e. g. ["@/reqlan rq/extension/code_completion.rq"] should complete the same as `import "@/reqlan rq/extension/code_completion.rq" as code_completion`. they should share the same code and logic | |
| from_import_syntax | reqlan rq/extension/language-support/features-imports.rq | Multiple symbols should be allowd to be be imported with `from "path" import symbol1, symbol2, symbol3` syntax. | |
| implicit_file_extension | reqlan rq/extension/language-support/features-imports.rq | The import statements should not require an extension, i. e. it should assume ". rq " unless otherwise specified. An extensionless path resolves to the ". rq " file first, then to a literal extensionless file. A path that already carries any extension is resolved exactly as written. | |
| import_code_completion | reqlan rq/extension/language-support/features-imports.rq | Import path code completion for `import` / `from` strings ( and shared anonymous paths ). [code_completion] [import_code_completion_explicit_extension] [import_code_completion_path_segments] [import_code_completion_substring_match] [import_code_completion_ranking] [anonymous_reference_code_completion] | |
| import_code_completion_explicit_extension | reqlan rq/extension/language-support/features-imports.rq | Completions insert paths with an explicit `.rq` extension. [implicit_file_extension] Hand-written imports may still omit the extension; completion prefers the written form with `.rq`. | |
| import_code_completion_path_segments | reqlan rq/extension/language-support/features-imports.rq | In a folder context, show next path segments ( directories with a trailing `/` ). After `../`, offer `../path/` before nested `../path/file.rq`. | |
| import_code_completion_ranking | reqlan rq/extension/language-support/features-imports.rq | Rank import path completions by directory proximity ( hop count from the completing file's directory to the candidate's directory ), then directories before files, then path alphabetically. Example: typing `../` ranks `../close.rq` before `../../../path.rq`. Emit sortText for that order, and set filterText so the editor does not re-rank by label fuzzy score over proximity. | |
| import_code_completion_substring_match | reqlan rq/extension/language-support/features-imports.rq | Filter path candidates by search within the path, not only a starts-with prefix. Typing `path` should match `../../parent/path.rq`. Typing `hellopath` should match `../../hello/inbetween/path/file.rq` ( characters matched in order across path segments ). | |
| import_does_not_exist_error | reqlan rq/extension/language-support/features-imports.rq | Imports show an underline error when the target file does not exist. Imports also show an underline error when a named imported idea does not exist in the target file. [general_errors] | |
| import_error | reqlan rq/extension/language-support/features-imports.rq | " Could not resolve reference " errors offer Quick Fix code actions ( lightbulb and editor right-click Quick Fix ). Fixes: - Add import from a matching idea found in loaded documents or the name catalog pushed from the index - Rewrite the reference to an anonymous qualified form `["path".name]` - Search the index for matching ideas, ideasets, or files ( QuickPick ), then insert an import - Create the idea in a new. rq file and import it [general_errors] [code_actions] [quick_fixes] | |
| remote_imports | reqlan rq/extension/language-support/features-imports.rq | Reqlan files should support importing requirements from remote urls. Remote import syntax should follow import " https: / / company. com / reqs / style. rq " as styleguide. The extension should resolve, cache, and validate remote imports. Barrel imports should be recommended for token efficiency when many symbols are needed from one remote file. | |
| general_errors | reqlan rq/extension/language-support/language-server-errors.rq | error messages should be deliberate and developer friendly. recommendations should be offerred where appropriate. |
Initialising graph…