@WebStormIDE Is there a way to configure formatting settings based on code selection, similar to how it's done in ReSharper (https://blog.jetbrains.com/dotnet/2017/11/29/configuring-code-formatting-code-selection-resharper/ …)?
Yes, there's an Adjust code style intention available for the selection, but unfortunately it doesn't cover all code style options.pic.twitter.com/a005Hpz0wE
-
-
Thanks! Good to know... but doesn't seem to help in my case. Went into settings but not sure what combination to set to reformat simple getter/setters into one-liners (see image) - can you suggest anything?pic.twitter.com/tbfwJ9ZIMU
-
Sorry for delayed reply. It's possible to keep the single-line blocks in one line, but not to make them like that. Sorry. Please vote for this feature request: https://youtrack.jetbrains.com/issue/WEB-2224
- 1 more reply
New conversation -
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.