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 2:56 am

All times are UTC




Post new topic Reply to topic  [ 10 posts ] 
Author Message
 Post subject: [Suggestion] SQL-Color-Syntax not working
PostPosted: Wed Mar 09, 2022 9:40 pm 
Offline

Joined: Mon Oct 26, 2020 1:32 pm
Posts: 78
If using PHP and SQL the color syntax is not working. There is no difference if you use it with or without ' or ยด or with nothing (as I do)
Could you please fix this or add an option?


Attachments:
codelobster_sql_color_not_working.png
codelobster_sql_color_not_working.png [ 23.88 KiB | Viewed 255984 times ]


Last edited by TheQuestionmark on Fri Mar 11, 2022 5:01 pm, edited 1 time in total.
Report this post
Top
 Profile  
Reply with quote  
 Post subject: Re: [Bug] SQL-Color-Syntax not working
PostPosted: Thu Mar 10, 2022 12:34 pm 
Offline
Site Admin

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

Codelobster doesn't highlight SQL syntax inside PHP strings.
Codelobster highlights SQL syntax inside separate .sql files only.

Regards,
Codelobster Team.


Report this post
Top
 Profile  
Reply with quote  
 Post subject: Re: [Suggestion] SQL-Color-Syntax not working
PostPosted: Fri Mar 11, 2022 5:03 pm 
Offline

Joined: Mon Oct 26, 2020 1:32 pm
Posts: 78
Oh! I renamed the thread topic.
Could you please integrate this? Would be great.


Report this post
Top
 Profile  
Reply with quote  
 Post subject: Re: [Suggestion] SQL-Color-Syntax not working
PostPosted: Fri Apr 22, 2022 4:35 pm 
Offline

Joined: Wed Mar 09, 2022 2:21 pm
Posts: 82
I think it's not easy ! how to know if a string contains sql command or somthing else ..... ?

_________________
Licenced Pro-IDE version.


Report this post
Top
 Profile  
Reply with quote  
 Post subject: Re: [Suggestion] SQL-Color-Syntax not working
PostPosted: Sun May 01, 2022 10:06 pm 
Offline

Joined: Mon Oct 26, 2020 1:32 pm
Posts: 78
Well, there are some options:
If there is the keyworlds "SELECT anything FROM"
It can combinated with the check, if there are query("SELECT" or prepare("SELECT".


Report this post
Top
 Profile  
Reply with quote  
 Post subject: Re: [Suggestion] SQL-Color-Syntax not working
PostPosted: Thu Jul 28, 2022 5:48 pm 
Offline

Joined: Mon Oct 26, 2020 1:32 pm
Posts: 78
@Admin: Do think about to integrate this?


Report this post
Top
 Profile  
Reply with quote  
 Post subject: Re: [Suggestion] SQL-Color-Syntax not working
PostPosted: Tue Aug 02, 2022 1:00 pm 
Offline
Site Admin

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

Yes, it is the good suggestion.
It isn't easy task, but we will try.

Thanks,
Codelobster Team.


Report this post
Top
 Profile  
Reply with quote  
 Post subject: Re: [Suggestion] SQL-Color-Syntax not working
PostPosted: Fri Aug 05, 2022 6:35 am 
Offline

Joined: Wed Mar 09, 2022 2:21 pm
Posts: 82
The best way is to have a table containing all of the sql reserved words and highlight regardless if it's in a string or no; so forgot the single/double quotes; could be fine if this list would be in a separate file to be edited.

Domi.

_________________
Licenced Pro-IDE version.


Report this post
Top
 Profile  
Reply with quote  
 Post subject: Re: [Suggestion] SQL-Color-Syntax not working
PostPosted: Fri Dec 30, 2022 11:48 am 
Offline
Site Admin

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

Could You, please, try the following new version:
https://codelobsteride.com/download/Cod ... tup_22.exe

Thanks,
Codelobster Team.


Report this post
Top
 Profile  
Reply with quote  
 Post subject: Re: [Suggestion] SQL-Color-Syntax not working
PostPosted: Mon Mar 13, 2023 5:29 pm 
Offline

Joined: Mon Oct 26, 2020 1:32 pm
Posts: 78
I did overread that. If you mean, that there are changes by SQL-Strings in PHP-Files, than I can't see a difference.
Using Codelobster 2.3.0


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

All times are UTC


Who is online

Users browsing this forum: Google [Bot] and 19 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