• magic_lobster_party@kbin.run
    971·
    1 year 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.mlEnglish
      2·
      1 year ago

      sounds like vscode.

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

      • ZILtoid1991@lemmy.world
        2·
        1 year 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.