dail8859 / NotepadNext

A cross-platform, reimplementation of Notepad++
GNU General Public License v3.0
9.3k stars 557 forks source link

When I save a new file, if I have already entered the extension (known), when I save it to a specific file, the extension should not be added to me #672

Open qiuliaogit opened 5 days ago

qiuliaogit commented 5 days ago

Description

新建文件保存的时候,如果我已经输入了扩展名(已知的, 例如a.sql),保存到具体文件的时候,不应该再给我增加扩展名。

Describe the solution you'd like

例如:我保存的时候输入了 a.sql, 实际的文件是a.sql.txt, 我希望对于已知场景的扩展名, 可以自动识别

Describe alternatives you've considered

No response

dail8859 commented 5 days ago

When I save a new file, if I have already entered the extension (known), when I save it to a specific file, the extension should not be added to me

Description

When I create a new file and save it, if I have already entered an extension (known, such as a.sql), when I save it to a specific file, the extension should not be added for me.

Solution:

For example, when I save, I enter a.sql, and the actual file is a.sql.txt. I hope that the extension of the known scenario can be automatically recognized.

dail8859 commented 5 days ago

Please provide your Operating system and version, application version, and an exact set of steps to reproduce this issue.

qiuliaogit commented 1 day ago

Please provide your Operating system and version, application version, and an exact set of steps to reproduce this issue.

macos

dail8859 commented 20 hours ago

Please provide your Operating system and version, application version, and an exact set of steps to reproduce this issue.