DrupalSearch
Sublime 3 Plugin helps to search change records for the Drupal hooks (core and contrib modules).
Details
Installs
- Total 484
- Win 204
- Mac 141
- Linux 139
Oct 31 | Oct 30 | Oct 29 | Oct 28 | Oct 27 | Oct 26 | Oct 25 | Oct 24 | Oct 23 | Oct 22 | Oct 21 | Oct 20 | Oct 19 | Oct 18 | Oct 17 | Oct 16 | Oct 15 | Oct 14 | Oct 13 | Oct 12 | Oct 11 | Oct 10 | Oct 9 | Oct 8 | Oct 7 | Oct 6 | Oct 5 | Oct 4 | Oct 3 | Oct 2 | Oct 1 | Sep 30 | Sep 29 | Sep 28 | Sep 27 | Sep 26 | Sep 25 | Sep 24 | Sep 23 | Sep 22 | Sep 21 | Sep 20 | Sep 19 | Sep 18 | Sep 17 | |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Windows | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 2 |
Mac | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 |
Linux | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 |
Readme
- Source
- raw.githubusercontent.com
DrupalSearch
Sublime 3 Plugin helps to search change records for the Drupal 7 hooks (core and contrib modules).
This package adds:
- A
DrupalSearch
command to the context menu for the selected - A pallete command for the current selection(or word)
- A pallete command that will ask you what to search within Drupal core
- A pallete command that will ask you what to search within Drupal contrib modules
🔗 Keybindings
- To search from selected text (core hooks):
alt+shift+d
,alt+shift+s
- To search from user imput (core hooks):
alt+shift+d
,alt+shift+i
- To search from user imput (contrib modules hooks):
alt+shift+o
,alt+shift+i
🔗 Install
If you're using the Sublime Package Manger hold down Ctrl+Shift+P and type
Package Control: Install Package
. Then search for DrupalSearch
and hit return.
If you're not using the package manager, go to your Sublime packages directory(Sublime Text/Packages). Then run this command
git clone git@github.com:thamanameexusa/DrupalSearch.git
Or you can download the package as a zip file https://github.com/thamanameexusa/DrupalSearch/archive/master.zip Then copy it into your Sublime packages directory.
The Packages
directory can be found in the following locations:
OS X:
~/Library/Application Support/Sublime Text 2/Packages/ ~/Library/Application Support/Sublime Text 3/Packages/
Linux:
~/.config/sublime-text-2/Packages/ ~/.config/sublime-text-3/Packages/
Windows:
%APPDATA%/Sublime Text 2/Packages/ %APPDATA%/Sublime Text 3/Packages/
🔗 Settings
{
"default_browser": "", // chrome, firefox, more valid values here https://docs.python.org/2/library/webbrowser.html#webbrowser.register
"page_url": "https://www.drupal.org/list-changes" // drupal.org url to perform the search
}
You can edit the settings by going to Preferences -> Package Settings -> DrupalSearch -> Settings
🔗 Preview
Place cursor inside a word or select some text and press alt+shift+d
, alt+shift+s
.
🔗 Usage
Command Pallette
Context Menu
Press
alt+shift+d
,alt+shift+i
to search change records of the Drupal core hooks.Press
alt+shift+o
,alt+shift+i
to search change records of the Drupal contributed modules.
㊗️ Happy Searching!
License
The code is under MIT license:
Copyright © 2018 ☮️ Purushoṭhaman @DrupalGeeks
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the “Software”), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.