This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 257691 - Groovy DefaultImportsProvider should not use the default lookup.
Summary: Groovy DefaultImportsProvider should not use the default lookup.
Status: NEW
Alias: None
Product: groovy
Classification: Unclassified
Component: Editor (show other bugs)
Version: 8.0
Hardware: PC All
: P3 normal (vote)
Assignee: bruno.flavio
Depends on:
Reported: 2016-01-23 15:12 UTC by lkishalmi
Modified: 2016-07-18 07:34 UTC (History)
2 users (show)

See Also:
Exception Reporter:


Note You need to log in before you can comment on or make changes to this bug.
Description lkishalmi 2016-01-23 15:12:04 UTC
I were happy to see that NB Groovy support offers a way to define default imports for the Groovy editor via DefaultImportsProvider.

There are many Groovy based DSL-s out today, and I could use this feature in one of my plugins. However I could add more defaults to all Groovy editor or none as Import utils looks the default Lookup for DefaultImportsProvider-s. It would be nice to have this feature using mime-type based lookup search.