如何在 MSVS 智能感知中显示返回值摘要? [英] How to display return value summary in MSVS intellisense?
问题描述
至少在 C# 中,MSVS 智能感知在摘要标签中显示有关函数及其参数的信息.还有一个返回标签,用于描述返回值.
In C# at least, MSVS intellisense displays information about functions and their parameters in the summary tags. There is also a return tag for description of the return value.
本页讨论查看函数签名和参数 http://msdn.microsoft.com/en-us/library/25cey46e(v=VS.90).aspx 但是返回值描述呢?
This page talks about viewing the function signature and parameters http://msdn.microsoft.com/en-us/library/25cey46e(v=VS.90).aspx but what about the return value description?
目前,我右键单击该函数并转到定义",但我希望它可以内嵌显示为工具提示.
Currently, I right click on the function and "go to definition" but i hope it can display inline as a tooltip.
推荐答案
如果您正在使用 Resharper,请尝试 CTRL+Shift+F1 (VS-Key Scheme) 或 CTRL+Q (ReSharper Key Scheme),它会显示快速文档,包含返回类型.请参阅 http://www.jetbrains.com/resharper/features/coding_assistance.html#Quick_文档
If you are using Resharper, try CTRL+Shift+F1 (VS-Key Scheme) or CTRL+Q (ReSharper Key Scheme), it displays Quick documentation, inclusive return type. See http://www.jetbrains.com/resharper/features/coding_assistance.html#Quick_Documentation
这篇关于如何在 MSVS 智能感知中显示返回值摘要?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!