Fix netbeans do not index drupal’s files

When you open a drupal project using netbeans > 7.2.1, netbeans won’t index files, so we can not go to functions or refactor code. Here is the way to set up netbeans so that it can recognize drupal’s files. Then you have to delete netbeans’s cache, so that it can re-index drupal project: rm -rf ~/.cache/netbeans/8.0.2

Advertisements

Install Sublime Text 3 on Ubuntu

  1. Install dev build:
    http://www.sublimetext.com/3dev
  2. cd ~/.config/sublime-text-3/Packages
  3. git clone git://github.com/wbond/sublime_package_control.git Package\ Control
  4. git clone https://github.com/martomo/SublimeTextXdebug.git “Xdebug Client”
  5. git clone -b BH2ST3 git://github.com/facelessuser/BracketHighlighter.git “BracketHighlighter”
  6. git clone https://github.com/spadgos/sublime-jsdocs
  7. git clone -b st3 git://github.com/titoBouzout/SideBarEnhancements.git “SideBarEnhancements”
  8. git clone https://github.com/sergeche/emmet-sublime.git Emmet
  9. git clone https://github.com/bgreenlee/sublime-github
  10. wget https://github.com/SublimeCodeIntel/SublimeCodeIntel/archive/v2.0.6+st3.tar.gz
    tar xfvz v2.0.6+st3.tar.gz -C ./
    mv SublimeCodeIntel-2.0.6-st3 SublimeCodeIntel
  11. git clone https://github.com/dzhibas/SublimePrettyJson.git
  12. git clone https://github.com/srusskih/SublimeJEDI.git SublimeJEDI
  13. git clone https://github.com/akalongman/sublimetext-codeformatter
  14. sudo pear install PHP_Beautifier-0.1.15 –alldeps
    /usr/bin/php_beautifier
    line 52
    error_reporting(E_ALL & ~E_STRICT & ~E_DEPRECATED);

Refs: http://www.henriquebarroso.com/my-top-10sublime-2-plugins/