Sharing formating profile

Discussion of open issues, suggestions and bugs regarding database management and development tools for Oracle
Post Reply
augustin.yann
Posts: 8
Joined: Mon 14 Apr 2014 11:21

Sharing formating profile

Post by augustin.yann » Mon 14 Apr 2014 15:05

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

alexa
Devart Team
Posts: 2424
Joined: Fri 24 Jun 2011 14:17

Re: Sharing formating profile

Post by alexa » Mon 14 Apr 2014 16:30

You can share the snippet file with your colleague. The snippets folder locates at:
%programdata%\devart\dbForge Fusion for Oracle\Visual Studio\Snippets

augustin.yann
Posts: 8
Joined: Mon 14 Apr 2014 11:21

Re: Sharing formating profile

Post by augustin.yann » Tue 15 Apr 2014 08:20

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

alexa
Devart Team
Posts: 2424
Joined: Fri 24 Jun 2011 14:17

Re: Sharing formating profile

Post by alexa » Tue 15 Apr 2014 09:26

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'.

augustin.yann
Posts: 8
Joined: Mon 14 Apr 2014 11:21

Re: Sharing formating profile

Post by augustin.yann » Wed 16 Apr 2014 12:30

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.

alexa
Devart Team
Posts: 2424
Joined: Fri 24 Jun 2011 14:17

Re: Sharing formating profile

Post by alexa » Wed 16 Apr 2014 13:08

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'.

augustin.yann
Posts: 8
Joined: Mon 14 Apr 2014 11:21

Re: Sharing formating profile

Post by augustin.yann » Wed 07 May 2014 07:10

Thank you.

This is working fine :D

Best regards

alexa
Devart Team
Posts: 2424
Joined: Fri 24 Jun 2011 14:17

Re: Sharing formating profile

Post by alexa » Wed 07 May 2014 08:55

Please let us know if any questions arise.

Post Reply