如何让Geany在我按下'时显示库的方法。“钥匙?

时间:2022-03-01 21:11:21

In visual studio, I could just press ctrl+spacekey and the methods appeared. In Geany is there a way for me to get this functionality?

在visual studio中,我只需按ctrl+spacekey,就会出现方法。在Geany中有一种方法可以让我得到这个功能吗?

3 个解决方案

#1


5  

No, because is Python is dynamically typed language and quite hard to achieve that. Python plugins for netbeans do that partially, but I believe such plugin is not in geany developers plans. There are different things to be done ;-)

不,因为Python是动态类型化语言,很难实现这一点。netbeans的Python插件部分地实现了这一点,但我认为geany开发人员并不打算使用这种插件。有不同的事情要做;

However, geany provides some completions support. First, it analyzes your imports in a file and uses it in completions; furthermore it completes functions from the std library. It also analyzes all you open files for suggestions, although you may need to apply it in preferences. Also you can get call tips, when you hit Ctrl+Shift+Space, which not everyone know about. They are quite good, because they appear in form <Class>.<method>(<args>), which is very helpful.

然而,geany提供了一些完整的支持。首先,它分析文件中的导入并在完成时使用;此外,它还完成了来自std库的函数。它还分析所有打开的文件,以获得建议,尽管您可能需要在首选项中应用它。当你按下Ctrl+Shift+Space的时候,你也可以得到调用提示,这不是每个人都知道的。它们很好,因为它们以 . ( )的形式出现,非常有帮助。

#2


1  

shortcut ctrl+space works for me. also, you can setup autocomplete suggestion length (ie how many letters you must type before the autocomplete tooltip pops up automatically - http://www.geany.org/manual/current/#editor-completions-preferences ).

快捷键ctrl+空格适用于我。此外,您还可以设置自动完成建议长度(即在自动完成工具提示出现之前必须输入多少个字母——http://www.geany.org/manual/current/#editor-completions-preferences)。

this works only for method names. if i want to see the options for method parameters, i must type bracket ( after the method full name.

这只适用于方法名。如果我想看到方法参数的选项,我必须键入括号(方法全名之后)。

#3


0  

You can use PyCharm. Does exactly what you need plus jump to the source file of the imported file-imported method.

您可以使用PyCharm。执行所需的操作,并跳转到导入的文件导入方法的源文件。

#1


5  

No, because is Python is dynamically typed language and quite hard to achieve that. Python plugins for netbeans do that partially, but I believe such plugin is not in geany developers plans. There are different things to be done ;-)

不,因为Python是动态类型化语言,很难实现这一点。netbeans的Python插件部分地实现了这一点,但我认为geany开发人员并不打算使用这种插件。有不同的事情要做;

However, geany provides some completions support. First, it analyzes your imports in a file and uses it in completions; furthermore it completes functions from the std library. It also analyzes all you open files for suggestions, although you may need to apply it in preferences. Also you can get call tips, when you hit Ctrl+Shift+Space, which not everyone know about. They are quite good, because they appear in form <Class>.<method>(<args>), which is very helpful.

然而,geany提供了一些完整的支持。首先,它分析文件中的导入并在完成时使用;此外,它还完成了来自std库的函数。它还分析所有打开的文件,以获得建议,尽管您可能需要在首选项中应用它。当你按下Ctrl+Shift+Space的时候,你也可以得到调用提示,这不是每个人都知道的。它们很好,因为它们以 . ( )的形式出现,非常有帮助。

#2


1  

shortcut ctrl+space works for me. also, you can setup autocomplete suggestion length (ie how many letters you must type before the autocomplete tooltip pops up automatically - http://www.geany.org/manual/current/#editor-completions-preferences ).

快捷键ctrl+空格适用于我。此外,您还可以设置自动完成建议长度(即在自动完成工具提示出现之前必须输入多少个字母——http://www.geany.org/manual/current/#editor-completions-preferences)。

this works only for method names. if i want to see the options for method parameters, i must type bracket ( after the method full name.

这只适用于方法名。如果我想看到方法参数的选项,我必须键入括号(方法全名之后)。

#3


0  

You can use PyCharm. Does exactly what you need plus jump to the source file of the imported file-imported method.

您可以使用PyCharm。执行所需的操作,并跳转到导入的文件导入方法的源文件。