CodeLobster IDE

Free cross-platform PHP IDE (HTML, PHP, CSS, JavaScript, Python code editor) with support Drupal, Joomla, Twig, JQuery, BackboneJS, LaravelJS, Node.js, CodeIgniter, CakePHP, Laravel, Magento, MeteorJS, Phalcon, Symfony, VueJS, WordPress, Yii
It is currently Fri Mar 24, 2023 4:59 pm

All times are UTC




Post new topic Reply to topic  [ 9 posts ] 
Author Message
 Post subject: PHP Syntax not working
PostPosted: Tue Jan 24, 2023 5:34 pm 
Offline

Joined: Tue Aug 06, 2013 10:41 am
Posts: 22
Hello
when I open the PHP file. No syntax highlighting. Even if it is selected in the menu.
Attachment:
File comment: Default open
default.png
default.png [ 49.12 KiB | Viewed 5414 times ]

When I manually select PHP in the menu. The syntax will be adjusted correctly.
Attachment:
File comment: After
after.png
after.png [ 54.27 KiB | Viewed 5414 times ]

Version 2.2.0

Thanks


Report this post
Top
 Profile  
Reply with quote  
 Post subject: Re: PHP Syntax not working
PostPosted: Fri Jan 27, 2023 1:30 pm 
Offline
Site Admin

Joined: Wed Sep 12, 2007 2:18 pm
Posts: 3900
Hi.

Yes, new version 2.2. colorizes such strings as SQL (not PHP).
We are going to add variable colorizing here soon too.

Thanks,
Codelobster Team.


Report this post
Top
 Profile  
Reply with quote  
 Post subject: Re: PHP Syntax not working
PostPosted: Fri Jan 27, 2023 9:56 pm 
Offline

Joined: Tue Aug 06, 2013 10:41 am
Posts: 22
Why then, after opening the file, it is colored as SQL, but PHP is selected in the menu. And if I select the selected PHP coloring in the menu, does it change?


Report this post
Top
 Profile  
Reply with quote  
 Post subject: Re: PHP Syntax not working
PostPosted: Wed Feb 15, 2023 3:38 pm 
Offline

Joined: Tue Aug 06, 2013 10:41 am
Posts: 22
Hello, is there anything new please?
syntax highlighting is giving us problems.
I have version 2.3.0.


Report this post
Top
 Profile  
Reply with quote  
 Post subject: Re: PHP Syntax not working
PostPosted: Wed Feb 15, 2023 3:56 pm 
Offline
Site Admin

Joined: Wed Sep 12, 2007 2:18 pm
Posts: 3900
Hi.

SQL syntax inside any strings is highlighted as SQL now.

Please, open Preferences->Editor->Colors->SQL and press Default button.

And send us the screenshot if it doesn't help.

Thanks,
Codelobster Team.


Report this post
Top
 Profile  
Reply with quote  
 Post subject: Re: PHP Syntax not working
PostPosted: Wed Feb 15, 2023 5:25 pm 
Offline

Joined: Tue Aug 06, 2013 10:41 am
Posts: 22
ok, I changed the settings and restarted the app.


Open file, and look
Attachment:
File comment: Open file.
default01.png
default01.png [ 67.57 KiB | Viewed 3853 times ]


Click on menu Syntax> PHP
Attachment:
File comment: After click
default02.png
default02.png [ 73.97 KiB | Viewed 3853 times ]


Settings
Attachment:
File comment: Settings
default03.JPG
default03.JPG [ 90.55 KiB | Viewed 3853 times ]


I would like file to look like image two when opened.


Report this post
Top
 Profile  
Reply with quote  
 Post subject: Re: PHP Syntax not working
PostPosted: Thu Feb 16, 2023 1:30 pm 
Offline
Site Admin

Joined: Wed Sep 12, 2007 2:18 pm
Posts: 3900
Hi.

Everything looks correctly.

Once more: SQL syntax inside any strings is highlighted as SQL now.
(It is not highlighted by one color now).

Regards,
Codelobster Team.


Report this post
Top
 Profile  
Reply with quote  
 Post subject: Re: PHP Syntax not working
PostPosted: Thu Feb 16, 2023 5:05 pm 
Offline

Joined: Tue Aug 06, 2013 10:41 am
Posts: 22
OK I understand. But I don't think it's the right solution.

But I found a real bug in the application.
The procedure is the same as I already wrote.
1) open the PHP file
2) I will change the Syntax from PHP to PHP.

Attachment:
default04.png
default04.png [ 22.22 KiB | Viewed 3651 times ]


Report this post
Top
 Profile  
Reply with quote  
 Post subject: Re: PHP Syntax not working
PostPosted: Sat Feb 18, 2023 8:23 am 
Offline
Site Admin

Joined: Wed Sep 12, 2007 2:18 pm
Posts: 3900
Hi.

Yes, there is a bug with collapsing here.
We will fix it by the nearest new version.

Thanks,
Codelobster Team.


Report this post
Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 9 posts ] 

All times are UTC


Who is online

Users browsing this forum: No registered users and 3 guests


You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB © 2016 phpBB Group