Notepad++ v8.3.2 release - Declare variables, not war
WinterSilence last edited by WinterSilence
@peterjones I’m know how it work - syntax same to nppExec plugin, but every time looking for vars in online manual is not very conveniently
gtimbo last edited by gtimbo
Notepad++ won’t open files when the path is very long. I have a file that’s at the end of a path that’s 259 characters long, and Notepad++ just cannot open the file. No error is flagged.
I can’t give a full example, but it’s just a standard path that happens to be very deep (it’s a Java file within a deep package hierarchy, within an SDK, within a project, etc).
notepad.exeis able to open the file.
I’m running an up-to-date version of Windows 10.
Edited to add that the file is on a directly connected HDD, not a network drive, just in case that may make a difference.
xomx last edited by
Steffan Rhoads last edited by
I’ve used Notepad++ for decades.
When I learned how to use sessions – kludgy but the only effective means I’d found to manage work on multiple projects at a time using separate Notepad++ windows I was so pleased.
But, all good things come to an end. Now when I attempt to open a new session using a session file all the tabs from that saved session are opened in the exising session! Completely useless.
I thank you for how long it did work but unless it changes I have no idea what to use next and instead of working I’ll be back to evaluating other editers.
It has been rather frustrating that when a session is opened it isn’t ‘remembered’ so you can’t save a session unless you provide the correct session file to overwrite (not update).
As to your protest against Putin. Sure, war is evil but a push man to his limit & if he can he’ll kill you.
Study Putin’s decision making and it seems (not my research) that his decision making is influenced by a countryman, thinker, Alexandar Dugan. If the interpretation is correct the modern leftism is what Putin is fighting: american and indeed world politics and action are all coming out of Davos.
Hard to believe a communist/fascist is fighting leftism when ‘we’ should but that is how upside-down the world is now under ‘progressivism’.
PeterJones last edited by PeterJones
Now when I attempt to open a new session using a session file all the tabs from that saved session are opened in the exising session! Completely useless.
That’s the way session files have always worked, as far back as I can remember. Please keep this “v8.3.2 release” topic reserved for things that changed between the most recent previous release (v8.3.1) and now (v8.3.2). Other than that, create a new topic in “Help Wanted” or “General Discussion” to get help on any other issue with Notepad++. Since I have confirmed that sessions worked as you described in v8.2.1, which is a couple versions old, that means that this issue is not a regression specific to v8.3.2, and you should create a new topic for discussing your desires regarding sessions.
gtimbo last edited by
@xomx Ahh, sorry. For some reason I couldn’t find a link to GitHub, so posted here. Thanks for the info.
Давид Попов last edited by
There is a problem. When I try to make autocomplete with help “Ctrl+Enter”, it doesn’t always work. (I use my own syntax file, maybe this is the problem).
PeterJones last edited by
Ctrl-Enter starts the word-completion autocomplete. Historically, either TAB or ENTER would select the word and finish typing. In v8.2.1, Notepad++ added the feature to be able to turn those on and off:
In v8.2.1 and v8.3.0, when Notepad++ saw that you didn’t already have that setting in your config file, it would default it to TAB enabled and ENTER disabled. Starting in v8.3.1, the default went back to having both TAB and ENTER enabled – however, if you had installed v8.2.1 or v8.3.0, and Notepad++ had saved the setting with TAB enabled and ENTER disabled, upgrading to v8.3.1 or newer (like the v8.3.2 you imply you are using) will not overwrite that setting. Fortunately, all you have to do is click on the highlighted checkbox in Settings > Preferences > Auto-Completion, so it took me longer to type this, and probably took you longer to read this, then to fix it back to your old/expected behavior.
Official manual entry on Auto-Complete feature: https://npp-user-manual.org/docs/auto-completion/#completion-key
Vitalii Dovgan last edited by
Hmm, I tried to reproduce it today with different scenarios - and could not. Though it was stably reproducible yesterday.
Now I’m having a strong confidence that the issue was connected to improper invocation of Notepad++ from my side. Sorry for the previous misleading.
Anyway, as the result I’ve created a batch script that can be used to add a context menu item “Edit with Notepad++” for a single file and “Open in Notepad++” for a folder, using either a portable or an installed version of Notepad++. If interested, you can place this file directly into the Notepad++ folder and run it there.
The content of “npp_context_menu.cmd” :
@echo off echo Initialization... set EXEDIR=%~dp0 set "EXE=%EXEDIR:\=\\%notepad++.exe" set REGFILE=npp_context_menu.reg if exist "%REGFILE%" del "%REGFILE%" echo Writing "%REGFILE%"... 1>>"%REGFILE%" echo Windows Registry Editor Version 5.00 1>>"%REGFILE%" echo. 1>>"%REGFILE%" echo [HKEY_CLASSES_ROOT\*\shell] 1>>"%REGFILE%" echo. 1>>"%REGFILE%" echo [HKEY_CLASSES_ROOT\*\shell\notepadpp_edit_file] 1>>"%REGFILE%" echo @="Edit with &Notepad++" 1>>"%REGFILE%" echo "Icon"="\"%EXE%\",0" 1>>"%REGFILE%" echo. 1>>"%REGFILE%" echo [HKEY_CLASSES_ROOT\*\shell\notepadpp_edit_file\command] 1>>"%REGFILE%" echo @="\"%EXE%\" -nosession \"%%1\"" 1>>"%REGFILE%" echo. 1>>"%REGFILE%" echo [HKEY_CLASSES_ROOT\Directory\shell] 1>>"%REGFILE%" echo. 1>>"%REGFILE%" echo [HKEY_CLASSES_ROOT\Directory\shell\notepadpp_edit_folder] 1>>"%REGFILE%" echo @="Open in &Notepad++" 1>>"%REGFILE%" echo "Icon"="\"%EXE%\",0" 1>>"%REGFILE%" echo. 1>>"%REGFILE%" echo [HKEY_CLASSES_ROOT\Directory\shell\notepadpp_edit_folder\command] 1>>"%REGFILE%" echo @="\"%EXE%\" -multiInst -nosession -openFoldersAsWorkspace \"%%1\"" 1>>"%REGFILE%" echo. REM Converting to UCS-2 LE (not mandatory) if exist "%~dp0..\sfk\sfk.exe" set PATH=%PATH%;%~dp0..\sfk sfk atow "%REGFILE%" -tofile "%REGFILE%" if not exist "%REGFILE%" goto ErrorNoRegFile echo Registering "%REGFILE%"... start "Registering %REGFILE%" "%REGFILE%" goto Done :ErrorNoRegFile echo ERROR: "%REGFILE%" does not exist! pause goto Done :Done
This invokes Notepad++ using its
-nosessioncommand line argument to not affect the opened file history (this is especially useful when opening a folder).
Alex Povolotsky last edited by
Critical bug: you’re completely missing 8 years of shelling civilians by the Ukrainian armed forces and armed Nazis.