Giter Site home page Giter Site logo

Comments (5)

alankilborn avatar alankilborn commented on July 23, 2024

Confirmed in:

Notepad++ v8.6.8 (64-bit)
Build time : Jun 4 2024 - 00:30:00
Path : C:\NotepadPlusPlus\Misc_NoBackup\Releases\npp.8.6.8\npp.8.6.8.portable.x64\notepad++.exe
Command Line : -titleAdd="8.6.8 64-bit" -multiInst
Admin mode : OFF
Local Conf mode : ON
Cloud Config : OFF
Periodic Backup : ON
OS Name : Windows 11 Pro (64-bit)
OS Version : 23H2
OS Build : 22631.3737
Current ANSI codepage : 1252
Plugins :
mimeTools (3.1)
NppConverter (4.6)
NppExport (0.4)
PythonScript (3.0.18)

from notepad-plus-plus.

alankilborn avatar alankilborn commented on July 23, 2024

This is probably related to the fact that Windows usually treats files as case insensitive, i.e., a file named alan.txt is the same file as Alan.TXT. Since renaming an unsaved tab is merely a "preparation" for saving into the file system (at some point), renaming in this manner is not allowed -- but the error message produced is poor.

from notepad-plus-plus.

alankilborn avatar alankilborn commented on July 23, 2024

(Obvious) Workaround when you have mytab and you want MyTab (for example):

  • rename mytab to an unrelated name not in use on any tab (e.g. temp)
  • rename temp to MyTab

from notepad-plus-plus.

xomx avatar xomx commented on July 23, 2024

Similar issue: #12396

You can't rename a unsaved file, when you only want to change the large and lower case.

There already was a PR ( #14971 ) fixing that but it has to be reverted as it caused a regression.

from notepad-plus-plus.

donho avatar donho commented on July 23, 2024

We can't change any file unsaved or saved file) name UPPER/lower case in Notepad++.
The reason was provided here:
#14724 (comment)

from notepad-plus-plus.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.