mirror of
https://github.com/hoppscotch/hoppscotch.git
synced 2026-04-25 16:55:59 +03:00
[GH-ISSUE #4835] [feature]: Close currently active request tab with CTRL/CMD + W inside desktop app just like browsers do #1817
Labels
No labels
CodeDay
a11y
browser limited
bug
bug fix
cli
core
critical
design
desktop
discussion
docker
documentation
duplicate
enterprise
feature
feature
fosshack
future
good first issue
hacktoberfest
help wanted
i18n
invalid
major
minor
need information
need testing
not applicable to hoppscotch
not reproducible
pull-request
question
refactor
resolved
sandbox
self-host
spam
stale
testmu
wip
wont fix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/hoppscotch#1817
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @LordSimal on GitHub (Mar 5, 2025).
Original GitHub issue: https://github.com/hoppscotch/hoppscotch/issues/4835
Is there an existing issue for this?
Summary
Don't know if its possible for you or not, but at least inside the desktop app it would be great, If I could close the currently active tab with
CTRL/CMD + Wjust like you can do inside a browser to close the current tab.Of course this won't work inside the browser version, since you probably can't overwrite/overrule a browser native shortcude.
Why should this be worked on?
It would behave the same as a browser 😁
@MC-intel commented on GitHub (Mar 6, 2025):
Great suggestion! A simple way to implement this is by listening for the
CTRL/CMD + Wkey combination and triggering a function to close the active request tab. In Vue.js, this can be done withwindow.addEventListener("keydown", this.handleKeydown), wherehandleKeydown()checks for the shortcut and executesthis.closeActiveTab(). Would love to hear if this approach aligns with how tab handling is currently structured in the app!@darraghenright commented on GitHub (Apr 30, 2025):
Yes please! I am very trigger happy with
cmd+win my browser, VSCode etc. I am always really surprised when this command closes Hoppscotch entirely. Conversely, it's a pain to close all the tabs manually with a mouse.@DavidJMStepputat commented on GitHub (Jun 1, 2025):
Would be a great addition to the overall usability of the amazing hoppscotch app!
Coming from Postman (which supports tab closing with CTRL/CMD + W) and it happens several times a day I close hoppscotch by mistake this way ;)
@liyasthomas commented on GitHub (Jun 1, 2025):
We’re working on making the desktop app better, and adding keyboard shortcuts for tabs is on our list of things to do. Since this ticket is a duplicate, I’m closing it. But if you’re interested in contributing to the project, feel free to open a pull request.