vscode icon indicating copy to clipboard operation
vscode copied to clipboard

Feature Request: Add ability to edit connection string

Open fritogotlayed opened this issue 3 years ago • 1 comments

Add ability to edit connection strings tracked by this extension

Feature Request

Detailed Description

Adding the ability to edit an existing mongodb connection string could have a few boons for developers. One main reason is to be able to easily change passwords during password rotations.

Context

One project I am working on uses randomized passwords for local development. Another set of environments I connect to undergo quarterly password rotations for their landscapes. While I have a process that succeeds for password rotations it is cumbersome and a bit error prone due to the nature of the workflow.

Current Workflow:

  1. Find the connection in the "Connections" section of the GUI
  2. Copy/Paste the connection string to a text editor where it can be tweaked
  3. Update the password section of the copied connection string
  4. Delete the existing connection in the GUI
  5. Add a new connection using the copy/paste & edited connection string

Proposed Workflow:

  1. Find the connection in the "Connections" section of the GUI
  2. Select "Edit" for the connection string
  3. Update the connection string password
  4. Save the connection string

Possible Implementation

N/A: I've been meaning to look at the extension code and submit a PR but have not yet had time to familiarize myself with the code.

fritogotlayed avatar Apr 06 '21 15:04 fritogotlayed

Hey, can you create a feature request in our feedback forum?

alenakhineika avatar Jul 21 '21 13:07 alenakhineika

Use the following ticket to track the progress: VSCODE-406

alenakhineika avatar Apr 17 '23 12:04 alenakhineika

The feature was shipped with the v1.5.0 release.

alenakhineika avatar Feb 05 '24 13:02 alenakhineika