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 Tue Mar 19, 2024 8:10 am

All times are UTC




Post new topic Reply to topic  [ 11 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: 24
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 179477 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 179477 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: 3931
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: 24
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: 24
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: 3931
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: 24
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 177916 times ]


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


Settings
Attachment:
File comment: Settings
default03.JPG
default03.JPG [ 90.55 KiB | Viewed 177916 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: 3931
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: 24
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 177714 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: 3931
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  
 Post subject: Re: PHP Syntax not working
PostPosted: Mon Sep 11, 2023 2:56 pm 
Offline
Site Admin

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

Could You, please, try new version 2.4.

Thanks,
Codelobster Team.


Report this post
Top
 Profile  
Reply with quote  
 Post subject: Re: PHP Syntax not working
PostPosted: Sat Dec 09, 2023 6:42 am 
Offline

Joined: Tue Aug 06, 2013 10:41 am
Posts: 24
Hi I have a version: 2.4.0.
The attached picture will tell.
Why is this happening?

Attachment:
File comment: PHP Syntax not working color
codelobster.png
codelobster.png [ 10.7 KiB | Viewed 100555 times ]


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

All times are UTC


Who is online

Users browsing this forum: No registered users and 15 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:  
Powered by phpBB © 2016 phpBB Group