notepad-plus-plus / notepad-plus-plus/notepad-plus-plus

[Feature request] tab locking (prevent accidental closing of tabs)

Open
#8,094 7 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
C++
Stars
29.4k
Forks
5.4k
PR merge metrics
No merged PRs in 30d

Description

Request for tab locking function to prevent the accidental closing of tabs.

This feature would be extremely useful to prevent accidental closing of the wrong tab when working on multiple documents.

A few ideas:

  • "Lock/Unlock this tab" in the context menu of the tabs
  • visual identification of locked tabs, eg. asterisk character: "*Tab1" (similar to Total Commander)
  • In case the user wants to close a locked tab a new dialog shall appear, eg.: "Close locked tab? [OK] / [Cancel]
  • option in preferences to handle document with at least one bookmark as a locked tab

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

The issue names no files, tests, or entry points. First resolve the listed UX choices—tab menu, visual marker, close confirmation, and bookmark preference—and define acceptance criteria for each; done means the agreed locking behavior is implemented and verified.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp
Domain
desktop
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.