Draco-lang / Language-suggestions

Collecting ideas for a new .NET language that could replace C#
75 stars 5 forks source link

Allow language identifiers at the start of multiline string #127

Open Binto86 opened 12 months ago

Binto86 commented 12 months ago

Users could put language identifiers at the start of multiline strings like this:

"""SQL
SELECT * FROM MyTable
WHERE ....
"""

This would allow external analyzers to provide syntax highlighting/code completion/other tooling support for the contents of the string.

jl0pd commented 11 months ago

Related F# suggestion https://github.com/fsharp/fslang-suggestions/issues/1300