Version 14.60 beta 2 (64-bit)
I opened a well formated PHP file containing a class with methods and the code explorer shows absolutely nothing. Am I missing something?
FIXED: No code explorer for PHP
Re: No code explorer for PHP
I don't know... steps to reproduce, perhaps? Or sample code?
Alium tibi quaere fratrem; hic, quem tuum putas, meus est. Titus Flāvius Caesar Vespasiānus Augustus
Re: No code explorer for PHP
I tested it with 2 files. You can find them here
https://github.com/contao/contao/tree/4 ... ary/Contao
Template.php and System.php
Open the files in RJ and open the code explorer.
https://github.com/contao/contao/tree/4 ... ary/Contao
Template.php and System.php
Open the files in RJ and open the code explorer.
Re: No code explorer for PHP
Now we're talking!
Little experiment shows, that while e.g.
is not recognized,
is, which suggests that the current implementation of method recognition should be tweaked a bit.
Little experiment shows, that while e.g.
Code: Select all
public static function importStatic()
Code: Select all
function public static importStatic()
Alium tibi quaere fratrem; hic, quem tuum putas, meus est. Titus Flāvius Caesar Vespasiānus Augustus
- Rickard Johansson
- Site Admin
- Posts: 6783
- Joined: 19 Jul 2006 14:29
Re: No code explorer for PHP
I didn't include the fixed PHP syntax file in 10.60 beta 3, you can download and try the one below.
Properties are not always displayed properly though. I'll see what I can do in the final release.
Properties are not always displayed properly though. I'll see what I can do in the final release.
- Rickard Johansson
- Site Admin
- Posts: 6783
- Joined: 19 Jul 2006 14:29
Re: No code explorer for PHP
I've updated the syntax file and made some improvements in the final version (v14.60).
Classes, methods and properties are listed properly now.
Classes, methods and properties are listed properly now.
Re: FIXED: No code explorer for PHP
I've updated to 14.60 beta 3 (64-bit) - nothing changed
Then I've manually overwritten the files PHP.syx and PHP.ini with the new ones in this thread from 29.07.2020 14:55. -
Almost nothing has changed. On top of code explorer with some of those PHP files I see the class name. E.g. "class Dbafs".
Below I see the text "Module" with a folder icon in front.
No variables and no functions (methods).
Then I've manually overwritten the files PHP.syx and PHP.ini with the new ones in this thread from 29.07.2020 14:55. -
Almost nothing has changed. On top of code explorer with some of those PHP files I see the class name. E.g. "class Dbafs".
Below I see the text "Module" with a folder icon in front.
No variables and no functions (methods).
Re: FIXED: No code explorer for PHP
Works for me:
I suppose you've overwritten files located in e.g. C:\Program Files\RJ TextEd\InstallData\Syntax\PHP.syx (installer's copy), while you should've overwritten those in ...\Users\...\AppData\Roaming\RJ TextEd\syntax\PHP.syx
Alium tibi quaere fratrem; hic, quem tuum putas, meus est. Titus Flāvius Caesar Vespasiānus Augustus
Re: FIXED: No code explorer for PHP
Oh yeah, that was the wrong PHP.syx. Now it works. Thank you very much for quick and friendly support. 

Re: FIXED: No code explorer for PHP
Great to hear you've sorted it out 

Alium tibi quaere fratrem; hic, quem tuum putas, meus est. Titus Flāvius Caesar Vespasiānus Augustus