Sublime Forum

Disable backslash as escape

#1

Hi,

I’m testing sublime editor, and my main area of development is on SQL databases. However, when i open SQL scripts in sublime, the presences of backslash (e.g file paths …) alters completely color highlights.

For example when i’m using this SQL string

‘D:\oracle\utl_file’

Is there any way to disable this behaviour? I want sublime editor interprets that string as a normal string.

Thanks.

0 Likes

SQL syntax highlight for string ending in backslash
#2

I think the problem isn’t the backslash but is the apostrophe which ends the string.

Have a look at this post, fgump

https://forum.sublimetext.com/t/sql-syntax-highlighting-for-in-string/1857/5

The code submitted by tgkeul solved the problem for me.

0 Likes