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

Summary: Groovy DefaultImportsProvider should not use the default lookup.
Product: groovy Reporter: lkishalmi <lkishalmi>
Component: EditorAssignee: bruno.flavio
Status: NEW ---    
Severity: normal CC: lkishalmi, sreimers
Priority: P3    
Version: 8.0   
Hardware: PC   
OS: All   
Issue Type: ENHANCEMENT Exception Reporter:

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.