Add "handle-as" hint provider

Replace the enum provider by a more general purpose provider that can
substitute the type of the property for the purpose of auto-completing
the values.

"handle-as" can be used for enums but for any type that the IDE
understands such as locale, charset, mime-type and Spring's resource
abstraction.

Closes gh-3457
This commit is contained in:
Stephane Nicoll
2015-07-10 14:28:11 +02:00
parent f6f74e1aef
commit 8ff8afec7c
2 changed files with 19 additions and 11 deletions

View File

@@ -229,7 +229,7 @@
"name": "spring.jooq.sql-dialect",
"providers": [
{
"name": "enum",
"name": "handle-as",
"parameters": {
"target": "org.jooq.SQLDialect"
}