xml-comments

Reference TFS work item from code comment

∥☆過路亽.° 提交于 2019-12-06 19:31:21
问题 In Visual Studio (2012+) I want a clickable reference from a code comment to a TFS work item. Is there a simple way to do this, and is this also possible from comments within the body of a function (not being the summary of the function)? So I want something like this: /// <summary> /// Example of a summary /// </summary> static void Main() { int dummy = 1; //Should be 1 according to @Task1234 <- should be a hyperlink } And rather not something like this: /// <summary> /// Example of a

Framework goto definition shows comments, are these generated from xml comments?

非 Y 不嫁゛ 提交于 2019-12-06 15:41:37
I was mildly surprised recently to discover that my carefully crafted xml comments weren't showing up in intellisense for my colleagues. Having always used the associated assemblies with project references, I hadn't realised that you had to export the .xml document as well to access this information. This led me to wondering how the .Net framework intellisense works. If I understand correctly, the .xml files must be hidden away somewhere in a special folder? But my main question is about 'Goto definition' - if you goto definition on a .Net framework assembly, you get the info generated from

c# Intellisense VS2013 tooltip doesn't show XML comments (i try all)

房东的猫 提交于 2019-12-06 14:38:00
I read all questions about intellisense problems but my intellisense doesn't work. Visual Studio Ultimate 2013 I don't use any extension like Resharper, ghostdoc and so on All XML documentation files about custom and not custom classes are inside starter project's /bin folder . ( Build -> generate XML doc is ON ) I have all documentations browsable via Object Browsers Intellisense doesn't show tooltip information about . NET classes /EF/Identity too Intellisense shows tooltip information only about summary custom classes but doesn't show parameters / returns etc.. Tools -> Options -> Text

EntityFramework t4 template - XML documentation

柔情痞子 提交于 2019-12-06 13:14:35
I have the following problem with my EDMX file. In it I have written some Documentation for the properties as well as the Entities, but the t4 template of my EF 5 doesnt generate those values. My desired result should be public class Person { /// <summary> /// Hello World Summary!! /// </summary> /// <remarks> /// Hello World Remarks!! /// </remarks> public string Name { get; set; } } But I only get public class Person { public string Name { get; set; } } And if not for this, why would I else be able to set documentation properties in the edmx file. It does appear that entity framework isn't

vb.net - automatic XML comments - ''' — Can I change the automatic defaults?

核能气质少年 提交于 2019-12-06 10:38:00
I'm using Visual Studio 2008 SP1 in VB.NET, when I type ''' above a function, some automatic default XML comments appear: ''' <summary> ''' ''' </summary> ''' <remarks></remarks> I would like this to be the following instead: ''' <summary></summary> ''' <remarks></remarks> Is there a way to change what appears when you type ''' above a function? They key is in the VBXMLDoc.xml file. It provides templating for all of the XML comments in VB.NET. Still have not checked if there is a solution for C#. I went so long in wanting it for C#, but have actually just gotten used to the ugly default format

How to see XML comments of the code from Reflector

吃可爱长大的小学妹 提交于 2019-12-06 08:38:28
问题 I prefer to browse the assemblies using reflector even though i have source code with me specially in case when i move to new project. But I feel it would be nice if i could see the XML comments of the source code in reflector. Is any addin which would do that? Thanks In advance, Uday 回答1: XML comments are not compiled into assembly - they go into separate XML file. If it is your assembly, or XML file is shipped with the assembly you're trying to analyze, then Reflector will pick them up

Are xml comments in VB still customizable?

人盡茶涼 提交于 2019-12-06 06:59:54
问题 Since Visual Studio 2005 we could copy a file named VBXMLDoc.xml into the path: C:\Users\*user*\AppData\Roaming\Microsoft\VisualStudio\*version*\ to define the XML tags available for documentation, and which tags were inserted by default. However, I copied the file I was using in Visual Studio Community 2013, into C:\Users\*user*\AppData\Roaming\Microsoft\VisualStudio\14.0\ and it's not working. Has the destination path, the file format or the availability to customize the default XML tags in

Java - Reading Comment from XML-File

拥有回忆 提交于 2019-12-05 20:32:08
I have to extract comments from a XML-File. I couldn't find a way to get them using JDOM or something else. At the moment I use Regex and FileReader but I don't feel like this is the way to go. Can you use something like JDOM to get comments from a XML-File? Or ist it limited to Elements/Nodes and Attributes? You need to implement a lexical handler. More information over here - http://docs.oracle.com/javase/tutorial/jaxp/dom/readingXML.html Look at the Lexical Controls chapter. I suggest StAX, fastest and simple XMLStreamReader xr = XMLInputFactory.newInstance().createXMLStreamReader( new

Are xml comments in VB still customizable?

感情迁移 提交于 2019-12-04 11:52:22
Since Visual Studio 2005 we could copy a file named VBXMLDoc.xml into the path: C:\Users\*user*\AppData\Roaming\Microsoft\VisualStudio\*version*\ to define the XML tags available for documentation, and which tags were inserted by default. However, I copied the file I was using in Visual Studio Community 2013, into C:\Users\*user*\AppData\Roaming\Microsoft\VisualStudio\14.0\ and it's not working. Has the destination path, the file format or the availability to customize the default XML tags in VB changed? 来源: https://stackoverflow.com/questions/32287626/are-xml-comments-in-vb-still-customizable

Commenting out XML

霸气de小男生 提交于 2019-12-04 04:20:14
问题 Consider this piece of XML: <ListBox x:Name="pictureBox" ItemsSource="{Binding}" MouseDoubleClick="item_DoubleClick" > Is there any way to comment out MouseDoubleClick="item_DoubleClick" ? This attempt fails: <ListBox x:Name="pictureBox" ItemsSource="{Binding}" <!-- MouseDoubleClick="item_DoubleClick"--> > 回答1: You could just comment out the whole element, which would work, and underneath it put the modified version without that attribute. 回答2: No it's not you'll have to remove it. You cannot