Project: appceleratorstudio
Issue TISTUD-1068: Allow snippets to be scoped by project type
Have this code in a JS file: {code} function Coffee (type,roast) { this.type = type; this.roast = roast; } Coffee.prototype.describe = function() { return this.roast + ' ' + this.type + ' coffee'; }; var sumatra = Coffee("Sumatra", "Light"); sumatra.d| <<< Content Assist here {code} The result of this CA is: {code} sumatra.Ti.API.debug(}) {code} In this case, the Titanium Mobile ruble is contributing a snippet which does not apply inside a regular JS project. Suggest is we have some way to allow snippets to be scoped based on project natures (i.e. titanium mobile), or perhaps a more generic mechanism (i.e. jquery snippets enabled in a "jquery" project, where there is no corresponding nature) Suggestion is to add a meta scope of: meta.project.
Story points: 20