this post was submitted on 14 May 2024
1358 points (99.1% liked)

Programmer Humor

32490 readers
591 users here now

Post funny things about programming here! (Or just rant about your favourite programming language.)

Rules:

founded 5 years ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 24 points 6 months ago (10 children)
[–] [email protected] 12 points 6 months ago (9 children)

Except if it's a single line file, only god can help you then. (Or running prettier -w on it before opening it or whatever.)

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

4.2 megs on one line? Vim probably can handle it fine, although syntax won't be highlighted past a certain point

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

Technically every JSON file is a single line, with line break characters here and there

load more comments (2 replies)
load more comments (7 replies)
load more comments (7 replies)