Last post Feb 20, 2014 10:36 PM by Starain chen - MSFT
Feb 19, 2014 02:56 PM|RobertNZana|LINK
Running VS 2010 in Win 7. For some reason 3 apostrophes shortcut doesn't work (to get summary template, etc)... I restared VS and it still doesn't work. Anyone know why?
Feb 19, 2014 03:26 PM|Rion Williams|LINK
Are you using C# or Visual Basic?
If you are C#, you might want to consider using it's comment symbol '/' repeated three times :
public void ExampleMethod()
You may want to ensure that you are typing either your "'''" or "///" on the line just above where a method or function is declared to ensure that it triggers properly.
Feb 19, 2014 03:30 PM|RobertNZana|LINK
Feb 19, 2014 03:45 PM|Rion Williams|LINK
I don't have Visual Studio 2010 installed locally so I can't really test it within that environment.
I gave it a try in VS2012 and VS2013 and it worked without any issues (you just have to ensure that you do it on the line directly above an existing property, function or method) :
Function Index() As ActionResult
Have you recently made any changes within your Settings or Preferences within Visual Studio that might have affected this?
Feb 20, 2014 04:50 AM|Starain chen - MSFT|LINK
My VS setting is for C#, so please refer to these steps below check your VS for VB.
Feb 20, 2014 10:33 AM|RobertNZana|LINK
Thanks. The weird thing is that it works for one VB.NET project but not another. :(
Feb 20, 2014 11:30 AM|Rion Williams|LINK
Sometimes bizarre things can happen within certain projects (corruption, settings etc.) I'm glad that you were able to still use it outside of that project. Have you tried restarting Visual Studio as well?
Feb 20, 2014 10:36 PM|Starain chen - MSFT|LINK
Please try to create a new project and check the result.
If you can’t reproduce that scene, you could share your project to us.
About share the file in the OneDrive, please refer to: