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?
HPP files are a particular kind of developer source code file. They are so-called header files that contain source code written in C++, a programming language. The HPP file can contain variables, constants and various kinds of data types. Using #include, HPP files can be inserted into other source code files like CPP.
h is more widely used for header files than . hpp when, . h refers to C header and . hpp refers C++ header.
Place your caret on the first line of any C# or Visual Basic file. Press Ctrl+. to trigger the Quick Actions and Refactorings menu. Select Add file header. To apply the file header to an entire project or solution, select Project or Solution under the Fix all occurrences in: option.
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.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With