I agree that the enteric versions completely sidestep the gastric irritation issue. I’d totally forgotten about them because I’ve not noticed them on the store shelves.
There was a an enteric aspirin formulation called Ecotrin highly promoted many years back. I don’t recall seeing enteric ibuprofen or naproxyn at all, but probably they are available somewhere.
The only problem with enterics is that if you take them with food in your stomach, the drug may be erratically absorbed in the gut, but if the alternative is being miserable, that risk is preferable.