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 246594 - DSLD - Domain Specific Language Descriptors (support for)
Summary: DSLD - Domain Specific Language Descriptors (support for)
Status: NEW
Alias: None
Product: ide
Classification: Unclassified
Component: Code (show other bugs)
Version: 8.0
Hardware: All All
: P3 normal with 1 vote (vote)
Assignee: issues@ide
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-08-20 22:34 UTC by pekarna
Modified: 2014-08-22 08:09 UTC (History)
0 users

See Also:
Issue Type: ENHANCEMENT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description pekarna 2014-08-20 22:34:46 UTC
For scripting languages and especially their DSL ability, a principle called DSLD (Domain Specific Language Descriptor) exists. Basically, it's just a file in a project (or a directory) which enumerates the default imports for some language's scripts in that project (directory).

See e.g.
http://groovy.codehaus.org/DSL+Descriptors+for+Groovy-Eclipse

This is very useful for projects which use DSLs, as the IDE can provide the same default imports as the project provides for the scripts execution, making code completion and code highlighting work properly.

Thanks for considering.