How to change the window size of sqldeveloper on startup

Seth F :

I have Windows 10 and sqldeveloper 19.2.1.247. I have my laptop's and another monitor. When I start sqldeveloper the window is very wide and I have shrink it. I see several posts about fixing font size, but none about window size. Is it possible to set initial window size and save it? Right now it spans both monitors and I have to shrink the width quite a bit. It is Oracle sqldeveloper.

Alex Poole :

SQL Developer usually remembers the size and position when you relaunch. It seems either your config/cache is corrupt or locked, or something else is breaking when it tries to save on exit.

From a bit of poking around, the main window size and position is stored in

~\AppData\Roaming\SQL Developer\system19.2.1.247.2212\system_cache\config\Preferences\com\oracle\jdeveloper\nbwindowsystem\Default\mainwnd.properties 

so you could potentially manually change that (while it isn't running).

It might be simpler to do a reset, from the application's Window menu - which has option

Reset Windows To Factory Settings

That clears all window/panel settings, not just the main window size/position, but as it seems to clear the cache it might clear the issue and let subsequent size/position changes be saved properly.

Guess you like

Origin http://10.200.1.11:23101/article/api/json?id=376458&siteId=1