Skip to content

Feature: Allow exclude/remove from history #1146

Description

@matt17r

Feature request

Is your feature request related to a problem? Please describe.
There are some commands I don't want being stored in my SQLPro history:

CREATE LOGIN app_readonly WITH PASSWORD = 'a-long-random-password-here', CHECK_POLICY = ON;

So far the only way I've figured out to remove them is to quit SQLPro Studio, open the history folder (✅ View menu → Query History Folder), find the correct history JSON file and edit it by hand.

Describe the solution you'd like

  1. A way to tell it to not keep it in history; e.g. a space prefix on first row of command like some shells? a magic comment to toggle it on and off per section -- #HISTORY OFF? Something else?

  2. A way to easily delete individual entries, probably from the history dropdown?

Image
  1. A filter list of commands/keywords to always exclude from history?

  2. All of the above?

Describe alternatives you've considered
Writing a history scraper bot that searches for dangerous/sensitive commands queries and deletes or sanitises them

Additional context
I love this app 🤷‍♂️

Product

SQLPro Studio

App version

2026.174 (build 111260)

Platform

macOS

Installation source

Setapp

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions