【问题标题】:Is there a way to right click on an item in Visual Studio and go straight to the documentation?有没有办法在 Visual Studio 中右键单击某个项目并直接转到文档?
【发布时间】:2018-05-24 10:48:55
【问题描述】:

在我的具体情况下,我试图在此示例中查看 ostream 的文档:

class Frame
{
    string fileName;
    vector<Display> displays;
public:
    Frame::Frame(string s, vector<Display> d) :fileName(s), displays(d) {}
    Frame operator+(Frame&);
    friend ostream& operator<<(ostream&, Frame&);
};

如果我将鼠标悬停在

ostream&

它确实给了我一些信息。但是,如果我右键单击它,它并没有给我任何转到官方文档的选项。

有没有办法做到这一点?我已经在帮助浏览器中下载了所有文档,但无法通过右键单击来方便地从编辑器中查找内容。

我正在使用 Visual Studio 2015 社区(用于学校用途)。

【问题讨论】:

  • 我相信这是他们想要推出的方式 miniuri.com/1bl

标签: c++ visual-c++ visual-studio-2015 documentation


【解决方案1】:

据我所知,它不能用鼠标完成,但如果光标在一些代码上并且你按 F1,则会显示该项目的帮助。

【讨论】:

  • @Nomnom 请通过单击此答案的复选标记来表明这一点。
猜你喜欢
  • 1970-01-01
  • 1970-01-01
  • 2011-02-23
  • 2021-05-31
  • 2016-11-18
  • 2020-04-24
  • 1970-01-01
  • 2021-08-28
  • 2018-01-23
相关资源
最近更新 更多