• magic_lobster_party
    link
    fedilink
    968 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 🇺🇸
      link
      fedilink
      English
      28 months ago

      sounds like vscode.

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

      • @ZILtoid1991
        link
        28 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.