When one has a query that starts with a complex table expression (WITH), it looks like the IDE won't auto-detect the string as a SQL query.
Is there a way to make it do the proper detection (annotation in code, or some IDE setting change)?
sample Python code with the query would be something like this
sql = """with cte as (select foo from bar)
select * from cte"""