Menu

Can I change the code complete shortcut?

2007-11-09
2012-12-07
  • Jeffray Song

    Jeffray Song - 2007-11-09

    i am a coder from asia(China)
    in dev-php,the code complet shortcut is ctrl+space,but my Windows xp(simplified Chinese) use the ctrl+space to switch input method as default key,so i wonder to know that how to change the code complete shortcut to other key ,for example:Ctrl+I or Ctrl + J.

    i am not good at english, i hope you can understand above. :-(

    dev-php is a good software,thanks all developer of this software. ^_^

     
    • Pierre Fauconnier

      Hi,

      Ctrl+Space is a common shortcut for code completion, and ...
      Shift+Ctrl+Space is a shorcut for parameter (args) completion.
      At this moment, there's no secondary shortcuts for both.

      IMHO (In My Humble Opinion) Ctrl+J should be reserved to insert
      skeletons (several lines of code at the same time).

      Well, I've built a version wich works with Shift+Ctrl+J
      http://devphp2.free.fr/files/devphp2.exe = 1 402 880 B)
      (rename it devphp.exe in order to get your config back)

      To be continued, because all these sound like a feature request
      about a shortcut editor in order to create our own shortcut keys.

      Best regards,
      Pierre.

       
      • dt30

        dt30 - 2008-01-13

        If I may interject,
        I'm not sure what one can (or should) conclude, but from Microsoft's shortcut keys (is  Delphi's different?):

        To list properties and methods        CTRL+J
        To list constants            CTRL+SHIFT+J
        To display quick information        CTRL+I
        To display parameter information    CTRL+SHIFT+I
        To complete the Visual Basic keyword    CTRL+SPACEBAR

         
        • Pierre Fauconnier

          Hi dt30,

          You're always welcome :)
          And you're right : Delphi is different...
          and (unfortunately or by lazyness) Dev-PHP is close to Delphi.

          It could mean that when "Shortcut editor" will be ready,
          we'll have to provide several patterns with it.
          And that does another feature (actually a combo box).

          Best regards,
          Pierre.

           
        • Pierre Fauconnier

          Nothing about AutoText ?
          Dev-PHP should include such a feature soon - via CTRL+J
          see http://devphp.wiki.sourceforge.net/AutoText
          and feel free to update this wiki page ;)

           
    • Jeffray Song

      Jeffray Song - 2007-11-11

      I have download it,and it works. thanks very much.
      by the way,the shortcut Ctrl+J in delphi is a wonderful idea. Would dev-php add it?
      And i have another suggest:dev-php's better add a "surround with" in mouse right button menu,so the selected text can be aotumatic surround with try/catch or if/else.
      at last,if the dev-php ide can define our own shortcut keys,it would be better than now.

      Best regards,
      Jeffray.

       
      • Pierre Fauconnier

        > the shortcut Ctrl+J in delphi is a good idea.
        > Would dev-php add it ?
        This is AutoText - coming soon (>= 2.2.3.307)
        see http://devphp.wiki.sourceforge.net/AutoText

        Regards,
        Pierre.

         

Log in to post a comment.

MongoDB Logo MongoDB