Feature request: format SQL code-completetion commands as UPPER CASE #1238
Just tested today's build on Windows 10 - 64 bit (downloaded the x64.exe version).
Currently, whenever you write your code into the Execute SQL tab there is no way (or shortcut) to automatically format it (UPPER CASE, new line, indentations and so on).
What about adding an option, in the "Preferences..." window, as regards the code-completion feature, in Sqlite Browser, to have them proposed as UPPER CASE instead ? :-)
For instance , you write your SQL code to create a new table.
Thanks a lot in advance for reading this very long message :-)
The text was updated successfully, but these errors were encountered:
Added a new setting for completing the SQL keywords in upper case (default being true). Scintilla setAutoCompletionCaseSensitivity is set to false. Otherwise the completion is only done in lowercase when both case versions are added, or if only upper case version is added, writing lower case letters does not use the upper case version of the word in the completion list. This change doesn't have apparently any downside, since SQL is actually case insensitive. Consequently the list of keywords is only added in one of the two letter case versions, depending on the new setting value. The new preference check-box is only enabled when the auto-complete check-box is checked. See issues #1238 and #1287.
Works well - thanks @mgrojo.
Semi linked to this, but can the auto complete have more than one word, or is it limited to just words? If you type LEFT, it would be handy if it auto completed to LEFT JOIN rather than just LEFT (same for right)... maybe even suggest SELECT * FROM in addition to just SELECT too.... but I'm scampering into a different issue now....... ;) Maybe just have a 'suggestions.txt' in the application folder the user could edit. Oh, I'll shut up now... ;)