My Oracle Support Banner

SQL Developer Preferences Getting Lost After Restarting (Doc ID 2328148.1)

Last updated on AUGUST 04, 2018

Applies to:

Oracle SQL Developer - Version 17.3.1 and later
Information in this document applies to any platform.


Changing SQL Developer preferences at runtime are not getting saved.
Re-starting SQL Developer showing default preferences.

Some Examples:
1) Preferences > Code Editor > Format > Advanced Format > Under the Line Breaks section: "On procedure arguments".

2) Preferences > Code Editor > Format > Advanced Format > Under the Line Breaks section: "On ANSI".

3) Preferences > Code Editor > Format > Advanced Format > Under the Indentation section: "Indent spaces".

Steps to reproduce

1) Download and extract SQL Developer into a folder location like the following one. (Has to be a large folder name)



2) After extracting, structure is like this:



3) Create a custom folder to hold application settings:



4) To make it portable add the following line to the bottom of configuration file to point to step 3 folder:

C:\oracle\sqldeveloper1731\sqldeveloper-\sqldeveloper\ide\bin\jdk.conf file

AddVMOption -Dide.user.dir=../../xxCustom/settings


5. Run sqldeveloper.exe:



6. You will see the application settings now get stored here:



7. Go in and update the formatter settings, save, close out of sqldeveloper, open again, go back into the formatter settings and you will see they get reset to the defaults.





To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!

My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.