Support » Plugin: Code Snippets » [Plugin: Code Snippets] Ideas / Feature Requests

  • Resolved Clifford Paulick


    Thanks so much for this plugin. I was looking to create something like this myself and share it with the world, but yours is so good, no more need to do that. Great job!

    Here are some ideas / feature requests (in addition to import/export):

    – syntax highlighting

    – a button to click that checks for duplicate functions (option to check just active, just inactive, or all) — maybe a better word than duplicate is “core parents”. For example:

    /* from */
    function enable_more_buttons($buttons) {
      $buttons[] = 'hr';
     return $buttons;
    add_filter("mce_buttons", "enable_more_buttons");

    If more than one function ties into “mce_buttons” — you could display all those functions. Then the user can manually check if they are actually true duplicate/conflicting functions — because I don’t know how you could check true duplicate functionality programmatically.

    Maybe someone else will piggyback this thread and add some other ideas.

    Thanks again for this plugin! 🙂

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Shea Bunge


    Thanks for the great ideas. I hadn’t really thought of them before.
    I will be implementing syntax highlighting in the next release (1.2) using the EditArea software.

    As for the second one, I’m not really sure if there’s a way to check duplicate functionality.
    I suppose that when you save the snippet Code Snippets could grab all of the other snippets from the database and scan through them for duplicate action and filter hooks; but that would not include other plugins or themes that also have those hooks.
    In short, I recommend that you label and describe what your snippets do and keep them organized. If you (or anyone else) have an idea of how that functionality would be implemented, then feel free to let me know.

    Plugin Author Shea Bunge


    Also, if everything goes to plan then import/export will be in version 1.3 and multisite support (network activation) will be in version 1.4.

    Clifford Paulick


    Looking forward to the update(s). Thank you.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘[Plugin: Code Snippets] Ideas / Feature Requests’ is closed to new replies.