Useful for things you don’t edit but still would need to scroll past

  • @theunknownmuncher
    link
    511 hours ago

    This makes more sense, to me, to be stored in some IDE project config file than be present in and cluttering up the actual source code. This should be an IDE feature instead of a language feature IMO

    • @Kelly
      link
      English
      57 hours ago

      I think having region boundaries part of the code makes sense. Is the alternative having file and line number references somewhere else? They could fall out of sync all too easily.

      But the open/collapsed state of the regions? That should be per-user IDE state, the last thing we want us that becoming diff noise in the repo.

      • @theunknownmuncher
        link
        1
        edit-2
        6 hours ago

        I just disagree, but that’s okay. This is about presentation of code to the viewer which makes it a responsibility of the IDE and not a responsibility of the language. You’re right that the line references would need to be kept in sync, but I think that would be trivial.