Bug 32613 added autocomplete to the SQL CodeMirror editor. Not everyone loves this. It would be nice if there was a a way to turn it off per user.
Created attachment 160088 [details] [review] Bug 35509: Add a way to disable SQL autocompletion To test: 1. APPLY PATCH 2. Create or edit a report 3. Notice the "Use SQL autocomplete:" checkbox when creating or editing a report 4. Try checking/unchecking the box and make sure that autocompletion turns off when it is unchecked and is on when it is checked.
The Use SQL autocomplete check box worked to turn SQL autocomplete on and off for a saved SQL report, but when you toggle the checkbox the SQL in the report reverts to the last saved version of the SQL. That is not consistent with the other inputs in the SQL report form, which you can edit without reverting any new changes you have made in the SQL field. It would be frustrating if you were working on writing a report and click to change the autocomplete setting because you would lose your work.
(In reply to Brendan Lawlor from comment #2) > The Use SQL autocomplete check box worked to turn SQL autocomplete on and > off for a saved SQL report, but when you toggle the checkbox the SQL in the > report reverts to the last saved version of the SQL. > > That is not consistent with the other inputs in the SQL report form, which > you can edit without reverting any new changes you have made in the SQL > field. It would be frustrating if you were working on writing a report and > click to change the autocomplete setting because you would lose your work. FQA based on Brendan's comments.