Skip to content

Bug: Beautify and Uglify errors #275

Description

@nicholasdillon

Describe the bug
When entering SQL and clicking beautify when it's completely highlighted. it removes the text completely. However which is more interesting that Uglify closes the application which was funny but not intended I take it. (My SQL is not that bad I hope)

Which driver are you using and version of it:
Example: PostgreSQL 10.0

Which TablePlus build number are you using (the number on the about screen):
Version 1.6.8 (308)

To Reproduce
Include steps to reproduce the behavior:

  1. Go to enter SQL mode
  2. Paste SQL command
  3. Click on Beautify or Uglify'
  4. See error of either closed or a cleared to blank slate of the SQL statement
    Expected behavior
    Expected would be to make the SQL more readable for SQL inputs or to

Screenshots
If applicable, add screenshots to help explain your problem.

Desktop (please complete the following information):

  • OS: 136~22.04.1-Ubuntu
  • Architecture [e.g. x64, arm64]
  • Version 6.8.0-136-generic
  • AppImage version

Additional context
Add any other context about the problem here.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions