All Projects → artdiniz → quit-control-vscode

artdiniz / quit-control-vscode

Licence: MIT license
➡️ Stop mistyping keyboard shortcuts and quitting VSCode unintentionally

Programming Languages

typescript
32286 projects

Projects that are alternatives of or similar to quit-control-vscode

vscode-appsync-resolver-autocomplete
Adds autocomplete functionality to vscode when editing AWS AppSync resolver vtl files.
Stars: ✭ 21 (-43.24%)
Mutual labels:  vscode-extension, vscode-plugin
angular-karma test-explorer
vscode extension for easy angular testing and debugging
Stars: ✭ 67 (+81.08%)
Mutual labels:  vscode-extension, vscode-plugin
vscode-java-saber
⚔️ To make the vscode work as Eclipse or IDEA when you are coding in java.
Stars: ✭ 28 (-24.32%)
Mutual labels:  vscode-extension, vscode-plugin
vscode-console-helper
vscode console helper — 旨在帮助开发人员编码时更快的输入/移除 log,搭配上醒目的主题,提高开发效率。
Stars: ✭ 36 (-2.7%)
Mutual labels:  vscode-extension, vscode-plugin
project-japanese-proofreading
テキストファイルやMarkdownファイルの日本語の文章をチェックするVS Codeの拡張機能
Stars: ✭ 81 (+118.92%)
Mutual labels:  vscode-extension, vscode-plugin
z-reader
📘 [vscode插件] 小说阅读器,支持在线搜索和本地阅读,支持txt和epub格式
Stars: ✭ 205 (+454.05%)
Mutual labels:  vscode-extension, vscode-plugin
git-emoji-zh
VS code 插件,在 VScode 中提交 git 的时候添加 emoji 表情😝
Stars: ✭ 39 (+5.41%)
Mutual labels:  vscode-extension, vscode-plugin
sap-hana-driver-for-sqltools
A Visual Studio Code extension which extends the SQLTools extension, with a driver to work with the SAP HANA Database. It supports tables and views, as well as running queries on an SAP HANA Database.
Stars: ✭ 17 (-54.05%)
Mutual labels:  vscode-extension, vscode-plugin
vscode-markdown-link-suggestions
Suggests workspace files and MarkDown file headers in MarkDown links
Stars: ✭ 15 (-59.46%)
Mutual labels:  vscode-extension, vscode-plugin
vscode-px-to-rem
Extension that allows you to convert from px to rem, and vice versa
Stars: ✭ 36 (-2.7%)
Mutual labels:  vscode-extension, vscode-plugin
vscode-react-component-generator
A VSCode extension that generates a new React component with its files automatically in VSCode.
Stars: ✭ 18 (-51.35%)
Mutual labels:  vscode-extension, vscode-plugin
vscode-settings
vscode(Visual Studio Code) 相关设置、使用技巧等整理
Stars: ✭ 16 (-56.76%)
Mutual labels:  vscode-extension, vscode-plugin
mirage
A Mirage blue theme with pastel tones for Visual Studio Code
Stars: ✭ 39 (+5.41%)
Mutual labels:  vscode-extension, vscode-plugin
vs-code-bpmn-io
Edit BPMN 2.0 files. Based on bpmn.io tools.
Stars: ✭ 87 (+135.14%)
Mutual labels:  vscode-extension, vscode-plugin
vscode-stylelint-plus
A Visual Studio Code extension to lint CSS/SCSS/Less with stylelint, support auto fix on save.
Stars: ✭ 32 (-13.51%)
Mutual labels:  vscode-extension, vscode-plugin
lwc-builder
VSCode Extension to kickstart Lightning Web Component development.
Stars: ✭ 15 (-59.46%)
Mutual labels:  vscode-extension
highlight-words
vscode extension to highlight all occurrences of words or expression
Stars: ✭ 32 (-13.51%)
Mutual labels:  vscode-extension
vscode-caddyfile-support
Rich Caddyfile support for Visual Studio Code
Stars: ✭ 30 (-18.92%)
Mutual labels:  vscode-extension
vscode-chat
Chat with your team while you collaborate over code using VS Live Share
Stars: ✭ 496 (+1240.54%)
Mutual labels:  vscode-extension
terrastate
Visual Studio Code extension to monitor/deploy/destroy Terraform resources in workspace
Stars: ✭ 70 (+89.19%)
Mutual labels:  vscode-extension

Quit Control

Do you hate mistyping ⌘Q and shutdown VSCode with all your unsaved and beloved work? This extension is for you!

Do you hate the fact that ⌘W or CTRL+W closes VSCode if there are no open files? This extension is for you!

This extension will make all "quitish" keyboard shortcuts prompt you if you really want to close everything if they were going to do so.

Features

  1. If at any moment you hit ⌘Q (on mac) or Ctrl+Q (on other platforms) we will prompt you if you really want to quit:

    • You can press Esc to dismiss and continue your work:

      Quit Prevented

    • You can press Enter to confirm and quit VSCode:

      Quit

  2. If there is an open file, ⌘W (on mac) or Ctrl+W (on other platforms) will close it as usual. But if there is no open file, instead of closing VSCode window we will prompt you first:

    Close Tab

  3. If you hit ⇧⌘W (on mac) or ⇧+Ctrl+W (on other platforms), instead of closing VSCode window, we will prompt you first:

    Close Window

Release Notes v4.0.0 - 2021-07-25

Added

  • New configuration quitControl.closeTabShouldTryToCloseEmptyWindow, defaults to true. Toggle macOS-like behavior of closing an empty window with the same shortcut of closing a tab: Cmd+W (macOS); Ctrl+W (Linux and Windows); Ctrl+F4 (Windows).
  • (Linux and Windows) Preventing Alt+F4 from closing the window and prompting you instead. Consistent only on Windows for now, as VScode for Linux distros doesn't always support keybindings on Alt+F4.
  • (Windows) New configuration quitControl.enableQuitKeybindingOnWindows, defaults to true. Enables Ctrl+Q to quit VSCode on Windows.

Fixed

  • Enabling extension to work on Remote Containers without the need to install it again. From PR#29.

Source

GitHub

License

MIT

Credits

This extension's icon was created by Hrag Chanchanian from the Noun Project and its colors where changed by me for use in this extension.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].