sqlitebrowser / sqlitebrowser/sqlitebrowser
Include an space after autocomplete SQL Code
Nobody has claimed this yet.
- Dominant language
- C++
- Stars
- 24.6k
- Forks
- 2.4k
- Avg merge
- 3d 49m
- Merged PRs (30d)
- 3
Description
Describe the new feature
Insert an space after autocomplete SQL code.
Additional info
The program currently has a nice code autocompletion on "SQL Execution" panel.
But after autocomplete don't insert an space after the word.
Does this feature exist in another product or project? Please provide a link.
This is the default behavior on other popular code editors, like Netbeans, so many people may expect it, and there is a chance to cotinue typing code without the required space.
Do you have a screenshot? Please add screenshots to help explain your idea.
This is the autocompletion

If user continue typing without type spaces, get invalid code:

If autocompletion inserts an space after each reserved word, will get valid code, If user insert other space, the double spaced code is valid and will not be any problem. (But a really intelligent editor would not accept multiple spaces when not on the line begining)
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
The issue points to the SQL Execution panel's autocomplete behavior but names no file or test. Start by locating that panel's autocomplete implementation and reproducing completion of a reserved word; done when completion inserts a trailing space and continued typing produces valid SQL without disrupting existing completion.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cpp, sql
- Domain
- database, desktop
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 42/100