CodeLobster IDE
http://codelobster.com/forum/

[Suggestion] SQL-Color-Syntax not working
http://codelobster.com/forum/viewtopic.php?f=8&t=25093
Page 1 of 1

Author:  TheQuestionmark [ Wed Mar 09, 2022 9:40 pm ]
Post subject:  [Suggestion] SQL-Color-Syntax not working

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 281755 times ]

Author:  Admin [ Thu Mar 10, 2022 12:34 pm ]
Post subject:  Re: [Bug] SQL-Color-Syntax not working

Hi.

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

Regards,
Codelobster Team.

Author:  TheQuestionmark [ Fri Mar 11, 2022 5:03 pm ]
Post subject:  Re: [Suggestion] SQL-Color-Syntax not working

Oh! I renamed the thread topic.
Could you please integrate this? Would be great.

Author:  Domi [ Fri Apr 22, 2022 4:35 pm ]
Post subject:  Re: [Suggestion] SQL-Color-Syntax not working

I think it's not easy ! how to know if a string contains sql command or somthing else ..... ?

Author:  TheQuestionmark [ Sun May 01, 2022 10:06 pm ]
Post subject:  Re: [Suggestion] SQL-Color-Syntax not working

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".

Author:  TheQuestionmark [ Thu Jul 28, 2022 5:48 pm ]
Post subject:  Re: [Suggestion] SQL-Color-Syntax not working

@Admin: Do think about to integrate this?

Author:  Admin [ Tue Aug 02, 2022 1:00 pm ]
Post subject:  Re: [Suggestion] SQL-Color-Syntax not working

Hi.

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

Thanks,
Codelobster Team.

Author:  Domi [ Fri Aug 05, 2022 6:35 am ]
Post subject:  Re: [Suggestion] SQL-Color-Syntax not working

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.

Author:  Admin [ Fri Dec 30, 2022 11:48 am ]
Post subject:  Re: [Suggestion] SQL-Color-Syntax not working

Hi.

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

Thanks,
Codelobster Team.

Author:  TheQuestionmark [ Mon Mar 13, 2023 5:29 pm ]
Post subject:  Re: [Suggestion] SQL-Color-Syntax not working

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

Page 1 of 1 All times are UTC
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
http://www.phpbb.com/