1
Visual Editor not showing up... but only in one of my solutions
Problem reported by Michael Winsor - 8/10/2021 at 10:10 AM
Known
So, this is a weird one. When I hit Ctrl+Shift+D, the code just gets commented, the visual editor doesn't show up at all. This is in Visual Studio 2019, latest version.

This is only happening in one of my solutions. I created a test solution and everything works just fine, I hit Ctrl+Shift+D and the editor shows up, go back to my previous solution and it's still broken.

Both projects are using .NET 5 if that matters.

So far I've:
  • Checked the settings, it's set to show the editor when "Document This" is used.
  • Checked to see if the menu item that shows the visual editor works fine, it does.
  • Deleted my .vs folder.
  • Deleted any .user files.
  • Restarted visual studio many, many, many times
Nothing has worked.

Anyone have any suggestions?

4 Replies

Reply to Thread
0
Michael Winsor Replied
I noticed there are errors in the log, but I cannot upload it here, and apparently I can't post links to the log file on my own site.... so this is the best I can give you.

I think it may have something to do with the target type new expression (i.e. new without the type name)?

Exception Source: Parser exception
Exception Message: error: type expected, FileName: D:\Code\Current\SpacePewPew\TestApp\GuiTest.cs
Line: 56, Col: 75,
Line text: "                DX.Size2F newSize = new((((entity.PlanetSprite.Size.Width / 1044) * 256) / scale).Max(16), (((entity.PlanetSprite.Size.Width / 1044) * 256) / scale).Max(16));"
Stack Trace :
   at A.caf6ff0cab39625bbab733d82c2f83301.cc4badd6a3e5c5623821b7577b02193ef(ICompilationUnit , Boolean , Boolean , Boolean )
   at A.caf6ff0cab39625bbab733d82c2f83301.cc4badd6a3e5c5623821b7577b02193ef(ICompilationUnit , Boolean , Boolean , Boolean )
   at A.caf6ff0cab39625bbab733d82c2f83301.cc4badd6a3e5c5623821b7577b02193ef(ICompilationUnit , Boolean , Boolean , Boolean )
   at A.caf6ff0cab39625bbab733d82c2f83301.cc4badd6a3e5c5623821b7577b02193ef(ICompilationUnit , Boolean , Boolean , Boolean )
   at A.caf6ff0cab39625bbab733d82c2f83301.cc4badd6a3e5c5623821b7577b02193ef(ICompilationUnit , Boolean , Boolean , Boolean )
   at A.c804faa950c7761f2e28972a9625a2f9b.c66046d5b421f40da295ed08e2fcab22d()
   at A.c804faa950c7761f2e28972a9625a2f9b.c2e25023829bea8531d7dc3733fa1cd36()
   at A.c804faa950c7761f2e28972a9625a2f9b.c10813f9f47b5115bf91d0dbc6375c483()
   at A.c804faa950c7761f2e28972a9625a2f9b.cc44c18faf165c670d05b3113d40359f0()
   at A.c0844f948e272280827412d6c33b3ce03.cc4badd6a3e5c5623821b7577b02193ef()
   at A.cdf5a991a4f2b59674066812a748e69dd.c5bf3fc63feef31fa508b0c26608e183c(IReturnType )
   at A.cdf5a991a4f2b59674066812a748e69dd.cb6a6741e2193b63f6dce9bfb4451e0cb(IRegion , IReturnType )
   at A.cdf5a991a4f2b59674066812a748e69dd.c45dd19ac3419489c6b1ce1629fca5bb6(IReturnType , IRegion , IRegion )
   at A.cdf5a991a4f2b59674066812a748e69dd.cc4badd6a3e5c5623821b7577b02193ef()
   at A.c75a3b37fbb1f9b5aa8c01056df3ac2ee.cc4badd6a3e5c5623821b7577b02193ef(IRegion )
   at A.cdf5a991a4f2b59674066812a748e69dd.c7c6578f3f20b7d364e1ac55db36d4013()
   at A.c174f9ed2ea1e7aea341df268b460adb2.cc4badd6a3e5c5623821b7577b02193ef()
   at A.cdf5a991a4f2b59674066812a748e69dd.c7c6578f3f20b7d364e1ac55db36d4013()
   at A.cdf5a991a4f2b59674066812a748e69dd.cc4badd6a3e5c5623821b7577b02193ef()
   at A.c75a3b37fbb1f9b5aa8c01056df3ac2ee.cc4badd6a3e5c5623821b7577b02193ef(IRegion )
   at A.c144179a81958e48c0867485a5df7fff3.c61da114bb0a65bf573bcd0617a0cfb2b()
   at A.c144179a81958e48c0867485a5df7fff3.c581074e4f15614505aaf43ef7c03ca58()
   at A.c85d63cdad2a75941f7e65d2c2d359aad.c66772c4aca7dd32de5f62e3af4d8c3a8(ICompilationUnit , IClassInterface , INamespaceDeclaration )
   at A.c85d63cdad2a75941f7e65d2c2d359aad.cbceecda92945e0fdceb8fc69cbec7b63()
   at A.cb68d1b45010ff9a861d749e0871601be.cfb8d75f7155fc3a47e8a8718d15bb676(IRegion , INamespaceDeclaration , IType , ICompilationUnit , AttributeSectionCollection , MemberModifiers , IRegion )
   at A.c2a633a86bc6520b19077f08c4d83eef0.NamespaceMember(INamespaceDeclaration currentNamespaceDeclaration)
   at A.c2a633a86bc6520b19077f08c4d83eef0.NamespaceMember(INamespaceDeclaration currentNamespaceDeclaration)
Log Message (2021-08-10 11:03:09 AM) : DocumentThisCommandImplementation->Run finished.
Log Message (2021-08-10 11:03:55 AM) : DocumentationMaintenanceAdornmentManager->ClearDMItemsInFile 'D:\Code\Current\SpacePewPew\SpacePewPew\Mapping\IO\MapProvider.cs'
Log Message (2021-08-10 11:03:55 AM) : DocumentationMaintenanceAdornmentManager->ClearDMItemsInFile 'D:\Code\Current\SpacePewPew\SpacePewPew\Mapping\Map.cs'
Log Message (2021-08-10 11:03:55 AM) : DocumentationMaintenanceAdornmentManager->ClearDMItemsInFile 'D:\Code\Current\SpacePewPew\SpacePewPew\PewPew.cs'
Log Message (2021-08-10 11:03:55 AM) : DocumentationMaintenanceAdornmentManager->ClearDMItemsInFile 'D:\Code\Current\SpacePewPew\TestApp\ShipTestCode.cs'
Log Message (2021-08-10 11:03:55 AM) : DocumentationMaintenanceAdornmentManager->ClearDMItemsInFile 'D:\Code\Current\SpacePewPew\TestApp\GuiTest.cs'
Log Message (2021-08-10 11:03:56 AM) : Information: Registration code...
Log Message (2021-08-10 11:03:56 AM) : Information: Checking mk: "04B85-73BF1-4CCF6-91A7B-9396B"
Log Message (2021-08-10 11:03:56 AM) : Information: Checked mk: "04B85-73BF1-4CCF6-91A7B-9396B" successfully.
Log Message (2021-08-10 11:03:56 AM) : ShowHelp: finished.
0
Misha Zhutov Replied
Employee Post
Hi Michael, 

What GhostDoc version are you using?
Please provide us with the log file from c:\Users\<user>\Documents\SubMain\GhostDoc for VS2019\GhostDoc.log and send it please to support@submain.com
0
Michael Winsor Replied
Well this is certainly frustrating, it's working now. And I have no idea why. 
I'm using v. 2021.2.21150

I just emailed the log to you.


0
Misha Zhutov Replied
Employee Post
Hi Michael,

We found some parsing errors in the log file which we have already fixed. Please contact us at support@submain.com and we will provide you with an interim build that solves the issue.

Reply to Thread