Has this been fixed, because its sort of what I am getting.
Hi Bruno,
The project level define works fine with the Delphi compiler for VCL. The problem is PAS2JS. It does not see it. If I define it in the pascal file itself, it can see it. But I need it at the project level. I would appreciate if this could this be fixed soon please.
I can only assume this is an IDE issue, we do not interfere or control in any way with how project level conditional defines are being treated by the IDE editor.
Maybe there is something else in your code causing the LSP to hickup.
Select from the TMS WEB Core toolbar in the IDE to compile the project with DCC. Compiling with DCC doesn't make sense except to show where in the code the DCC has problems with your code. Then try to fix / comment this code and see if it has effect.