Describe the bugObservations:
To Reproduce
Expected behaviorLine numbers panel is the correct size. Material Theme Versionv9.1.0 IDEPyCharm System InfoUbuntu 23.10 PyCharm 2024.1 (Professional Edition)
Build #PY-241.14494.241, built on March 28, 2024
Licensed to [ ... ]
Runtime version: 17.0.10+8-b1207.12 amd64
VM: OpenJDK 64-Bit Server VM by JetBrains s.r.o.
Linux 6.2.0-37-generic
GC: G1 Young Generation, G1 Old Generation
Memory: 3974M
Cores: 8
Registry:
ide.balloon.shadow.size=0
editor.distraction.free.mode=true
debugger.new.tool.window.layout=true
ide.new.editor.tabs.vertical.borders=true
ide.linux.hide.native.title=false
ide.experimental.ui=true
ide.editor.tab.selection.animation=true
Non-Bundled Plugins:
io.github.fstaudt.helm (0.8.2)
net.sjrx.intellij.plugins.systemdunitfiles (223.240127.136)
com.mnr.java.intellij.idea.plugin.base64helper (3.0.0)
ru.sadv1r.ansible-vault-editor-idea-plugin (1.21)
org.intellij.plugins.hcl (241.14494.150)
de.netnexus.camelcaseplugin (3.0.12)
lermitage.intellij.ilovedevtoys (1.10.2)
org.jetbrains.plugins.go-template (241.14494.150)
codes.rudolph.idea.cfg (0.3.1)
com.intellij.ideolog (222.3.2.0)
name.kropp.intellij.makefile (241.14494.150)
ir.msdehghan.plugins.ansible (0.92)
dev.meanmail.plugin.nginx-intellij-plugin (2022.1.1)
indent-rainbow.indent-rainbow (2.2.0)
com.intellij.kubernetes (241.14494.150)
net.seesharpsoft.intellij.plugins.csv (3.3.0-241)
com.intellij.ml.llm (241.14494.240)
izhangzhihao.rainbow.brackets (2024.2.2-241)
net.ashald.envfile (3.4.2)
ru.adelf.idea.dotenv (2024.1)
com.chrisrm.idea.MaterialThemeUI (9.1.0)
com.fapiko.jetbrains.plugins.better_direnv (1.2.2)
com.mallowigi (95.0.0)
mobi.hsz.idea.gitignore (4.5.2)
com.github.blarc.gitlab-template-lint-plugin (1.13.2)
Current Desktop: swayLogs/ScreenshotsNo response |
Replies: 45 comments
|
Settings > Centered Editor |
|
That did the trick 👍🏽 I don't recall enabling that setting at any point though, perhaps a bad default for this version of intellij? |
|
No. It's a new feature of the Material Theme UI. It's enabled by default for all users. I need to write an article about this but bottomline, this centers the editor rather than pin it to the left. This is especially great when the tool windows are collapsed, mimicking the behavior of websites such as Reddit, Medium and so on. I encourage you to give it a shot, alongside enabling the "Undock Tool Windows" action. |
|
The problem with it is that it eats nearly half of the viewport for that particular file to display what's basically empty space |
|
The former produces a predictable place for your eyes to start scanning the file, as the margin is always the same. I personally think it's not a good default and hurts ergonomy and especially for those of us already accustomed to intellij's default, but other people might disagree clearly, 100% personal pref. |
How to disable this feature? Where can I find "Undock Tool Windows" action? |
|
|
There's a few bug reports gone into phpstorm for this, it's also not mentioned in the plugin changelog / whats new. It's a little odd for a setting like this to be enabled by default https://youtrack.jetbrains.com/issue/WI-76827 |
|
Just like I said previously, it's an opinionated choice. I apologize for the lack of visibility in the changelog and the documentation. I'll try to find a time to carefully document that, in the meantime, this issue will serve as a reference for future issues of the same nature. |
|
I might enjoy it more if it actually were in the center of the screen, not offset to the right by the project window. |
This can be achieved by executing the action "undock tool windows" |
|
There isn't a way to combine the two? |
|
There are two separate actions. The centered editor feature does just that. In fact, there is a similar feature like Centered Editor, available in the native IDE called "zen mode". When enabled, it undocks all tool windows and center editors. However it also hides other parts of the ide, and there is no way to control what to hide and what not. The centered editor is like in the middle, it only centers the editor. (In fact, the centered editor and zen mode use the same functionality under the hood). |
|
我找了一早上,终于知道是啥问题了 |
|
@mallowigi hi,there,I have found the root cause of the problem
|
It's not a bug, did you read the thread at all? |
|
Who in their right mind thought that this option should be on by default? |
sorry,I really didn't see all of this thread,But on my monitor, it does seem strange to have this feature enabled by default(4K 27 inches 3008×1692)
|
|
Changed the default to false. Gave up on challenging habits. |
|
Is the default gone with this version? |
|
I do not see the option for this under settings > features anymore. I actually like the centered editor. |
|
I didn't remove the feature, it should still be inside the settings. Have you checked in all sections of the Features settings page? |
I don't see the features page where it used to be under the main Material Theme UI dropdown, only the Edit: When I open the IDE the editor is centered for a few seconds, and then moves back to the left side. |
|
You are still using the version 8.13 |
Should Rider be showing a newer version? I see it's 9.1.0 in webstorm, 8.13.2 in Rider. |
|
Only if you have 2024.X |










Settings > Centered Editor