Is there a way to configure the directory SQL Developer uses to save SQL scripts?
Become or hire the top 3% of the developers on Toptal https://topt.al/25cXVn
--------------------------------------------------
Track title: CC O Beethoven - Piano Sonata No 3 in C
--
Chapters
00:00 Question
00:32 Accepted answer (Score 3)
00:55 Answer 2 (Score 24)
01:29 Answer 3 (Score 3)
02:16 Answer 4 (Score 0)
02:37 Thank you
--
Full question
https://superuser.com/questions/397523/i...
--
Content licensed under CC BY-SA
https://meta.stackexchange.com/help/lice...
--
Tags
#sqldeveloper
#avk47
ANSWER 1
Score 24
Change it in Tools > Preferences > Database > Worksheet parameters. You can browse to a new location under "Select default path to look for scripts"
Can also change the Export Data so that it defaults to somewhere else. Go to Tools>Preferences>Database>Export and Browse to the location you want to export to for "Directory".
ACCEPTED ANSWER
Score 3
Found it ...
In the Choose Directory
dialog, the left hand side has a number of commonly used short cuts, e.g. Desktop, Documents, but you can also have your own directories in there
ANSWER 3
Score 3
There is a post about this in OTN, and AlexAnd's solution opens the specified folder when I do File => Open.
The post is @
https://community.oracle.com/message/9733247#9733247
AlexAnd is saying that locate "\sqldeveloper\sqldeveloper\bin\sqldeveloper.conf" and simply add "AddVMOption -Dide.user.dir=" (where " is the full folder path that you like to use) to that file.
The disadvantage of this solution is that it will also move your settings folders to the specified folder (for me it was about 34MB), I use drop box to keep my queries so that is a wasted space.
ANSWER 4
Score 0
The suggestion in Oracle community discussion have helped https://community.oracle.com/tech/developers/discussion/720852/change-default-file-locations
Adding below option in sqldeveloper.conf
AddVMOption -Dide.user.dir=<<c:\..\..\path_to_save_files>>