Database schemas I use give columns the same name if they’re meant to be used in a join, but Sublime Text is refusing to offer me word completions for the column name on the same line in this circumstance:
SELECT * FROM bar
JOIN foo
ON bar.bar_id = foo.bar
it does not offer bar_id
as a completion, only bar
. It does, however, if the whole statement is on one line:
SELECT * FROM bar JOIN foo ON bar.bar_id = foo.bar_id
Any pointers to where I can look to fix this?