[GH-ISSUE #3489] [feature]: replace variables #1178

Open
opened 2026-03-16 19:00:30 +03:00 by kerem · 0 comments
Owner

Originally created by @liddack on GitHub (Nov 3, 2023).
Original GitHub issue: https://github.com/hoppscotch/hoppscotch/issues/3489

Is there an existing issue for this?

  • I have searched the existing issues

Summary

When you select text in the "Respose Body" section of a REST request, the UI shows a hover button saying Set as variable - when clicked, it shows a modal for adding the selected text as a new variable to the current environment.

I think this is a awesome feature because it makes me save time in comparison with doing the same task via the "Environments" view. But there's something missing.

This modal does not allow me to replace the value of an existing variable.
When I type the key of an existing variable and hit "Save", a new variable with the same key is created, which can cause pollution.

Why should this be worked on?

The ability to replace an existing variable via the modal would effectively save more time and reduce clutter.

Originally created by @liddack on GitHub (Nov 3, 2023). Original GitHub issue: https://github.com/hoppscotch/hoppscotch/issues/3489 ### Is there an existing issue for this? - [X] I have searched the existing issues ### Summary When you select text in the "Respose Body" section of a REST request, the UI shows a hover button saying `Set as variable` - when clicked, it shows a modal for adding the selected text as a new variable to the current environment. I think this is a awesome feature because it makes me save time in comparison with doing the same task via the "Environments" view. But there's something missing. This modal does not allow me to _replace_ the value of an existing variable. When I type the key of an existing variable and hit "Save", a new variable with the same key is created, which can cause pollution. ### Why should this be worked on? The ability to replace an existing variable via the modal would effectively save more time and reduce clutter.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/hoppscotch#1178
No description provided.