• Resolved randon

    (@randon)


    A great plugin, especially the ability to put css, javascript and php snippets in the same plugin.

    What I wanted to ask is how can I determine the order of the snippets?
    My new javascript snippet must be placed under another javascript snippet otherwise it won’t work and I want to keep both separate.

    ps: Something that has nothing to do with this question… is it possible to make the editbox a bit bigger (or resizable)?
    It is often too small to oversee a script.

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author Mircea Sandu

    (@gripgrip)

    Hi @randon,

    Thank you for your feedback, it’s great to hear you are enjoying the plugin.

    Regarding the order of the snippets – you can use the “Priority” field in the snippet settings to control the order, the lower the number, the earlier it will be executed. So in your case, you can set a priority of 5 for the snippet you want to run first, so that it gets loaded before any of the snippets with the default value of 10.

    Regarding the height of the code editor – you can create a snippet for that – please see this answer.

    Thread Starter randon

    (@randon)

    Hi Mircea,

    Thank you for your answer.
    It works great.

    As far as the editbox is concerned, isn’t it possible to make it resizable (drag it with the mouse) and then save the current height in a setting?

    Thread Starter randon

    (@randon)

    Ah, forgot to ask one more thing…

    If it’s not too much work is it possible to also add a column “Priority” in “All Snippets”?

    Plugin Author Mircea Sandu

    (@gripgrip)

    Hi @randon,

    Making the code editor resizable with a mouse is not possible at this time, we are looking into potentially adding an option in settings for the height of the editor in a future version.

    Regarding the Priority column – I have made a note about that and we’ll look into adding that when we extend the list of snippets screen.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘How can I determine the order of the scripts?’ is closed to new replies.