• magic_lobster_party@kbin.run
    link
    fedilink
    arrow-up
    4
    ·
    7 months ago

    One time I struggled debugging a program on a clean Windows machine. For some reason it seemed like it couldn’t find a JSON file that’s obviously in the system. I could even open the file on my own and view its contents.

    Turns out after much frustration that the file was actually a json.txt file. I didn’t notice because the extension was hidden, so I only saw .json and thought it was fine.

    • JoYo@lemmy.ml
      link
      fedilink
      English
      arrow-up
      0
      ·
      7 months ago

      sounds like vscode.

      helix or micro on windows to get away from that garbage.

      • ZILtoid1991@lemmy.world
        link
        fedilink
        arrow-up
        1
        ·
        7 months ago

        Notepad is the one that does things like that, because they want you to only use it for *.txt files. VSCode does not have issues like that.