Hi @ all, is there a posibility to search in all word of an document? there are no matches for words inside strings ( sql-queries f.e. ) or php-variables
this is a really cool editor auto-completion with additional tags is what i was looking for years ( after kicking vb .. ) but nothing worth without variables and words inside strings. Please tell me this is just a configuration-problem.. Jochen
On Fri, 18 Apr 2008 12:14:53 +0200, "Jochen J. Ulbricht" j.ulbricht@vidat.eu wrote:
Hi @ all, is there a posibility to search in all word of an document? there are no matches for words inside strings ( sql-queries f.e. ) or php-variables
I'm not sure whether I'm understanding you right. You want an auto completion for "bar" from the following example:
<?php $foo = "bar"; ?> Then Geany should suggest "bar" in the auto completion list?
Regards, Enrico
Hi @ all, is there a posibility to search in all word of an document? there are no matches for words inside strings ( sql-queries f.e. ) or php-variables
I'm not sure whether I'm understanding you right. You want an auto completion for "bar" from the following example:
<?php $foo = "bar"; ?>
Then Geany should suggest "bar" in the auto completion list?
Regards, Enrico
Yes, if I've got let s say 2 queries:
$Query1 = "SELECT ColWithLongNameAndMeaning1, ColWithLongerNameAndMeaning2 FROM ".$tblWhatEver.";";
And I write $Query2 = "SELECT CONCAT( Col
then it would be nice if auto completion would find both of the previous ColNames ( and what ever else begins with "Col". This is the easiest way to find out ( without scrolling 500s of lines up ) if I write the col or variable correct.
In Kate it is like this, but Kate does not support custom definitions of function setc. for auto completion. So I ' ve spent the whole night to customize the syntaxhighlighting ( colors ) and tags and now I do not now if - and when how to get this work in Geany :(
Hi @ all, is there a posibility to search in all word of an document? there are no matches for words inside strings ( sql-queries f.e. ) or php-variables
I'm not sure whether I'm understanding you right. You want an auto completion for "bar" from the following example:
<?php $foo = "bar"; ?>
Then Geany should suggest "bar" in the auto completion list?
Regards, Enrico
Yes, if I've got let s say 2 queries:
$Query1 = "SELECT ColWithLongNameAndMeaning1, ColWithLongerNameAndMeaning2 FROM ".$tblWhatEver.";";
And I write $Query2 = "SELECT CONCAT( Col
then it would be nice if auto completion would find both of the previous ColNames ( and what ever else begins with "Col". This is the easiest way to find out ( without scrolling 500s of lines up ) if I write the col or variable correct.
In Kate it is like this, but Kate does not support custom definitions of function setc. for auto completion. So I ' ve spent the whole night to customize the syntaxhighlighting ( colors ) and tags and now I do not now if - and when how to get this work in Geany :(
I forgot:
If you edit a Javascript-file with an Object-definition in the json way: var blubber = { x : 0, foo : function(){ return "bar"; } } autocolpletion does not work, because no functions like "function foo().." are found ( I think ), too.
On Fri, 18 Apr 2008 16:03:17 +0200, "Jochen J. Ulbricht" j.ulbricht@vidat.eu wrote:
Hi @ all, is there a posibility to search in all word of an document? there are no matches for words inside strings ( sql-queries f.e. ) or php-variables
I'm not sure whether I'm understanding you right. You want an auto completion for "bar" from the following example:
<?php $foo = "bar"; ?>
Then Geany should suggest "bar" in the auto completion list?
Regards, Enrico
Yes, if I've got let s say 2 queries:
$Query1 = "SELECT ColWithLongNameAndMeaning1, ColWithLongerNameAndMeaning2 FROM ".$tblWhatEver.";";
And I write $Query2 = "SELECT CONCAT( Col
then it would be nice if auto completion would find both of the previous ColNames ( and what ever else begins with "Col". This is the easiest way to find out ( without scrolling 500s of lines up ) if I write the col or variable correct.
In Kate it is like this, but Kate does not support custom definitions of function setc. for auto completion. So I ' ve spent the whole night to customize the syntaxhighlighting ( colors ) and tags and now I do not now if - and when how to get this work in Geany :(
I forgot:
If you edit a Javascript-file with an Object-definition in the json way: var blubber = { x : 0, foo : function(){ return "bar"; } } autocolpletion does not work, because no functions like "function foo().." are found ( I think ), too.
Geany 0.14 will find blubber.foo, this was fixed after the 0.13 release. And I just fixed a little issue which caused to not detect the x as a property.
Regards, Enrico
On Fri, 18 Apr 2008 15:56:55 +0200, "Jochen J. Ulbricht" j.ulbricht@vidat.eu wrote:
Hi @ all, is there a posibility to search in all word of an document? there are no matches for words inside strings ( sql-queries f.e. ) or php-variables
I'm not sure whether I'm understanding you right. You want an auto completion for "bar" from the following example:
<?php $foo = "bar"; ?>
Then Geany should suggest "bar" in the auto completion list?
Regards, Enrico
Yes, if I've got let s say 2 queries:
$Query1 = "SELECT ColWithLongNameAndMeaning1, ColWithLongerNameAndMeaning2 FROM ".$tblWhatEver.";";
And I write $Query2 = "SELECT CONCAT( Col
then it would be nice if auto completion would find both of the previous ColNames ( and what ever else begins with "Col". This is the easiest way to find out ( without scrolling 500s of lines up ) if I write the col or variable correct.
In Kate it is like this, but Kate does not support custom definitions of function setc. for auto completion. So I ' ve spent the whole night to customize the syntaxhighlighting ( colors ) and tags and now I do not now if - and when how to get this work in Geany :(
Ok, so this is like the feature of Kate to auto complete of each word found in the current file. This already was requested some time ago (therefore I know Kate can do this, never tried it) and it seems you additionally want to set a filter. Geany can't do both things.
The auto completion of all words in the current document should be possible to realise as a plugin, there just must be one to write the code. The filter should not be that hard to implement afterwards.
But as I don't like this (I just have no use case for this), I won't work on this. Sorry.
Regards, Enrico