Whole Tomato Software Forums
Whole Tomato Software Forums
Main Site | Profile | Register | Active Topics | Members | Search | FAQ
User name:
Password:
Save Password
Forgot your password?

 All Forums
 Visual Assist
 Technical Support
 header file extension
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

satya
New Member

9 Posts

Posted - Apr 10 2006 :  11:27:22 AM  Show Profile  Reply with Quote
Hi,

I have a project with the header files having extension .hp and .hl. How do I make the VisualAssist understand and parse these files.

TIA
Satya

rhummer
Tomato Guru

USA
527 Posts

Posted - Apr 10 2006 :  11:33:22 AM  Show Profile  Reply with Quote
Follow the steps listed at this link http://www.wholetomato.com/support/faq.html#extension

Tools Engineer - Raven Software
VS2005 SP2/VS2008 SP1 - VAX <LATEST> - Win 7 x64

Go to Top of Page

satya
New Member

9 Posts

Posted - Apr 11 2006 :  11:15:53 AM  Show Profile  Reply with Quote
Hi,

Thanks for the information. Is the procedure same as .net for VisualStudio 2005?
Go to Top of Page

support
Whole Tomato Software

5566 Posts

Posted - Apr 11 2006 :  12:08:55 PM  Show Profile  Reply with Quote
For Visual Studio 2005, exit your IDE and add your extension to Tools|Options|Projects and Solutions|VC++ Project Settings|C/C++ File Extensions.

If your extension denotes a header, use Regedit to add the extension to HKEY_CURRENT_USER/Software/Whole Tomato/Visual Assist X/VANet/ExtHeader.

If your extension denotes a source file that is not a header, add the extension to HKEY_CURRENT_USER/Software/Whole Tomato/Visual Assist X/VANet/ExtSource.

Remember to include the dot and terminating semicolon.

Press Rebuild on the Performance node of the Visual Assist X options dialog and restart your IDE.

This seems to make all features of VA X work except for syntax coloring. We will dig some more. This doesn't seem to have an effect:

HKCU\\Software\\Microsoft\\VisualStudio\\8.0\\VC\\Extensions to Include
Go to Top of Page

ppus
New Member

6 Posts

Posted - Apr 11 2006 :  2:43:50 PM  Show Profile  Reply with Quote
I tried this but there is still some problem. I have .fdf as function declaration file and I followed exactly what you said. The function declaration can't be linked through VA to the function used in the .c and its color does not change! ALT+G will not work too. Any suggestions?



Go to Top of Page

ppus
New Member

6 Posts

Posted - Apr 11 2006 :  3:00:03 PM  Show Profile  Reply with Quote
When you said "Remember to include the dot and terminating semicolon." Does it mean that in the default string value of ExtHeader, put ".fdf;" in the data entry? thanks.

quote:
Originally posted by support

For Visual Studio 2005, exit your IDE and add your extension to Tools|Options|Projects and Solutions|VC++ Project Settings|C/C++ File Extensions.

If your extension denotes a header, use Regedit to add the extension to HKEY_CURRENT_USER/Software/Whole Tomato/Visual Assist X/VANet/ExtHeader.

If your extension denotes a source file that is not a header, add the extension to HKEY_CURRENT_USER/Software/Whole Tomato/Visual Assist X/VANet/ExtSource.

Remember to include the dot and terminating semicolon.

Press Rebuild on the Performance node of the Visual Assist X options dialog and restart your IDE.

This seems to make all features of VA X work except for syntax coloring. We will dig some more. This doesn't seem to have an effect:

HKCU\\Software\\Microsoft\\VisualStudio\\8.0\\VC\\Extensions to Include

Go to Top of Page

sean
Whole Tomato Software

USA
2817 Posts

Posted - Apr 11 2006 :  5:56:39 PM  Show Profile  Reply with Quote
Here are the steps I used:

Create key:
HKEY_LOCAL_MACHINE\\SOFTWARE\\Microsoft\\VisualStudio\\8.0\\Languages\\File Extensions\\.fdf
set default value to same as .h key --> {B2F072B0-ABC1-11D0-9D62-00C04FD9DFD9}
Modified value ExtHeader at
HKEY_CURRENT_USER\\Software\\Whole Tomato\\Visual Assist X\\VANet8
to --> .h;.hh;.hpp;.hxx;.ipp;.tlh;.inl;.p;.rh;.dh;.ih;.ph;.fdf;

No need to rebuild or make any changes in the options or customize dialogs.

Edited by - sean on Apr 11 2006 5:57:40 PM
Go to Top of Page

ppus
New Member

6 Posts

Posted - Apr 11 2006 :  6:10:46 PM  Show Profile  Reply with Quote
Great. Let me do my best to introduce more guys into VA. By the way, ExtHeader is already in the HKEY_CURRENT_USER\\Software\\Whole Tomato\\Visual Assist X\\VANet8, which I thought early that may need to be created just like .fdf in the language entry. My fault.


quote:
Originally posted by sean

Here are the steps I used:

Create key:
HKEY_LOCAL_MACHINE\\SOFTWARE\\Microsoft\\VisualStudio\\8.0\\Languages\\File Extensions\\.fdf
set default value to same as .h key --> {B2F072B0-ABC1-11D0-9D62-00C04FD9DFD9}
Modified value ExtHeader at
HKEY_CURRENT_USER\\Software\\Whole Tomato\\Visual Assist X\\VANet8
to --> .h;.hh;.hpp;.hxx;.ipp;.tlh;.inl;.p;.rh;.dh;.ih;.ph;.fdf;

No need to rebuild or make any changes in the options or customize dialogs.


Go to Top of Page

satya
New Member

9 Posts

Posted - Apr 14 2006 :  02:07:20 AM  Show Profile  Reply with Quote
Hi sean,

I tried the 2 steps you had suggested, it works perfect for me. thanks

Satya
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
© 2023 Whole Tomato Software, LLC Go To Top Of Page
Snitz Forums 2000