class keyword needs to be all in lowercase, as it should. Class browser doesn't recognize e.g. Class with a capital initial letter.
If multiple classes have a local copy of the same function($arg){...} the browser only points to the first copy of the function in the sourcefile.
There is also a strange whitespace/tab-indentation problem with the class browser while loading variables and functions. It seems the code needs to be properly tab-spaced/indented, in order for the class browser to pick up things.
That's some things I picked up on my first day of usage. Hopefully not repeated all over already on the forums. With a working class browser Dev-PHP is my IDE of choice. Good job!
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
A lot of these issues will be fixed with the new alpha release later this week. From what I've heard, there's been some major revisions to the class browser
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Ive already fixed the lowercase problem. The other two bugs can not be fixed by now because they are design problems as Class Browser does not store line numbers.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
it's not nessecary to store line numbers! in version 2.0.8 there is no problem with functions with the same name in different classes. there is not a problem with tabs and spaces but this version has the lowercase problem. i will fix this for version 2.0.9. try current version(2.0.8) about the listed errors. if all seems correct, leonardo can include it in the version 3.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
You are correct, Urs. I could not repeat the class browser bugs excluding the lowercase one in v2.0.8. Also the problem with tabbing/spacing -code breaks the class browser only in v3. Line numbers matched properly on multiple instances of the same function in different classes in v2.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I found a small yet annoying bug, that makes me think that a line-number based Class Browser would be much better...
Write the next code in a new file (replacing "(tab)" with the Tab char), refresh Class Browser and then try to click on function_name.
<?php
function (tab) function_name() {
// Nothing
}
?>
You can also try changing the Tab char to a space char, the result would be the same.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
i have fixed this (spaces and/or tabs between keyword and name) for the next version (2.0.9) without line-number based class browser.
i am working on the class browser for php5.
i have updated the syntax highlightning for php5.
coming soon....
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Didn't have time to play around with it much, yet, so some of these might be a little off:
* close file (with class browser open), refresh class browser. Result: access violation.
* updating code/class_browser opens the whole tree. Is there a setting to have the class_browser tree closed at start-up and at all times, unless viewed?
Not a bug, but something that "bugged" me ;-)
* smart_tabs behaviour confused me a good couple of times. Devphp is the only editor I've used with this behavour, so it catches me totally off. I prefer to turn it off (it's on as default).
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
(addresses v3.00 alpha2)
class keyword needs to be all in lowercase, as it should. Class browser doesn't recognize e.g. Class with a capital initial letter.
If multiple classes have a local copy of the same function($arg){...} the browser only points to the first copy of the function in the sourcefile.
There is also a strange whitespace/tab-indentation problem with the class browser while loading variables and functions. It seems the code needs to be properly tab-spaced/indented, in order for the class browser to pick up things.
That's some things I picked up on my first day of usage. Hopefully not repeated all over already on the forums. With a working class browser Dev-PHP is my IDE of choice. Good job!
A lot of these issues will be fixed with the new alpha release later this week. From what I've heard, there's been some major revisions to the class browser
Ive already fixed the lowercase problem. The other two bugs can not be fixed by now because they are design problems as Class Browser does not store line numbers.
it's not nessecary to store line numbers! in version 2.0.8 there is no problem with functions with the same name in different classes. there is not a problem with tabs and spaces but this version has the lowercase problem. i will fix this for version 2.0.9. try current version(2.0.8) about the listed errors. if all seems correct, leonardo can include it in the version 3.
You are correct, Urs. I could not repeat the class browser bugs excluding the lowercase one in v2.0.8. Also the problem with tabbing/spacing -code breaks the class browser only in v3. Line numbers matched properly on multiple instances of the same function in different classes in v2.
I found a small yet annoying bug, that makes me think that a line-number based Class Browser would be much better...
Write the next code in a new file (replacing "(tab)" with the Tab char), refresh Class Browser and then try to click on function_name.
<?php
function (tab) function_name() {
// Nothing
}
?>
You can also try changing the Tab char to a space char, the result would be the same.
i have fixed this (spaces and/or tabs between keyword and name) for the next version (2.0.9) without line-number based class browser.
i am working on the class browser for php5.
i have updated the syntax highlightning for php5.
coming soon....
great :D
Nice work on 3.00a3!
Didn't have time to play around with it much, yet, so some of these might be a little off:
* close file (with class browser open), refresh class browser. Result: access violation.
* updating code/class_browser opens the whole tree. Is there a setting to have the class_browser tree closed at start-up and at all times, unless viewed?
Not a bug, but something that "bugged" me ;-)
* smart_tabs behaviour confused me a good couple of times. Devphp is the only editor I've used with this behavour, so it catches me totally off. I prefer to turn it off (it's on as default).