how to force side panels to have uniform width / size
已回答
when I switch side panels, the main editor bumps left and right arbitrarily. I want them to have same width. (Project , structure panels etc.)
Is it possible to modify source code to achieve this? I have a custom idea community built yesterday.
and where is the layout info saved on disk? I used Everything.exe to monitor file changes but no success..
请先登录再写评论。
just turn of option “remember size”:
https://youtrack.jetbrains.com/issue/IDEA-293980/Tool-windows-option-to-keep-individual-size-per-window
Another question, how to use right-click dragging on the line-number margin to resize side panels? I'm using this trick in vscode (via javascript injection) and in visual studio (via ahk script that detects mouse cursor change).
vlog demo : https://twitter.com/KnIfER21612801/status/1729128841652875514
I want to achieve the same effect in the community build to make it easier to resize docked tool windows. could someone give me some advice please, the codebase is so large..
https://www.jetbrains.com/help/idea/directories-used-by-the-ide-to-store-settings-caches-plugins-and-logs.html#config-directory
In the XML file, the layout looks like below:
```
```
If it's related to plugin development, it's better to ask on our [IntelliJ IDEA Open API and Plugin Development forum](https://intellij-support.jetbrains.com/hc/en-us/community/topics/200366979-IntelliJ-IDEA-Open-API-and-Plugin-Development).
This is more related to modifying the IDEA itself rather than plugins. I found a way to do it. In fact, the modification is quite simple, involving less than 100 lines of code. This is because the logic for drag-and-drop is already defined in `EditorImpl.java`.
The tricky part is locating the separator bar when you right-click and drag. I took a shortcut. I saved variables for all the separator bars and then compared distances.
It works great, and it doesn't affect the original right-click menu.
my project page : https://github.com/appxmod/intellij-idea-lite
Once I learn how to package it, I'll upload an installer. I wonder if that plugin forum would be a good place to showcase my modifications?
> I wonder if that plugin forum would be a good place to showcase my modifications?
Maybe not exactly what you are looking for. But for hints, yes.