As far as I'm aware, not a single prominent US tech company left the US because of the wars in Iraq and Afghanistan.
JetBrains, by any standard, is doing a great thing here.