Closed alex-cory closed 10 years ago
What is the file type and extension you use?
The file type I am using is in php
and the extension I am using is DashDoc. Is this what you are asking for? (just double checking) :)
No, I've been wondering about the actual file extension, but I guess it's .php
What does it say in the bottom right corner of ST? Funnily enough, when I switch to PHP
it actually provides me with HTML
, so I might have something broken in my ST3 installation.
Hmm, I see the expected behavior (the PHP docset in Dash opens). It is the setting of Sublime's syntax_sensitive_as_default
and syntax_docset_map
variables which makes all the difference here. Have you altered these, maybe in the project-specific settings?
So I haven't edited anything in Sublime Text (if you were referring to me Teggy) but I did try removing Dash Docs and I only get this response: The item “Dash” can’t be moved to the Trash because it’s open.
I then thought maybe it was because I had Sublime Text open, maybe the plugin was referencing something from Dash Docs (although highly unlikely) just thought I'd try. Nothing, the same output. I restarted my computer (after removing Dash Docs from the launch at login) and tried both of those again and the same response. So basically, I'm unable to uninstall Dash Docs now. Weird..
Make sure Dash isn't running by checking Activity Monitor. If it is, quit it.
That was it. Wow... I cannot believe I didn't think about that. Sometimes you just need a slap in the face for how idiotic you've been. Thanks for pointing out the obvious. Issue seems to be fixed.
I am also experiencing a similiar issue with a ruby file. When I try the keyboard shortcut over the ruby keyword "map" it takes me instead to Javascript as the first result. File has the .rb
extension. In the bottom right corner of Sublime it is listed as Ruby. I've tried using the above mentioned command in the Sublime console.
view.settings().get('syntax')
Which results in following output Packages/Ruby/Ruby.tmLanguage
.
I did notice inside the Dash application that by going to Preferences/DocSets
and changing the priority order of your docsets to match the languages you work the most in, it can help reduce the amount of times you are taken to the wrong programming language documentation. Is there a way for it to just go to my Ruby docset first when on a Ruby file?
So basically whenever I have my cursor over a function, I hit my keybinding to do the quick dash-lookup and instead of taking me to the PHP docs, it seems to be taking me to either HTML5 or Bootstrap. Any ideas what's causing this?