Support the "alternative quoting mechanism" for PL/SQL #14
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "main"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
In Oracle's (PL/)SQL, the "alternative quoting mechanism" is a very popular way to enquote strings, without having to worry about escaping single quotes. See the official docs.
Instead of having to write things like this:
we can just do:
Currently, CodeMirror's PLSQL dialect does not understand this syntax, and stops highlighting the string after the first single quote. This PR fixes it.
Thanks! Followed this up with
6aac598, which renames the option and adjusts the code style a bit. Do those changes work for you?Sure thing. Much appreciated!