ram-nadella / dashmate.tmbundle Goto Github PK
View Code? Open in Web Editor NEWDash integration for TextMate
License: MIT License
Dash integration for TextMate
License: MIT License
Currently Command-D does a straight search for the current word across all installed Dash languages, and the results are relatively slow to come back since Dash is searching all of its languages.
Would be great if it could do a search for only the current TextMate syntax being used.
So for ex. searching for "cd" while editing a shell script, should only search the shell script language in Dash. Results would come back much quicker, also.
DashMate calls Dash by opening a dash://
URL. The problem is that the system forces Dash to become active when this URL is opened.
Currently, this is not an issue. However, a future update of Dash will add support for iOS remotes. While an iOS remote is connected, extensions are redirected to it directly and Dash on OS X is not shown at all. Unfortunately there's no way for me to prevent the system from activating Dash when you open the dash://
URL.
Instead of doing this:
open dash://query
Can you do this?
open -g dash://query
The -g
causes Dash to not get activated if it does not want to and the user experience is a lot better as the active app does not lose focus anymore.
It is safe to make this change as soon as possible (no need to wait for a Dash update), as the current version of Dash already knows to activate itself if it needs to.
High Sierra includes Ruby 2.3.3 and the -KU
argument to Ruby is deprecated and breaks the scripts. Removing those flags lets the script run.
Language prefix guessing is not always accurate and other times the user may want to look up docs in a framework and not the language scope.
Look into ways for how to skip the scope - either make it optional or add another keyboard shortcut for search without scope.
There's no mention of whether TextMate 2 is supported or not.
The icon in Dash is for the ancient version of TextMate, but it seems unlikely that anyone would make a new tmbundle for that. Some explicit mention of this in the README would be appreciated. Thanks!
I followed your instructions for textmate 2, exactly, by copying and pasting, and i dont' see it showing up in my bundles in the menu bar or in my bundles in preferences. Is there a reload command or something I should run?
Request: add installation instructions for TextMate 1 as well?
Trying to install the plugin, an error window pops up saying:
The bundle “DashMate” could not be installed because it is malformed. The bundle lacks mandatory keys in its property list file.
I'm using TextMate version 2.0-alpha.9443
Any fix for this?
Dash 1.9.3 comes with a new way for plugins to call Dash and send over a list of keywords which Dash uses to enable/disable docsets.
This is all described at http://kapeli.com/dash_plugins.
In the next weeks I'll go through all plugins and update them myself, so expect a pull request regarding this. However, if you have some free time and want to do it yourself, feel free to do so 👍.
Note: please do not release a new version of the TextMate plugin for at least 2-4 weeks, so that Dash users have time to update to 1.9.3.
This should help solve #8.
When I look some keyword in textmate2, use 'CMD +D' in xxx.coffee file
The problem is
Dash will search some keyword in coffee: prefix
This is not a result which I wants! I want to search in my search profile or full.
I just want to know how to custom this way?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.