IntelliSense错误|奇怪的行为 [英] IntelliSense bug | weird behaviour

查看:91
本文介绍了IntelliSense错误|奇怪的行为的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

您好,


我在Visual Studio中运行python代码并安装了各种模块,如httplib2,selenium等等。


现在我注意到了奇怪的事情。 IntelliSense完成仅适用于我的程序中的交互式窗口。如果我在普通编辑器旁边打开了交互式窗口,普通编辑器中的IntelliSense无法完成我的selenium
代码,而一切都在交互式窗口中正常运行。


我安装了python 3.6 32bit,没有其​​他python版本。


我已经检查了右侧的智能感知按钮并刷新了我的'DB'和它甚至会在左边显示所有模块并进行蓝色检查。 Selenium,httplib2和我安装的其他所有内容,但就像我说的那样,编辑器中的IntelliSense不能完成它们,不像交互式窗口。


也许有人可以帮助我。这是一些奇怪的行为。


干杯!

解决方案

嗨Thomas23423424,


感谢您在此发帖。


Visual Studio的版本是什么?您是否使用最新版本?如果没有,请先更新您的Visual Studio。 许多其他社区也遇到过这个问题,您可以参考
问题#2613 。你可以为你的问题添加评论。


此外,我们不熟悉Selenium和Python,所以我们无法解决这个问题,你介意分享我们的样本吗?一些详细步骤重现此问题?感谢。


Hello,

I run python code in my visual studio and I have various modules installed, like httplib2, selenium and stuff like that.

Now the weird thing comes that I noticed. IntelliSense completion is only working for the interactive window in my program. If I have the interactive window open beside the normal editor, the IntelliSense from the normal editor can't complete my selenium code, while everything is running fine in the interactive window.

I have python 3.6 32bit installed, no other python version.

I already checked the intellisense button on the right and refreshed my 'DB' and it even shows all the modules there with a blue check on the left. Selenium, httplib2 and everything else I have installed, but like I said IntelliSense in the editor can't complete them, unlike the interactive window.

Maybe someone can help me. Thats some weird behaviour.

Cheers!

解决方案

Hi Thomas23423424,

Thanks for posting here.

What is the version of your Visual Studio? Whether you are using the latest version? If not, please update your Visual Studio first. And many other communities also encountered this issue, you can refer to the detail info from the Issue #2613. You can add your comments for your question.

Besides, we are not familiar with Selenium with Python, so we could not have a solution for this issue, would you mind sharing us a sample or some detail steps to reproduce this issue? Thanks.


这篇关于IntelliSense错误|奇怪的行为的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆