开发者

Visual Studio "go to header file" not working with hpp files

The very handy right click menu option "开发者_运维技巧Go To Header File" in Visual Studio 2005 doesn't seem to work if my header file is an .hpp file for that module; I've deleted/rebuilt the intellisense file but it still doesn't want to know. Is there a setting or something somewhere to do this?


Does your project filter for the headers folder include hpp?

You can check by right clicking on the Header Files folder going to properties and it should have something like h;hpp;hxx;hm;inl;inc;xsd defined in the Filter property.

This can sometimes be a quirky feature of Visual Studio I've found since upgrading to Visual Studio 2010 that it takes and inordinately longer amount of time to use goto definition or goto declaration to the point where I've completely stopped using it in favor of just searching the project or solution and picking it out from the output window instead.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜