-
Is there an example/description on how to implement a auto completion for an import statement in a DSL (like the DSL in #979). --> I would like to get a suggestion while typing `import "./c" I started with a custom |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 4 replies
-
We have a long-standing issue that tries to address a similar issue in the grammar DSL, see #350. Ideally, you should just override the However, I've just noticed an issue that crops up related to completion in strings, which doesn't seem to work at all right now. It works when you start the completion before the |
Beta Was this translation helpful? Give feedback.
-
Yes, I confirm (completion starts when triggered before "). It seems I get a double quote at the beginning... Thank you for the prompt response. I will work with this until we have a better solution. |
Beta Was this translation helpful? Give feedback.
See #1106 for an example of how to accomplish import completion. The PR fixes a few minor issues in the base completion provider related to completions inside of strings (or other, similar tokens).