TablePlus / TablePlus-Windows

TablePlus Windows issue tracker
https://tableplus.com
187 stars 3 forks source link

Auto Uppercase keywords not working #250

Open libcub opened 4 years ago

libcub commented 4 years ago
  1. Which driver are you using and version of it (Ex: PostgreSQL 10.0): PostgreSQL 12.1

  2. Which TablePlus build number are you using (the number on the welcome screen, Ex: build 81): build 132

  3. The steps to reproduce this issue: Click on Menu > Help > Preferences > Query Editor. Check Auto Uppercase keywords. (Or open an SQL window, and click on the gear > Autocomplete options > Automatically uppercase keywords.) Type an SQL statement, using lowercase for keywords. The SQL keywords do not get capitalize themselves. Beautify and Uglify do not capitalize either.

Noted: If the bug is related to data, please attach an example SQL data.

chipilov commented 2 years ago

I think the issue here is that auto-capitalization ONLY works if you use the auto-complete feature to complete a keyword. For example, if you type 'sele' and then choose 'select' from the auto-complete drop-down, the keyword would be capitalized.

However, I agree with @libcub that auto-capitalization should work regardless of whether one uses the auto-complete or not.