The ability to lock tabs by default

zcoss shared this question 15 days ago
Answered

Hi,

Would it be possible to add a feature to v4.7.5 where the tab automatically becomes locked? Or perhaps any solutions? I'm currently clicking the Lock Icon as soon as the tab opens.

I attempted to use the Make Connection/Database to Read Only feature as a solution, but doing so prevents the ability to use the Connection Tree functions such as Create Collection, etc., which I use so often that checking/unchecking the Make Connection/Database to Read Only checkbox becomes tedious.

If it isn't possible to add a feature to automatically lock the tab, would it be possible to add a Hotkey for the Lock Icon?

Comments (2)

photo
1

I still recommend that you use the Make Connection/Database to Read Only feature, Creating Collection is a low-frequency operation, you can use a code template instead of a UI operation.

Alternatively, you can create two connection configurations for the same MongoDB server, using color to distinguish them, one for read-only and one for writable. In general, use the read-only connection. Open the writable connection when you need to perform a write operation such as Create Collection. Close the writable connection as soon as you are done.

photo
1

Thanks!