[fpc-devel] Some thoughts on multi-line string support, and a possible syntax that I think is perfectly clean and Pascal-ish.

George Bakhtadze armorcavalry at yandex.com
Fri Jul 5 19:38:34 CEST 2019


> In case case of readability: most cases of multi line string constants are likely to be embedded scripts (shaders, SQL, whatever) and thus the $INCLUDESTRING directive mentioned in the bug report is much more useable, because it allows you to view the embedded file in its own editor together with syntax hightlighting and possibly code completion.

Modern IDEs (e.g. IDEA) are able to inject language support into string literals allowing syntax highlighting, code completion and other code tools.
Example:
http://siberika.com/img/db/inject.gif


More information about the fpc-devel mailing list