void (@NotNull ToolWindow toolWindow) { Rectangle rectangle = Objects.requireNonNull(WindowManager.getInstance().getIdeFrame(myProject)).suggestChildFrameBounds(); toolWindow.setDefaultState(ToolWindowAnchor.RIGHT, ToolWindowType.DOCKED, new Rectangle(rectangle.width / 4, rectangle.height)); toolWindow.setType(ToolWindowType.DOCKED, null); toolWindow.setSplitMode(true, null); toolWindow.setAutoHide(false); }