Open bdtoole opened 3 months ago
I'm searching for relevant snippets in your repository. If this is your first time using Sweep, I'm indexing your repository, which will take a few minutes.
[!TIP] To recreate the pull request, edit the issue title or description.
Describe the feature
It would be great to be able to type expand out any
SELECT *
statements to be a select statements with the columns explicitly listed. Preferably, you could also specify if you wanted leading or trailing commas (perhaps via a configuration setting). The ultimate goal would be to be able to quickly replacewith something similar to
or
I realize the formatting and alignment nature might be tricky, so even if it was something like this, it would be a win, given how easy it is to select multiple lines and tab/space over the indentation.
Describe alternatives you've considered
Functionality like this exists in multiple IDEs already, such as Deep Channel and Y42.
Who will benefit?
Anyone that wants to easily replace
*
with a list of columns.Are you willing to submit PR?