-
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: sway Logs/ScreenshotsNo response |
Beta Was this translation helpful? Give feedback.
Replies: 45 comments
-
Settings > Centered Editor |
Beta Was this translation helpful? Give feedback.
-
That did the trick 👍🏽 I don't recall enabling that setting at any point though, perhaps a bad default for this version of intellij? |
Beta Was this translation helpful? Give feedback.
-
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. |
Beta Was this translation helpful? Give feedback.
-
The problem with it is that it eats nearly half of the viewport for that particular file to display what's basically empty space |
Beta Was this translation helpful? Give feedback.
-
Well, so is with the feature disabled. You get all the empty space on the right, rather than half the empty space on both sides. Check how it looks like with the tool windows collapsed: |
Beta Was this translation helpful? Give feedback.
-
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. |
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
-
How to disable this feature? Where can I find "Undock Tool Windows" action? |
Beta Was this translation helpful? Give feedback.
-
|
Beta Was this translation helpful? Give feedback.
-
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 |
Beta Was this translation helpful? Give feedback.
-
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. |
Beta Was this translation helpful? Give feedback.
-
I might enjoy it more if it actually were in the center of the screen, not offset to the right by the project window. |
Beta Was this translation helpful? Give feedback.
-
This can be achieved by executing the action "undock tool windows" |
Beta Was this translation helpful? Give feedback.
-
There isn't a way to combine the two? |
Beta Was this translation helpful? Give feedback.
-
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). |
Beta Was this translation helpful? Give feedback.
-
So you mean an option for the tabs to be on the center as well? Unfortunately it is not possible. The toggle centers the code in the middle of the editor, but the tabs are outside the editor. Moreover I don't think this will look good if you ask me. Let's wait the first editor to implement this and we will see if it makes sense :) |
Beta Was this translation helpful? Give feedback.
-
People, just put project view on the right, no need to center anything 😃 but interesting, will try it out 🤔 |
Beta Was this translation helpful? Give feedback.
-
我找了一早上,终于知道是啥问题了 |
Beta Was this translation helpful? Give feedback.
-
@mallowigi hi,there,I have found the root cause of the problem ![]() |
Beta Was this translation helpful? Give feedback.
-
It's not a bug, did you read the thread at all? |
Beta Was this translation helpful? Give feedback.
-
Who in their right mind thought that this option should be on by default? |
Beta Was this translation helpful? Give feedback.
-
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) ![]() |
Beta Was this translation helpful? Give feedback.
-
Changed the default to false. Gave up on challenging habits. |
Beta Was this translation helpful? Give feedback.
-
Is the default gone with this version? |
Beta Was this translation helpful? Give feedback.
-
I do not see the option for this under settings > features anymore. I actually like the centered editor. |
Beta Was this translation helpful? Give feedback.
-
I didn't remove the feature, it should still be inside the settings. Have you checked in all sections of the Features settings page? |
Beta Was this translation helpful? Give feedback.
-
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. |
Beta Was this translation helpful? Give feedback.
-
You are still using the version 8.13 |
Beta Was this translation helpful? Give feedback.
-
Should Rider be showing a newer version? I see it's 9.1.0 in webstorm, 8.13.2 in Rider. |
Beta Was this translation helpful? Give feedback.
-
Only if you have 2024.X |
Beta Was this translation helpful? Give feedback.
Settings > Centered Editor