Live Template Question (seems like it should be easy)

when defining custom suggestions for variable types it seems like I should be able to specify a list of possible values. Something like this:

Name = optimistic-lock
Expression = {"none"|"version"|"dirty"|"all"}
Default="none"

I'm specifically looking to use this with some of my hibernate XDoclet meta-data creation. If there's an easy way to already do that, somebody let me know, but I think this idea would come in usefull in other situations as well.

I've read elsewhere that the api for influencing livetemplate suggestions isn't exposed yet, but they were relatively old posts. Is this still true?

Please sign in to leave a comment.