We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 9207 ☆ A M B ☆
    • 2,475 Posts
    I looked at this per Jason’s recommendation... but I knew I was in for some trouble because I’ve gotten so used to the keyboard shortcuts in Coda and they’re very different in PhpStorm. Coda is not a real IDE, but it has saved me so much time coming from Smultron and TextWrangler.
      • 3749
      • 24,544 Posts
      It’s pretty easy to edit the KB shortcuts in PhpStorm (and most other editors, for that matter). The only KB shortcut I miss in PhpStorm is the old Wordstar Ctrl-Q-# and Ctrl-K-#, which let you *very* quickly set and jump to numbered bookmarks. They’re still there in a lot of editors (e.g. PhpEd). OTOH, PhpStorm’s bookmark system is quite good too.

      I keep finding amazing things in PhpStorm that I’ve needed for some time. Here’s one: Say you’ve made a bunch of edits at various places in a file in the editor. Looking back over it, you see one complex change that shouldn’t have been made at all. You can’t use ctrl-Z for undo because it will undo all the changes you made after that one. In PhpStorm, I just noticed that there’s a little blue margin next to every changed section. Not only can you see which sections you’ve changed (which is pretty handy by itself), you can revert them individually in any order.

      I’m also happy to report that the debugging is working in the latest EAP release and is much easier to set up. The MODx object methods are still being marked as unknown, but that’s not a huge deal. It does still run out of memory and crash on some whole-project searches when it hits ext-all.js unless you exclude that directory.
        Did I help you? Buy me a beer
        Get my Book: MODX:The Official Guide
        MODX info for everyone: http://bobsguides.com/modx.html
        My MODX Extras
        Bob's Guides is now hosted at A2 MODX Hosting
        • 17499 ☆ A M B ☆
        • 872 Posts
        When i tested it, it took a very long time to process anything in a js file (probably due to ExtJS).

        I have to admit taht i liked most of the functionalities but like Everett, i’m still very attached to my code editor ( Notepad++ ) and always go back to it for quick editing.

        PhpStrom like Netbeans swallow too much memory on my computer too.

        But i miss the code completion facilities present in Phpstorm for instance.
          • 3749
          • 24,544 Posts
          The Live Templates are also a real treat.

          I can type gor (for "getObject resource") followed by the tab key and have this on the screen in a flash (with the cursor between the last two quotes):

          $modx->getObject('modResource', array('pagetitle')=>''));


          And, if I’m inside a class, I type tgor-tab for:

          $this->modx->getObject('modResource', array('pagetitle')=>''));


          The live templates are really easy to create, and you can put in variables and tab between the parts you need to fill in. You can also highlight code and "surround" it with a live template.

          Here’s a general getObject() live template (go-tab):

          $modx->getObject('mod$object$', array('$name$')=>'$value$'));
          $end$
          

          The $end$ puts the cursor on the next line after you’re done tabbing through the stuff you need to enter. I can enter a whole getObject() call in a few seconds and be sure it has no syntax errors.
            Did I help you? Buy me a beer
            Get my Book: MODX:The Official Guide
            MODX info for everyone: http://bobsguides.com/modx.html
            My MODX Extras
            Bob's Guides is now hosted at A2 MODX Hosting