Lately, my co-worker spent 15 minutes indenting JS files without realizing that it would 10s to use a code beautifier.
Lately, my co-worker spent 15 minutes indenting JS files without realizing that it would 10s to use a code beautifier.
If there is an opportunity for your co-worker to be more effective, that's a great thing. You get to be the one to show him how. Just don't forget to do so with humility, because maybe there's a very good reason for doing it the way he does now. And if he's not interested in your advice, try not to take it personally.
It may be that you really are surrounded by idiots. Your co-workers are stupid, management is incompetent, they'd all be better off if they just listened to you, whatever. In this (unlikely) worst case, negativity still gets you nowhere. Acknowledge to yourself that you aren't satisfied with the situation, start looking for another job, and continue to show up every day doing your best and helping those around you. I've watched others take this approach and they're doing a lot better in their careers than I am, and they seem happier.
You can motivate or coerce your team mates to improve their skills so they all benefit. You can even ask your team leader/boss to be the lead of an initiative at your place to use better tools or technologies so that the productivity will increase. If you get an OK you'll even have an opportunity to spend some paid time doing something which will keep you sharp and improve your daily experience.
If you think you can't get the above to work or that you're way beyond the skills of your team, look for another job with better conditions.