Whole Tomato Software Forums
Whole Tomato Software Forums
Main Site | Profile | Register | Active Topics | Members | Search | FAQ
 All Forums
 Visual Assist
 Technical Support
 No syntax hightling or autocomplete

You must be registered to post a reply.
Click here to register.

Screensize:
UserName:
Password:
Format: BoldItalicizeUnderlineStrikethrough Align leftCenterAlign right Insert horizontal ruleUpload and insert imageInsert hyperlinkInsert email addressInsert codeInsert quoted textInsert listInsert Emoji
   
Message:

Forum code is on.
Html is off.

 
Check to subscribe to this topic.
   

T O P I C    R E V I E W
BigHands Posted - Sep 03 2008 : 08:48:33 AM
I have a solution with multiple projects and one of these projects is a makefile project. This makefile project is for an API that is not set in my VC++ Directories list. Therefore, it does not show up in the Visual Assist list either.

So what I did is go to the project properties and specified the include directories under the "Include Search Path" option. So it looks like:

Include Search Path: c:\\SOME_API\\include

This doesn't seem to work and as I mentioned, there is no syntax highlighting or auto complete. I tried deleting the ncb project file, but that didn't work either.

VA_X.dll file version 10.4.1647.0 built 2008.07.30
DevEnv.exe version 8.0.50727.762
msenv.dll version 8.0.50727.762
Comctl32.dll version 6.0.2900.5512
Windows XP 5.1 Build 2600 Service Pack 3
2 processors



Any suggestions?
5   L A T E S T    R E P L I E S    (Newest First)
feline Posted - Sep 12 2008 : 1:47:52 PM
*oops* yes you are right I never normally use this IDE command, so I assumed it was more clever than it was.

Are you using relative or absolute paths in the "Include Search Path" setting? My first tests did not work, but I was using relative paths. Since I was not quite sure what the IDE was using as its base directory I changed this to an absolute path and VA picked it up and it works correctly.

The include file is located by VA and alt-g takes me to the file.

This is using VS2005 and VA 1649 with a new, very simple C++ makefile project.
BigHands Posted - Sep 12 2008 : 11:05:42 AM
quote:
Originally posted by feline
I am currently trying to setup a very simple test case to show the problem, but something is not working. If you right click on a #include line and select the IDE command "Go To Header File" does this work?



I think "Go To Header File" is the Visual Studio equivalent of VAX's "Open Corresponding File" (i.e. alt+o)
feline Posted - Sep 12 2008 : 10:41:10 AM
I am quite happy to put in a feature request for this, it is a reasonable idea.

I am currently trying to setup a very simple test case to show the problem, but something is not working. If you right click on a #include line and select the IDE command "Go To Header File" does this work?

I have a header file in a directory called "include", I have added this directory to the:

Makefile solution properties -> Configuration Properties -> NMake -> Include Search Path

field, and restarted the IDE to make sure the changes are saved. However nothing happens when I trigger the IDE command to go to the header file, so I am not sure if this setting is configured correctly or not.
BigHands Posted - Sep 11 2008 : 3:19:23 PM
Are there plans to add support for parsing "Include Search Path" in makefile projects? This would be amazingly convenient for cross platform work, especially when multiple copies of Visual Studio are open.
feline Posted - Sep 03 2008 : 10:20:31 AM
If you set:

VA Options -> Projects -> C/C++ Directories -> Platform = Custom

you can add this API directory to VA's list of stable include directories, so it will know to search here for header files. Since the Custom platform is VA specific it will not effect how the code is compiled.

This page explains about the custom platform:

http://www.wholetomato.com/products/features/directories.asp

© 2023 Whole Tomato Software, LLC Go To Top Of Page
Snitz Forums 2000