I hate to post bug reports, because it makes me sound dissatisfied.
However, I am not. I absolutely adore Alfred. There, I said it!
But I thought it worth to report this:
Expansion works correctly until text has been copied within NetBeans
After that, the keyword expands into the copied text instead of the desired snippet
So, to put it as an example
I open NetBeans
I place my cursor in a document
I type my keyword
The keyword expands and my snippet appears
Good
I then copy something from the document I’m working on, say “$my_lovely_variable = 3;”
I type my keyword
The keywords expands to say “$my_lovely_variable = 3;” instead of my snippet
Not so good
I don’t know if NetBeans being a Java application is relevant to this issue, and I haven’t got any other Java apps lying about to test with.
Everything is the latest build:
Alfred 3.4, Build 850, Monday 19th June 2017
OSX 10.12.5 (16F73)
NetBeans IDE 8.1 (Build 201510222201)
Java version 8 Update 131