MariaDB code fragment editor deletes code
已回答
Pycharm Pro 2018.3.
Default Pycharm SQL dialect is MariaDB.
New blank project.
Enter
sql_text = 'select * from workshop.foo'
Alt + Enter - Select Edit MariaDB Fragment
Code appears in new window.
Reformat code - line break appears and keywords uppercased as desired in the fragment window.
Top window now looks like
sql_text = 'SELECT *
(Just that).
Close the fragment window , code is
sql_text = 'SELECT *
SQL Code Style is defaults plus Keywords and types set to Upper.
Any ideas?
请先登录再写评论。
Hi,
Would it be possible to provide this file for reproducing? You could upload it to https://uploads.services.jetbrains.com/, just let me know the name of the file so I can find it.
Filename is
Thank you!
I am able to reproduce it. I have filed an issue about it https://youtrack.jetbrains.com/issue/PY-33589, please follow it for updates.
See https://intellij-support.jetbrains.com/hc/en-us/articles/207241135-How-to-follow-YouTrack-issues-and-receive-notifications if you are not familiar with YouTrack.