Community
    • Login
    1. Home
    2. Popular
    Log in to post
    • All Time
    • Day
    • Week
    • Month
    • All Topics
    • New Topics
    • Watched Topics
    • Unreplied Topics
    • All categories
    • Robk BlueR

      Tidy2 or other HTM L plugins

      Watching Ignoring Scheduled Pinned Locked Moved General Discussion
      1
      0 Votes
      1 Posts
      39 Views
      No one has replied
    • Lionel LagardeL

      C++11 raw string literal syntax hightlighting

      Watching Ignoring Scheduled Pinned Locked Moved General Discussion
      1
      0 Votes
      1 Posts
      29 Views
      No one has replied
    • donhoD

      Notepad++ v8.9.3 Release Candidate

      Watching Ignoring Scheduled Pinned Locked Moved Announcements
      10
      5 Votes
      10 Posts
      365 Views
      donhoD

      New RC2, which fixes the issue where printing caused Notepad++ to crash, is available:
      https://github.com/donho/notepad-plus-plus/releases/tag/RC2

    • donhoD

      Support for Plugins Admin & NppPluginList

      Watching Ignoring Scheduled Pinned Locked Moved Notepad++ & Plugin Development
      75
      1 Votes
      75 Posts
      131k Views
      ThosRTannerT

      I’ve been footling around with my plugin a bit to try and generate a PR automatically when a new version is released. So - is the layout of the json files significant.

      Most of the entries look like

      \t\t\t{ \t\t\t"folder-name": "Linter++", \t\t\t"display-name": "Linter++", \t\t\t"version": "1.0.3.0", \t\t\t"npp-compatible-versions": "[8.7.5,]", \t\t\t"id": "F56573351010B62BFC75039725496C8687D53E82A3F47074F1F1B629A37A92C1", \t\t\t"repository": "https://github.com/ThosRTanner/notepad-pp-linter/releases/download/1.0.3/plugin_dll_ARM64.zip", \t\t\t"description": "Allows realtime code check against any checkstyle-compatible linter: jshint, eslint, jscs, phpcs, csslint, and many others.", \t\t\t"author": "Tom Tanner", \t\t\t"homepage": "https://github.com/thosrtanner/notepad-pp-linter" \t\t\t},

      So I thought i could do my updater in python, just load up the json file, modify my entry, and dump it back, then commit

      One entry (just one) uses spaces instead of tabs.

      So my question is is there an official layout for these files? Is any valid json permissible (all on one line for instance), or is it expected to be formatted as 1 line per key and indented with tabs?

      Would converting those spaces to tabs as part of my PR be frowned upon, or should I just read the file and modify the lines appropriately?