简体   繁体   English

我如何像在spyder中一样在visual studio中激活交互式python帮助

[英]how do I activate interactive python help in visual studio like in spyder

I'd like to get automatic context help in VS2017, similar to what is displayed inside spyder, when I click on an object that has help for it in the python manuals. 我想在VS2017中获得自动上下文帮助,类似于在spyder中显示的内容,当我在python手册中单击具有帮助的对象时。 I's this possible? 这可能吗? interactive window example from spyder I'm looking for a window that is part of the IDE, and not a pop-up that is shown when "." 来自spyder的交互式窗口示例我正在寻找一个IDE的窗口,而不是显示为“。”的弹出窗口。 is pressed 被按下

You can hover your mouse over an object or method to see a tooltip of it. 您可以将鼠标悬停在对象或方法上以查看其工具提示。

You can also use the dot operator( . ) to bring up intellisense for a list of properties and methods. 您还可以使用点运算符( )来显示智能感知,以获取属性和方法的列表。 If intellisense doesn't immediately pop up after pressing the . 如果按以后没有立即弹出智能提示 key, you can also press ctrl + space to force it open. 键,也可以按Ctrl + 空格将其强制打开。

Lastly, you can press F12 with your cursor in an object, method or variable to go to its definition. 最后,您可以使用光标在对象,方法或变量中按F12键转到其定义。

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 如何在 Visual Studio Code 中查找/执行 Python 交互模式? - How do I find/excute Python Interactive Mode in Visual Studio Code? 如何在 Visual Studio 中为 Python 激活 VENV? - How can I activate VENV for Python in Visual Studio? 如何在执行代码时打开或关闭Visual Studio python(Jupyter)交互式窗口(2019)? - How do i turn on or off the Visual Studio python (Jupyter) interactive window (2019) when executing code? 如何在 Visual Studio 代码交互式 window 中编辑单元格 - How do I edit a cell in visual studio code interactive window 如何在 Spyder/IPython/matplotlib 中再次获得交互式绘图? - How do I get interactive plots again in Spyder/IPython/matplotlib? 在 Python 中,如何使用交互式命令行(和可视断点?)进行调试 - In Python, how do I debug with an interactive command line (and visual breakpoints?) 在 Python Spyder 交互式绘图中。 如何链接绘图,以便当我放大绘图时,它会放大其余绘图 - In Python Spyder interactive plotting. How do I link plots so that when I zoom in on a plot it zooms in on the rest 如何告诉 Visual Studio 代码为内置 python 函数(如 range())显示智能感知 - how do I tell visual studio code to show intellisense for built in python functions like range() 如何显示交互式绘图间谍python 3.5.2 - How to display interactive plot spyder python 3.5.2 在Python Spyder中打开一个函数,就像我在MATLAB中一样 - Open a function in Python Spyder, like I do with MATLAB
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM