简体   繁体   中英

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.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM