Page 1 of 1

Sharing formating profile

Posted: Mon 14 Apr 2014 15:05
by augustin.yann
Hello,
I am evaluating DbForge Fusion with Visual Studio 2013.

I created a new formatting profile and configure it.
I want now to share the configuration XML file with my colleague to have a common format for the company.
But I did not found a way to open an existing file. How can my colleague open the file?
I can only create a new one or edit an existing one.

Best regards

Re: Sharing formating profile

Posted: Mon 14 Apr 2014 16:30
by alexa
You can share the snippet file with your colleague. The snippets folder locates at:
%programdata%\devart\dbForge Fusion for Oracle\Visual Studio\Snippets

Re: Sharing formating profile

Posted: Tue 15 Apr 2014 08:20
by augustin.yann
alexa wrote:You can share the snippet file with your colleague. The snippets folder locates at:
%programdata%\devart\dbForge Fusion for Oracle\Visual Studio\Snippets
Hello,

Thank you for the info.
But I am looking to share the Formatting profile, not only the snippet.
So I am sure all codes are formatted the same.

Best regards

Re: Sharing formating profile

Posted: Tue 15 Apr 2014 09:26
by alexa
Formatting profiles can be found in the following folder:
%SystemDrive%\Users\%UserName%\AppData\Roaming\Devart\dbForge Fusion\Visual Studio\FormatProfiles\Oracle

Also, you can find formatting profiles as follows:
1. Select 'Tools -> Options' from the main menu. The 'Options' window opens.
2. Navigate to the 'Text Editor -> Oracle (Devart) -> Formatting -> Profiles' branch.
3. Select a profile and click the 'Show in folder' button.

Additionally, you can export formatting profiles as follows:
1. Select 'Tools -> Import and Export Settings...' from the main menu. The Import and Export Settings Wizard opens.
2. Select the 'Export selected environment settings' radio button and click 'Next'.
3. Expand the 'Devart dbForge Fusion -> Oracle -> Text Editor (Oracle) -> SQL Formatting' branch.
4. Select the 'Profiles' option.
5. Click 'Next' and then 'Finish'.

Re: Sharing formating profile

Posted: Wed 16 Apr 2014 12:30
by augustin.yann
alexa wrote:Formatting profiles can be found in the following folder:
%SystemDrive%\Users\%UserName%\AppData\Roaming\Devart\dbForge Fusion\Visual Studio\FormatProfiles\Oracle

Also, you can find formatting profiles as follows:
1. Select 'Tools -> Options' from the main menu. The 'Options' window opens.
2. Navigate to the 'Text Editor -> Oracle (Devart) -> Formatting -> Profiles' branch.
3. Select a profile and click the 'Show in folder' button.

Additionally, you can export formatting profiles as follows:
1. Select 'Tools -> Import and Export Settings...' from the main menu. The Import and Export Settings Wizard opens.
2. Select the 'Export selected environment settings' radio button and click 'Next'.
3. Expand the 'Devart dbForge Fusion -> Oracle -> Text Editor (Oracle) -> SQL Formatting' branch.
4. Select the 'Profiles' option.
5. Click 'Next' and then 'Finish'.
Hello,

Thank you again for the info. This help.

But is is possible to just open the profile XML file?
My goal is to send by mail or put the XML file on TFS and ask other user to open and use it.
Going through the import/export functionality impose that all users have the same directory structure. This is not always the case, especially regarding the local path of TFS.

Best regards.

Re: Sharing formating profile

Posted: Wed 16 Apr 2014 13:08
by alexa
This can be achieved as follows:

1. Select 'Tools -> Options' from the main menu. The 'Options' window opens.
2. Navigate to the 'Text Editor -> Oracle (Devart) -> Formatting -> Profiles' branch.
3. Click the 'New Profile...' button. The 'New Profile' dialog opens.
4. In the 'File Path:' field , select the file extracted from TFS and click 'OK'.
5. Select the newly added profile in the 'Formatting Profiles' list in the 'Options' window and click the 'Activate' button.
6. Click 'OK'.

Re: Sharing formating profile

Posted: Wed 07 May 2014 07:10
by augustin.yann
Thank you.

This is working fine :D

Best regards

Re: Sharing formating profile

Posted: Wed 07 May 2014 08:55
by alexa
Please let us know if any questions arise.