Skip to content

[Feature request] Option to open files Read-Only by default #15993

@RogerIrwin

Description

@RogerIrwin

Is there an existing issue for this?

  • I have searched the existing issues

Description of the Issue

I work with large projects and most of the files I have open will not be edited in the immediate time frame. Having them open for editing all the time makes then vulnerable to picking up the odd random keystroke. These may get accidentality saved. Can be particularly bad if a big paste went in the wrong place. For this reason I try to set read only on files I probably will not edit when I open them.

Describe the solution you'd like.

An option to always open files Read-Only by default. I must explicitly toggle off the Read-Only flag if I want to edit. Files that notepad++ automatically open when restarted will always be set Read-Only as well, even if they were set editable when I last used them.

Debug Information

Notepad++ v8.6.5   (32-bit)
Build time : Mar 29 2024 - 17:02:48
Path : C:\Program Files (x86)\Notepad++\notepad++.exe
Command Line : "G:\My Drive\Proj\3DP\PowerWasp\Firmware-Power-WASP\DWPOWERWASPF21_Rev2\temperature.cpp" 
Admin mode : OFF
Local Conf mode : OFF
Cloud Config : OFF
Periodic Backup : ON
OS Name : Windows 10 Enterprise (64-bit
OS Version : 22H2
OS Build : 19045.5247
Current ANSI codepage : 1252
Plugins : 
    mimeTools (3.1)
    NppConverter (4.6)
    NppExport (0.4)

Anything else?

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions