I want to build a plugin for that will do auto completion. If characters after the cursor contains A-Z or 0-9 the prefix in on_query_completions works quite nicely. But if there is @, $, & or { characters after the cursor, the prefix is always empty.
When my code looks like this:
def on_query_completions(self, view, prefix, locations): print(prefix)
Example if my file contains:
qwert
and cursor is after the t-character the output in the console will be qwert
, which is correct.
But if my file contains:
@
and cursor is after the @-character the output in the console will be empty, but I did expect @
in the console.
- Is there a workaround for this issue?
- Is a new bug or an existing issue?
- Would this issue be fixed in the dev builds?
I am using 3103 build.
-Tatu