pydev - 有人可以解释一下这些错误吗
我正在 Eclipse 中使用 PyDev 进行开发。我在我的代码中添加了一些注释。我在某些单词下面看到波浪状的红线。程序运行良好并且没有提到任何警告。那么这些波浪线是什么意思呢? 例如,
#!/usr/bin/python - I get the line under usr and python # generated by accessing registry using another script written in VBScript. # The scripts can do the follwing things. - I get wavy lines under the words registry and following.
我需要这些注释,因为我稍后可能会单独运行该模块。 感谢您的帮助。
I am developing using PyDev in Eclipse. I have put in some comments in my code. I get wavy red lines underneath certain words. The program runs fine and there are no warnings mentioned. So what is the meaning of these wavy lines.
e.g.
#!/usr/bin/python - I get the line under usr and python # generated by accessing registry using another script written in VBScript. # The scripts can do the follwing things. - I get wavy lines under the words registry and following.
I need these comments as I may run the module on its own later.
Thanks for the help.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
尼尔说的是实话,除了告诉你把它关掉——评论中的拼写检查非常有帮助——那些后来的人会感谢你确保他们可以阅读你的评论,而无需尝试解码随机拼写错误。
这些行只是指出 IDE 认为拼写错误的单词。我不知道为什么它不理解“registry”,但事实上,您拼错了“following”(如“folwing”)。修复后者,忽略前者(或将其添加到字典中,
不记得是否有方便的机制有!请参阅下面 Macke 的有用评论。)。Neil speaks the truth, except for telling you to turn it off -- spell check in comments is quite helpful -- those who come after will thank you for ensuring they can read your comments without trying to decode random spelling errors.
The lines are simply pointing out words your IDE thinks are spelled wrong. I don't know why it doesn't understand "registry", but you have, in fact, misspelled "following" (as "follwing"). Fix the latter, ignore the former (or add it to the dictionary,
don't remember if there's a convenient mechanism for thatThere is! See Macke's helpful comment below.).可能这只是一个拼写检查器。您有一个拼写错误“正在关注”而不是“正在关注”。
Might be this is just a spellchecker. You have a typo "follwing" instead of "following".