Center align editor code outside of distraction free
Answered
Hi I really like how the code center aligns in "distraction free mode". However as soon as I want to debug something I have to exit.
In distraction free mode breakpoints are not visible and don't seem to work even though I can show the debugger panel with shortcuts.
Is this possible? all I could see was hard wrapping with columns.
Thanks
Please sign in to leave a comment.
Yes, please see my answer here: https://stackoverflow.com/a/44802228/104891 .
Thanks adding "-Deditor.distraction.free.mode=true" in
Help
| Edit Custom VM Options. works :)Hi, I tried this same option in CLion 2018.1 via the Edit Custom VM Options. But nothing changed. Does it matter where you place it in the clion64.exe.vmoptions ??
No, it doesn't matter, just have to be a separate line.
After PyCharm upgrade to a new version had to restart it twice to for the solution to work.
After I did that, distraction free just stop working
Enter/Exit Distraction free mode will restore the original behavior. This option is to force the distraction free mode for the editor only without hiding the tool windows, so you normally use one or another, not both at the same time.
I'd like to use distration free pattern again in default mode (without flat behaviour ) but even after removing the flag, the original behavior doesn't come back. Even after reinstalling an IDE.
Check that you don't have the flag in Help | Edit Custom VM Options. I can't reproduce the problem.
The flag is not in the file.
Check in Help | Find Action | Registry:
The flag is being updated correctly, the problem is that when distraction free is enabled the toolbars keep popping up
Please report at https://youtrack.jetbrains.com/issues/IDEA with the video of the issue and the logs attached (https://intellij-support.jetbrains.com/hc/articles/207241085).
I fixed it removing directory ~/Library/Preferences/IntelliJIdea* and restarting the IDE.
Thanks.
Is there a way to drag the centering as in how it is done with the tool windows?
No, it's fixed.