Dear list,
I have gathered some wishes/encountered some bugs(?) during my pleasant use of Geany:
_Tag Definition_ If i use "Go to Tag Definition" on a function, Geany jumps to the tag definition in one of the open files. I'd like to have a 'Back' option somewhere to return to the file+line where I've clicked on "Tag Definition".
_Search toolbar_ If I type something in the find toolbar, I'd like to be visually notified if the search string doesn't exist. Changing the background of the searchbox to red would be cool (just like Firefox' find-as-you-type search toolbar)
Can I assign ctrl-f to the search toolbar (instead of the Find dialog) ?
_Open files versus tabs_ Displaying a file by clicking on it's tab puts the cursor in that file. Switching files with the "open files" sidebar doesn't place the cursor into that file, so a keypress brings the previous file to the front.
_Symbol autocompletion_ Although the syntax of all known PHP functions are defined in php.tags, the completion only assists on the function name, not the description and/or what parameters it requires.
Cheers!
-H-
On Mon, 9 Jul 2007 14:46:39 +0200, Harold Aling h.aling@home.nl wrote:
Hi,
_Tag Definition_ If i use "Go to Tag Definition" on a function, Geany jumps to the tag definition in one of the open files. I'd like to have a 'Back' option somewhere to return to the file+line where I've clicked on "Tag Definition".
Already available in the current SVN version. There are Back and Forward buttons in the toolbar as well as two keyboard shortcuts to do this.
_Search toolbar_ If I type something in the find toolbar, I'd like to be visually notified if the search string doesn't exist. Changing the background of the searchbox to red would be cool (just like Firefox' find-as-you-type search toolbar)
Probably will be implemented, I also like this feature ;-).
Can I assign ctrl-f to the search toolbar (instead of the Find dialog) ?
Yes, just open the preferences dialog, choose the Keybindings tab and change "Switch to Search Bar". Unfortunately Ctrl-F is still shown for Search->Find because this is the GTK default. But overriding just works.
_Open files versus tabs_ Displaying a file by clicking on it's tab puts the cursor in that file. Switching files with the "open files" sidebar doesn't place the cursor into that file, so a keypress brings the previous file to the front.
Will be fixed.
_Symbol autocompletion_ Although the syntax of all known PHP functions are defined in php.tags, the completion only assists on the function name, not the description and/or what parameters it requires.
The description is completely unused at the moment. No way to get any use of it. If you are start to type a function name you should get a completion list for known functions according to the already typed name. The argument list is shown as a calltip once you type a '(' after a function name or when you press the keyboard shortcut to show a calltip (Ctrl-Shift-Space by default). I just fixed a little bug which prevented showing the calltip in PHP files when typed a '(' (SVN r1681).
Regards, Enrico
On Mon, 9 Jul 2007 15:22:39 +0200, Enrico Tröger enrico.troeger@uvena.de wrote:
On Mon, 9 Jul 2007 14:46:39 +0200, Harold Aling h.aling@home.nl wrote:
Hi,
_Symbol autocompletion_ Although the syntax of all known PHP functions are defined in php.tags, the completion only assists on the function name, not the description and/or what parameters it requires.
The description is completely unused at the moment. No way to get any use of it. If you are start to type a function name you should get a completion list for known functions according to the already typed name. The argument list is shown as a calltip once you type a '(' after a function name or when you press the keyboard shortcut to show a calltip (Ctrl-Shift-Space by default). I just fixed a little bug which prevented showing the calltip in PHP files when typed a '(' (SVN r1681).
The calltips for PHP show again!
I do have some extra wishes here...
* When calling a function, the calltip shows, but doesn't follow the user's input. For example, if I call a function with 2 parameters, the one I'm typing should be accenturated. This way, if you call a function with lots of parameters, you can keep track of the one you're at.
* Geany could also detect if the function call is correctly closed. If not, Geany should display the calltip again. For example: I start to call a function and I have to check my code which variable should be sent to the function. When I return to the function call, I have to type a '(' again to see the calltip.
Regards, Enrico
Enrico, you keep surprising me with the extremely swift and accurate bugfixes/replies/comments/etc.
-tnx!-
Harold.
On Mon, 9 Jul 2007 15:55:00 +0200, Harold Aling h.aling@home.nl wrote:
On Mon, 9 Jul 2007 15:22:39 +0200, Enrico Tröger enrico.troeger@uvena.de wrote:
On Mon, 9 Jul 2007 14:46:39 +0200, Harold Aling h.aling@home.nl wrote:
Hi,
_Symbol autocompletion_ Although the syntax of all known PHP functions are defined in php.tags, the completion only assists on the function name, not the description and/or what parameters it requires.
The description is completely unused at the moment. No way to get any use of it. If you are start to type a function name you should get a completion list for known functions according to the already typed name. The argument list is shown as a calltip once you type a '(' after a function name or when you press the keyboard shortcut to show a calltip (Ctrl-Shift-Space by default). I just fixed a little bug which prevented showing the calltip in PHP files when typed a '(' (SVN r1681).
The calltips for PHP show again!
The fix has also a disadvantage: When typing a '(' after a global defined PHP function name(e.g. "strstr(") outside of <? ?> the calltip will also be shown. Not a big deal but might be a bit confusing. Anyway, I think for the moment it is better than to hide the calltip when it is indeed wanted.
I do have some extra wishes here...
- When calling a function, the calltip shows, but doesn't follow the
user's input. For example, if I call a function with 2 parameters, the one I'm typing should be accenturated. This way, if you call a function with lots of parameters, you can keep track of the one you're at.
Yes, nice feature. I would also like it but I don't want to implement it. Anyway, it shouldn't be that difficult so patches are welcome ;-).
- Geany could also detect if the function call is correctly closed.
If not, Geany should display the calltip again. For example: I start to call a function and I have to check my code which variable should be sent to the function. When I return to the function call, I have to type a '(' again to see the calltip.
You don't need to type again '(', just use the keyboard shortcut for showing the calltip inside the braces.
Enrico, you keep surprising me with the extremely swift and accurate bugfixes/replies/comments/etc.
Well, if I won't put so many bugs in the code, we wouldn't have to fix them ;-).
Regards, Enrico
On 7/9/07, Harold Aling h.aling@home.nl wrote:
Can I assign ctrl-f to the search toolbar (instead of the Find dialog) ?
It may at times still be useful to use Ctrl-F for that Find dialog, since the toolbar search does a case-insensitive search only.
What I've found useful here is to set up the key-bindings as follows:
1. Change "switch to toolbar search field" from F7 to Ctrl-T ('T' for incremen*t*al search, or *T*oolbar search, or *T*o. :) ).
2. Change "back to editor window" from F2 to Shift-Ctrl-T.
---John
On Mon, 9 Jul 2007 14:46:39 +0200, Harold Aling h.aling@home.nl wrote:
_Open files versus tabs_ Displaying a file by clicking on it's tab puts the cursor in that file. Switching files with the "open files" sidebar doesn't place the cursor into that file, so a keypress brings the previous file to the front.
Fixed in SVN r1686.
Regards, Enrico
On Mon, 9 Jul 2007 14:46:39 +0200, Harold Aling h.aling@home.nl wrote:
_Search toolbar_ If I type something in the find toolbar, I'd like to be visually notified if the search string doesn't exist. Changing the background of the searchbox to red would be cool (just like Firefox' find-as-you-type search toolbar)
Added in SVN r1687 (you may remember the colours if you think of Nick Schermer's new mousepad ;-)).
Regards, Enrico
Enrico Tröger wrote:
On Mon, 9 Jul 2007 14:46:39 +0200, Harold Aling h.aling@home.nl wrote:
_Search toolbar_ If I type something in the find toolbar, I'd like to be visually notified if the search string doesn't exist. Changing the background of the searchbox to red would be cool (just like Firefox' find-as-you-type search toolbar)
Added in SVN r1687 (you may remember the colours if you think of Nick Schermer's new mousepad ;-)).
Regards, Enrico
Cool!
Again one more request: If you use the search toolbar, the document scrolls correctly on vertically but not horizontally...
Just type a (really) long line, which will exceed the window's width and end it with some searchable string. Place the cursor on the beginning of the line and use the toolbar to search for the string at the end of the line. Geany will find and highlight the string, but it won't be visible since the window doesn't scroll horizontally...
Keep the good stuff coming!
-H-
On Mon, 09 Jul 2007 20:11:39 +0200, Harold Aling h.aling@home.nl wrote:
Enrico Tröger wrote:
On Mon, 9 Jul 2007 14:46:39 +0200, Harold Aling h.aling@home.nl wrote:
_Search toolbar_ If I type something in the find toolbar, I'd like to be visually notified if the search string doesn't exist. Changing the background of the searchbox to red would be cool (just like Firefox' find-as-you-type search toolbar)
Added in SVN r1687 (you may remember the colours if you think of Nick Schermer's new mousepad ;-)).
Regards, Enrico
Cool!
Again one more request: If you use the search toolbar, the document scrolls correctly on vertically but not horizontally...
Just type a (really) long line, which will exceed the window's width and end it with some searchable string. Place the cursor on the beginning of the line and use the toolbar to search for the string at the end of the line. Geany will find and highlight the string, but it won't be visible since the window doesn't scroll horizontally...
Fixed in SVN r1696. Thanks.
Regards, Enrico
On Mon, 9 Jul 2007 19:37:25 +0200, Enrico Tröger enrico.troeger@uvena.de wrote:
On Mon, 9 Jul 2007 14:46:39 +0200, Harold Aling h.aling@home.nl wrote:
_Search toolbar_ If I type something in the find toolbar, I'd like to be visually notified if the search string doesn't exist. Changing the background of the searchbox to red would be cool (just like Firefox' find-as-you-type search toolbar)
Added in SVN r1687 (you may remember the colours if you think of Nick Schermer's new mousepad ;-)).
Regards, Enrico
Small usability bugs/feature requests * When switching documents, reset the background color * After switching documents, pressing F3 (search again) doesn't paint the background red if the string isn't found * Ability to always let Geany wrap the search (irritating popup...)
Cheers!
-H-
On Tue, 10 Jul 2007 10:49:47 +0200, Harold Aling h.aling@home.nl wrote:
On Mon, 9 Jul 2007 19:37:25 +0200, Enrico Tröger enrico.troeger@uvena.de wrote:
On Mon, 9 Jul 2007 14:46:39 +0200, Harold Aling h.aling@home.nl wrote:
_Search toolbar_ If I type something in the find toolbar, I'd like to be visually notified if the search string doesn't exist. Changing the background of the searchbox to red would be cool (just like Firefox' find-as-you-type search toolbar)
Added in SVN r1687 (you may remember the colours if you think of Nick Schermer's new mousepad ;-)).
Small usability bugs/feature requests
- When switching documents, reset the background color
I would like to keep it as it is. To refer again to Firefox ;-): there the background colour also stays when switching between tabs and I like it because you still see that your last search wasn't successful. I think it is not really dependent on the current document. But it's only my opinion and others are welcome.
- After switching documents, pressing F3 (search again) doesn't paint
the background red if the string isn't found
Fixed in SVN 1692. Thanks.
- Ability to always let Geany wrap the search (irritating popup...)
Open the preferences dialog and check "Always wrap search and hide the Find dialog".
Regards, Enrico