{"id":3683,"date":"2010-12-15T09:21:00","date_gmt":"2010-12-15T09:21:00","guid":{"rendered":"https:\/\/blogs.msdn.microsoft.com\/vcblog\/2010\/12\/15\/issues-with-f1-help-in-c-projects\/"},"modified":"2021-10-06T14:06:02","modified_gmt":"2021-10-06T14:06:02","slug":"issues-with-f1-help-in-c-projects","status":"publish","type":"post","link":"https:\/\/devblogs.microsoft.com\/cppblog\/issues-with-f1-help-in-c-projects\/","title":{"rendered":"Issues with F1-Help in C++ Projects"},"content":{"rendered":"<p><a href=\"https:\/\/devblogs.microsoft.com\/cppblog\/wp-content\/uploads\/sites\/9\/2010\/12\/3835.ulzii_.png\"><img decoding=\"async\" src=\"https:\/\/devblogs.microsoft.com\/cppblog\/wp-content\/uploads\/sites\/9\/2010\/12\/3835.ulzii_.png\" alt=\"Ulzii Luvsanbat\" title=\"Ulzii Luvsanbat\" width=\"82\" height=\"106\" class=\"alignleft size-full wp-image-29339\" \/><\/a><\/p>\n<p>Hi! My name is Ulzii Luvsanbat and I&rsquo;m a Senior Test Lead with the Visual C++ team. Diego told me about some feedback received in a recent post regarding the accuracy and usefulness of the F1-Help command when working on C++ projects.<\/p>\n<p>First of all, I want to start by thanking all of you guys for your feedback on F1 Help experiences in C++.&nbsp; We really appreciate you taking the time to share your thoughts and we apologize for any issues you&rsquo;re seeing.&nbsp; We have made lots of improvements in VS2010 around F1 Help specifically for C++ from updating content topics with more specialized tags, improving query content that gets built by the IntelliSense parser, and more.&nbsp; However, C++ has wide spectrum of support in terms of runtimes, target OS, and even languages flavors, which greatly contribute to bugs in the entire F1 Help system.&nbsp; Again, we apologize for missing any bugs. <\/p>\n<p>Now, taking a closer look into some issues that were reported <a target=\"_blank\" href=\"http:\/\/blogs.msdn.com\/b\/vcblog\/archive\/2010\/12\/05\/microsoft-tells-what-s-next-on-c.aspx\" title=\"in previous blogs\" rel=\"noopener\">in previous blogs<\/a>:<\/p>\n<ul>\n<li>I want to use the example offered by Leo Davidson, who told that he pressed F1 over <span style=\"font-family: 'courier new', courier\">::GetMessage()<\/span> but thus brought a help page on Windows Azure. <br \/><span style=\"font-family: 'courier new', courier\">::GetMessage()<\/span> function does have a correct topic in MSDN with the right tags.&nbsp; And you should not have seen the managed interface to Azure.&nbsp; We have verified that it does bring up the right topic for VS2010 RTM and <a target=\"_blank\" href=\"http:\/\/blogs.msdn.com\/b\/vcblog\/archive\/2010\/12\/09\/vs2010-sp1-beta-what-s-on-it-for-c-developers.aspx\" title=\"VS2010 SP1\" rel=\"noopener\">VS2010 SP1<\/a> (which was released last week).&nbsp; So what might be happening to you is either one of these 2 cases:\n<ul>\n<li>IntelliSense parser for that source file isn&rsquo;t working when started F1 Help query.&nbsp; Every time you press F1, we use our C++ IntelliSense parser to fully resolve current token&rsquo;s full qualified name and its associated header file, target platform, etc before sending the request to MSDN which topic to display.&nbsp; If for any reason, IntelliSense parser isn&rsquo;t working for that source file (translation unit) then we fall back to just sending that keyword and whatever else we can find out without compiling the source.&nbsp; This will cause keywords\/tags collisions in topics across different frameworks or platforms, and what topic will be chosen is undefined.<\/li>\n<li>Your project is <a target=\"_blank\" href=\"http:\/\/msdn.microsoft.com\/en-us\/library\/ms973872.aspx\" title=\"IJW\" rel=\"noopener\">IJW<\/a> (&#8220;<i>it just works<\/i>&#8221; C++ Interop), meaning you&rsquo;re building that source file with <span style=\"font-family: 'courier new', courier\">\/clr<\/span> compiler option.&nbsp; One of the hard choices we had to make in VS2010 was not to enable C++\/CLI IntelliSense (we plan to correct that in a future release), and therefore the F1 Help will behave like above scenario I mentioned.<\/li>\n<\/ul>\n<\/li>\n<li>Jalf mentioned similar issues with Direct3D. DirectX topics in MSDN weren&rsquo;t updated for a while to reflect the C++ language provider changes for F1 Help keyword search heuristics.&nbsp; However, we have been working with the Windows team to make all the required changes in MSDN metadata. They&rsquo;re almost done with those changes and you should be experiencing improved results soon.<\/li>\n<\/ul>\n<p>Thanks again for this valuable feedback.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Hi! My name is Ulzii Luvsanbat and I&rsquo;m a Senior Test Lead with the Visual C++ team. Diego told me about some feedback received in a recent post regarding the accuracy and usefulness of the F1-Help command when working on C++ projects. First of all, I want to start by thanking all of you guys [&hellip;]<\/p>\n","protected":false},"author":289,"featured_media":35994,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[1],"tags":[86,65,87,88,89,90,91,14,92],"class_list":["post-3683","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-cplusplus","tag-ccli","tag-compiler","tag-direct3d","tag-directx","tag-editor","tag-f1","tag-help","tag-intellisense","tag-sp1"],"acf":[],"blog_post_summary":"<p>Hi! My name is Ulzii Luvsanbat and I&rsquo;m a Senior Test Lead with the Visual C++ team. Diego told me about some feedback received in a recent post regarding the accuracy and usefulness of the F1-Help command when working on C++ projects. First of all, I want to start by thanking all of you guys [&hellip;]<\/p>\n","_links":{"self":[{"href":"https:\/\/devblogs.microsoft.com\/cppblog\/wp-json\/wp\/v2\/posts\/3683","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/devblogs.microsoft.com\/cppblog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/devblogs.microsoft.com\/cppblog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/cppblog\/wp-json\/wp\/v2\/users\/289"}],"replies":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/cppblog\/wp-json\/wp\/v2\/comments?post=3683"}],"version-history":[{"count":0,"href":"https:\/\/devblogs.microsoft.com\/cppblog\/wp-json\/wp\/v2\/posts\/3683\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/cppblog\/wp-json\/wp\/v2\/media\/35994"}],"wp:attachment":[{"href":"https:\/\/devblogs.microsoft.com\/cppblog\/wp-json\/wp\/v2\/media?parent=3683"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/cppblog\/wp-json\/wp\/v2\/categories?post=3683"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/cppblog\/wp-json\/wp\/v2\/tags?post=3683"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}