Recently I accidentally clicked on the Russian Alt + Enter layout and suddenly my code was formatted, and quite differently with Ctrl + K + D - transitions to a new line were placed where necessary, each parameter of the function appeared on a new line, and so on. What was it and how to call this function on the English layout? Most likely it worked Resharper, but why he reacts to the Russian layout for me a question.
- 2Bug in Resharper? - VladD
|
1 answer
If you put in the ReSharper Keyboard Scheme settings on the 2nd point, or ReSharper 2.x or IntelliJ IDEA , then by default, if the ReSharper version is older than 2016, i.e. 2017.1, etc., then pressing Ctrl + Alt + F will be used to format the code, in the same window you can configure what and how to format.

- Thank. With the Visual Studio scheme, the combination was Ctrl + Alt + Enter - Sergey
|