Community
    • Login

    Running plugin option from Windows command line

    Scheduled Pinned Locked Moved General Discussion
    2 Posts 2 Posters 335 Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • Michael SimpsonM
      Michael Simpson
      last edited by

      This might be a naïve question, but if you don’t ask, you never know.
      I use the JSON Formatter under NP++ a lot in my job.
      The problem I see with this is that I have to open every file, then run the formatter plugin manually.
      What I would like to do is to be able to run the plugin formatter, specifying my input file, (possibly) an output file, and some sort of error file (in case the file content wasn’t valid).
      Basically, I suppose I’m asking whether anyone knows of a way of formatting a swagger/schema file (via a Windows command) such that any error can be picked up.
      I would be doing this at work (as well), so anything that requires installation of “unusual” s/w is out of the question.
      All suggestion gratefulle received.

      Michael VincentM 1 Reply Last reply Reply Quote 0
      • Michael VincentM
        Michael Vincent @Michael Simpson
        last edited by

        @Michael-Simpson

        If you want to do this from the command line, why don’t you just use jq? There is a Windows version for it.

        Cheers.

        1 Reply Last reply Reply Quote 0
        • First post
          Last post
        The Community of users of the Notepad++ text editor.
        Powered by NodeBB | Contributors