我正在 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.
我需要这些注释,因为我稍后可能会单独运行该模块。 感谢您的帮助。
最佳答案
尼尔说的是实话,除了告诉你把它关掉——评论中的拼写检查非常有帮助——那些后来的人会感谢你确保他们可以阅读你的评论,而无需尝试解码随机拼写错误。
这些行只是指出您的 IDE 认为拼写错误的单词。我不知道为什么它不理解“registry”,但事实上,您拼错了“following”(如“folwing”)。修复后者,忽略前者(或将其添加到字典中,不记得是否有方便的机制有!请参阅下面 Macke 的有用评论。)。
关于python - pydev - 有人可以解释一下这些错误吗,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/6187874/