Menu

Snippet Drag and Drop Control Plugin Request

2008-07-11
2012-11-14
  • Brandon Miller

    Brandon Miller - 2008-07-11

    A real nice plugin would be a docked window at the left of the text box there be a list of user defined and already put in snippet items. And when you drag it onto the source code where-ever it is dropped the code that the item goes to is inserted into that particular section. I know it is alot like an existing plugin but it is better and it is more simple and convienent.

     
    • Jens Lorenz

      Jens Lorenz - 2008-07-14

      I second this also ;). But I haven't much time. Next release is hopefully a BETA of FunctionList. But at the moment some bug reports for Explorer and HexEditor are upcoming.

      However, if anyone would like to implement this, here are some ideas how to implement it faster.
      Merge the functionality of Faves of Explorer plugin and QuickText. The tree should view something like this:

      +General
      +C
      +Java
      +NSIS
      +HTML
      |  |-DOCTYPE
      |  |-HEAD
      |  |-href
      |  |-table22
      |  '-table44
      +Perl

      Each snippet language group like "HTML" contains language specific snippets ;) and will be collapsed if the language is recognized by Notepad. The item "General" contains snippets that can be used at any time and will not be toggled. Also the window should IMO contain a filter like the Function List alpha. If anyone would like to have the code, please let me know.
      QuickText should be a little modified. Every modification position should be marked with some quotes like <<link>>. If there exist in the snippet two identical positions the other one should be updated.

      Best Regards
      Jens <- @jive01: pay attention to the 's' .)

       
    • jive

      jive - 2008-07-13

      I second this. Komodo Edit (not nearly as good as n++ has this and is built on scintilla. This would be a great plugin. (hint, hint jenz ;) ) .