History | Log In     View a printable version of the current page.  
Issue Details (XML | Word | Printable)

Key: IDEADEV-28340
Type: Bug Bug
Status: Open Open
Priority: Normal Normal
Assignee: Gregory Shrago
Reporter: Alexander Chernikov
Votes: 0
Watchers: 1
Operations

If you were logged in you would be able to see more operations.
IDEA: Development

Between opening a project and the first file modification injected SQL dialect is always considered SQL-92

Created: 17 Jul 08 21:37   Updated: 17 Jul 08 21:37
Component/s: IntelliLang, SQL
Fix Version/s: Diana Final

Original Estimate: Unknown Remaining Estimate: Unknown Time Spent: Unknown

Build: 8,587


 Description  « Hide
Type java code with injected MySQL:
...
	@NonNls @Language("MySQL") final String sql = "select id from t2 where substring(text3, 0) = 'text';";
...

It is highlighted as MySQL. Ok.
Keep file open. Close project. Reopen project. See that there is error mark in substring() call. It looks like SQL-92 highlighting. That's the problem.
Modify file in any way: see that the highlighting is MySQL again.



 All   Comments   Work Log   Change History      Sort Order:
There are no comments yet on this issue.