Dash Sublime Settings
petergeller opened this issue · comments
i read the article about https://sublime.wbond.net/packages/DashDoc
I setup everything and it worked as described, but i have a problem to setup the individual syntax to docket setting.
At the moment i override the html docset in DashDoc.sublime-settings - DashDock like that to keep your default settings in the file.
"HTML" : ["html","css","ee","foundation"], // "svg", "css", "bootstrap", "foundation", "javascript", "jquery", "jqueryui", "jquerym", "angularjs", "backbone", "marionette", "meteor", "moo", "prototype", "ember", "lodash", "underscore", "sencha", "extjs", "knockout", "zepto", "cordova", "phonegap", "yui"
because it didn't worked for me to override this settings in my xxx.sublime-project like that
{
"folders":
[
{
"path": "/Users/pog/webserver/project_xx"
}
],
"settings": {
"syntax_docset_map": {
"HTML" : ["html","css","ee","foundation"]
}
}
}
everytime i tried it before without to manipulate your default settings it didn't worked out for me.
Any ideas why?
I also tried out to override the user settings of DashDock but that also didn't work.
Any help with that would be great.
Best Peter
That should work.
Can you please confirm that you're using vanilla HTML syntax file? Please show the output of
view.settings().get('syntax')
in ST console.
Don't know, this is what i get!
view.settings().get('syntax')
u'Packages/HTML/HTML.tmLanguage'
2014-02-10 15:58 GMT+01:00 Vladimir Pouzanov notifications@github.com:
That should work.
Can you please confirm that you're using vanilla HTML syntax file? Please
show the output ofview.settings().get('syntax')
in ST console.
Reply to this email directly or view it on GitHubhttps://github.com//issues/26#issuecomment-34640609
.
Well, that looks pretty normal to me. Any errors appearing in there when you try invoking the doc browser?
Hi Peter,
hmm — I've just tried both methods of customization:
(1) User/DashDoc.sublime_settings
and
(2) the syntax_docset_map
in the settings
section of a .sublime_project
file
and both worked just as advertised.
Note that method (1) requires you to first copy the entire default syntax_docset_map
in which you then make changes, e.g. in the HTML
section, while (2) allows you to selectively override only those syntax mappings that are relevant for your project. In fact, your .sublime_project
snippet above looks OK to me.
No updates on this one, so I'm closing it as obsolete.