I am a bit familiar with JetBrains products and I know I can set style for the files I am working on. However, I am not able to find where to configure my .tsx file in order to see my desired style. Seems, changes in TypeScript section doesn't change my .tsx file.
As you can see in the following image, I have .tsx file and I want to have space after {
, before }
and before />
. However, my all spaces gets removed after I hit command+option+L.
You need the option Within interpolation expressions (works in WS2017.2) in Preferences -> Editor -> Code style -> TypeScript: