|Content assist within strings? [message #1111490]
||Wed, 18 September 2013 05:40
| Pavol Mederly
Registered: September 2013
please, what's the best way to implement content assist that works within strings?
Specifically, I want to implement the auto-completion of file names that are represented by strings in my DSL.
Example: when user starts typing
and after last "h" he wants to press Ctrl+Space to find all files that begin with c:\dir1\dir2\my-great-stylesh.
Currently, after pressing Ctrl+Space only the warning bell rings and nothing happens.
According to the documentation, I've tried to implement both:
override completeFileSpecification_Url(...), and
but these only work when user presses Ctrl+Space on position before first quote (or when the whole string is selected). It is quite a bit of nuissance for the user.
How to enable content assist to work on semi-finished strings, using the current caret position?
Thank you very much in advance.
Powered by FUDForum
. Page generated in 0.09001 seconds