How can I set default SQL file directory in PS?

Hi,there!

 I'm new to PS.Since  I added a DB connection in Project data source.

 Every time I new a console file to create SQL statement,the sql file generated in my OS disck directory

C:\Users\Administrator\.PhpStorm2016.1\config\consoles\db\d2926216-0802-49f0-b252-1ae96ab98d46\console.sql

 Is it possible to set a different directory as I wanted in PS?

 

Thanks,

QuainChen

  

3 comments
Comment actions Permalink

Hello,

There is no option to customize this particular directory.
The whole IDE configuration directory can be customized as per https://www.jetbrains.com/help/idea/2016.2/file-idea-properties.html.

But why would you want to customize this? Are you experiencing any issues?

0
Comment actions Permalink

Hi, Vladimir:

   No, I didn't encounter any issue so far.

   Can I use PS to export SQL query into a SQL file by something  like "save as" in lots of  software?

   Because I don't want to  copy statements ------->create a new  file ------->paste------->save(----->sometimes  modify extension).

   If this function is not yet  available,would you guys  consider to add it in PS in following version?

 

Thanks,

Quain Chen

0
Comment actions Permalink

You can switch the Project tool window scope to Scratches - see https://www.jetbrains.com/help/phpstorm/2016.2/project-tool-window.html.

Then find a console file there and save it as something else.

0

Please sign in to leave a comment.