Giter VIP home page Giter VIP logo

bbedit-clippings-for-drupal's Introduction

BBEdit Clippings for Drupal

This are clippings for Drupal 7. They include:

  • All hooks
  • All drupal_* functions
  • All devel module print/debug functions
  • Common functions like t, l, url, check_*
  • Control structures like for, if and switch
  • Snippets for doxygen and function
  • Some theme functions for quick insert into template.php.

Installation

Copy the Drupal7.php folder in to your ~/Library/Application Support/BBEdit/Clippings folder and restart BBEdit.

Tips about ctags

With ctags files you get autocompletion of functions, classes etc.

Run the following commands in the root of a Drupal install to generate ctags files for PHP and JavaScript:

/Applications/BBEdit.app/Contents/Helpers/ctags --langmap=php:.engine.inc.module.theme.php.test.install --php-kinds=cdfi --languages=php --excmd=number --tag-relative=no --fields=+a+m+n+S -f drupal_ctags_php.txt --recurse "$PWD"
/Applications/BBEdit.app/Contents/Helpers/ctags --languages=JavaScript --excmd=number --tag-relative=no --fields=+a+m+n+S -f drupal_ctags_js.txt --recurse "$PWD"

Copy them to these folders to activate them:

~/Library/Application Support/BBEdit/Completion Data/JavaScript
~/Library/Application Support/BBEdit/Completion Data/PHP

Bugs and Suggestions

Should be submitted to: https://github.com/frjo/BBEdit-Clippings-for-Drupal/issues

bbedit-clippings-for-drupal's People

Contributors

frjo avatar

Stargazers

 avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.