this post was submitted on 03 May 2024
992 points (97.0% liked)

linuxmemes

20463 readers
543 users here now

I use Arch btw


Sister communities:

Community rules

  1. Follow the site-wide rules and code of conduct
  2. Be civil
  3. Post Linux-related content
  4. No recent reposts

Please report posts and comments that break these rules!

founded 1 year ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 97 points 3 months ago (2 children)

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.

[–] [email protected] 46 points 3 months ago

Step 5 in meme: add '.txt' to seemingly text files.

[–] [email protected] 2 points 3 months ago (2 children)

sounds like vscode.

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

[–] [email protected] 2 points 3 months ago

In this case I used notepad because it was a fresh Windows install on some VM.

[–] [email protected] 2 points 3 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.