Let's say I have a bunch of functions below:
library.object1.function1()
library.object1.function2()
library.object2.function1()
library.object2.function2()
library.object3.function1()
library.object3.function2()
With what they provide in current custom snippet, when I type lib, it will show all those above functions, which will be a mess if there are too many functions.
I want to make my snippets work like what they did in default code completion:
- When I type
lib, it only shows:
library
- When I type
library., it shows:
object1
object2
object3
- When I type
library.object1., it shows
function1()
function2()
- Also, if I type
lib, and leave it there, then comeback and addrary, the snippet doesn't work at all, I want it to continue the completion.
Is there a way to achieve it?