There is no code element under cursor
Problem reported by Ed Paay - August 5, 2018 at 7:18 PM
Resolved
On Ghostdoc 2018 RC Visual Studio Enterprise 15.7.6
Installed GhostDoc and now when I place the cursor anywhere in the code and I select Document This I get a message that pops up with "There is no code element under the cursor."
Any ideas?
 

13 Replies

Reply to Thread
0
Misha Zhutov Replied
Employee Post
Hello,

Thank you for reporting that.

Could you please send us log file from c:\Users\<user>\Documents\SubMain\GhostDoc for VS2017\GhostDoc.log?
0
Bill Craun Replied
Just installed GDP 2018.1.18250 and am trying to document a C++/CLI project and am observing the same behavior. Any code element that I attempt to document triggers the "There is no code element under the cursor" popup. I do not have a .log file. It was my understanding that C++/CLI was supported? Other behavior I see is that methods for which documentation exists appear in the "Missing Documentation" tab of the Documentation Maintenance pane. In some cases, clicking the "Add" button generates the documentation for methods, but 99% of the time it does not work.
0
Misha Zhutov Replied
Employee Post
Are you documenting .h or .cpp files? It is strange you don't have the log file. Do you have any folders/files under c:\Users\<user>\Documents\SubMain\? What OS and Visual Studio version are you using?
0
Bill Craun Replied
- Windows 10 VM running on a MacBook Pro
- Visual Studio Professional 2017 (15.7.4)
- c:\Users\<user>\Documents\SubMain\GhostDoc Pro for VS2017

I am trying to document both .cpp and .h files. After multiple restarts and some time indeterminate period of usage, I am seeing a .log file now. After I disabled all CodeLens support in Visual Studio, a lot of the odd behavior has been eliminated in C++/CLI code, but the Missing Documentation tab is still completely wrong. For example, I've managed to get all of the class methods documented in a .cpp file, but the Missing Documentation tab shows the entire class to be missing documentation. Sometimes, only the Add button in that pane generates the documentation, and sometimes <CTRL><SHIFT><D> works, but, irrespective, the behavior of not seeing that the class contains documentation is not inspiring confidence.
0
Misha Zhutov Replied
Employee Post
Hi Bill,

Thank you for providing us with the details. It is definitely a bug. We will fix it soon and get back to you.
0
BlazesRus Replied
Need it fixed for me as well. Functionality seems to fully work for C# projects but now no longer works on .cpp and .h files Edit:Fixed now
0
Misha Zhutov Replied
Employee Post
We have already fixed it and going to publish the build this week.
0
BlazesRus Replied
Thanks for working on the fix.
0
Misha Zhutov Replied
Employee Post
We have already published build v18.1.18330 with the fix.
0
Sean Jelosek Replied
I downloaded the Pro trial (v. 2018.1.18330) today and am having the same issue. I am able to generate help documentation but "Document This" does not work. I am using Visual Studio 2017 v15.9.3 and coding in C#.
0
BlazesRus Replied
yep its fixed now
0
Misha Zhutov Replied
Employee Post
Could you please send us log file from c:\Users\<user>\Documents\SubMain\GhostDoc Pro for VS2017\GhostDoc Pro.log to support@submain.com?
0
Sean Jelosek Replied
The log has been sent.

Reply to Thread