Export IDEA style settings for VSCode Follow
Answered
Is it possible to export code style settings for VSCode? Or does VSCode understand how to import IDEA (based) IDE settings?
Thank you.
Please sign in to leave a comment.
IntelliJ IDEA and VSCode formatters are different and not all the settings can be shared. The one common thing is that both support editorconfig formatting. In IntelliJ IDEA you can export some of the supported options into the .editorconfig format that can be later used in VSCode:
https://youtrack.jetbrains.com/issue/WEB-15687#focus=streamItem-27-2778370.0-0.
@SergeBaranov, as I understand it is still very limited. It doesn't seem to allow to specify, what for example is styling for curly brackets and so on. Are there spaces around arguments inside curly brackets. A huge bunch of limitations I would say.
You could ask VSCode developers to add import for IDEA code style settings.
So basically what you are saying, that there is no way at the moment, to create same code style environment between two IDEAs by exporting settings from IDEA into VSCode or vice versa.
Yes, currently it's possible only through editorconfig.
is there any 2022 updates on this? would it be possible in intellij to export .editorconfig for vscode?
Gparmigiani
Yes, it is possible:
File | Settings | Editor | Code Style
awesome thanks!