Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How can I get Geany to show me the methods a library has when I press the '.' key?

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?

like image 794
Sergio Tapia Avatar asked Jan 19 '10 18:01

Sergio Tapia


People also ask

Does Geany have autocomplete?

Geany does have autocomplete. The main way autocomplete is used is by typing a long word, and by narrowing that list of autocomplete possibilities down.

How do I run HTML code in Geany?

Open a Geany project, then : Project -> Propesties -> Build. There are 3 group option to edit : PHP Command, Independent Command and Execute Command. Thera are 2 columns in Execute Command group. And the third column, fill with your document root of your project e.g., /var/www/html/your_project_folder .


2 Answers

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 ;-)

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.

like image 132
gruszczy Avatar answered Oct 20 '22 03:10

gruszczy


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 ).

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.

like image 2
ulkas Avatar answered Oct 20 '22 05:10

ulkas