Apido
Component ID
1091408
Component name
Apido
Component type
module
Maintenance status
Development status
Component security advisory coverage
not-covered
Downloads
1395
Component created
Component changed
Component body
Drupal API enhancement contained in a user script. This userscript allows for variable and brace highlighting in code samples.
Works on the following domains:
- api.drupal.org
- drupalcontrib.org
- drupalcode.org
- cgit.drupalcode.org
Click here to install or update
- For Firefox click the link above.
- For Chrome or Opera right click and save the install link above, and follow the instruction links below.
Features
- Eclipse style highlighting.
- Matching brace highlighting.
- Ctrl+Click navigation for variables and braces.
Works with
- Firefox - with Greasemonkey.
- Chrome - with Tampermonkey, or without by following instructions here.
- Opera - following instructions here.
Usage Instructions
Click on a variable that you want to highlight, and all instances of that variable will be highlighted.
If you want to go to the first instance of a variable, hold CTRL when you click and you will automatically scroll to the first instance of that variable.
Clicking on any one these characters {}[]() will highlight its match.
Module
This should work as a module for any Drupal install that is running the API module.
This will NOT work with the regular PHP code filter as it depends on the formatting that the API module generates through the Grammar Parser module.
Inspired by another awesome script:
