Community
    • Login

    Notepad++ 7.7 Release

    Scheduled Pinned Locked Moved Announcements
    65 Posts 33 Posters 51.3k Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • nblookupN
      nblookup
      last edited by

      A problem, click File->Save, save as type: normal text file,
      saved files do not automatically add suffix txt

      Meta ChuhM 1 Reply Last reply Reply Quote 0
      • Meta ChuhM
        Meta Chuh moderator @nblookup
        last edited by Meta Chuh

        welcome to the notepad++ community, @nblookup

        this is by design, to have full extension control at any given time.

        if you prefer the old behaviour, please go to settings > preferences > default directory and disable use new style dialog.

        many thanks and best regards.

        1 Reply Last reply Reply Quote 2
        • makiimaiM
          makiimai
          last edited by

          I couldn’t find answer if I can run c in off-line environment, please remove me from community here. Thank you very much.

          1 Reply Last reply Reply Quote 0
          • PeterJonesP
            PeterJones
            last edited by PeterJones

            @makiimai said:

            I couldn’t find answer if I can run c in off-line environment

            You could have tried asking in Help Wanted, we would have asked for clarification, and then probably would have eventually helped you find a way to run the c compiler from Notepad++

            please remove me from community here.

            If that’s what you desire, you can go to your own profile, click Edit, and click Delete Account.

            1 Reply Last reply Reply Quote 1
            • Alan KilbornA
              Alan Kilborn @Guest
              last edited by

              @Leandro-Lopez

              Dude, why are you posting a question about a plugin in a release announcement thread? Please try the Help Wanted section.

              1 Reply Last reply Reply Quote 2
              • andrecool-68A
                andrecool-68 @Guest
                last edited by andrecool-68

                @Leandro-Lopez you got the wrong address))
                https://github.com/pnedev/compare-plugin/issues

                1 Reply Last reply Reply Quote 1
                • donhoD
                  donho @Guest
                  last edited by

                  @Leandro-Lopez
                  https://notepad-plus-plus.org/community/category/5/plugin-development

                  @chasegnil
                  https://notepad-plus-plus.org/community/category/8/boycott-notepad

                  1 Reply Last reply Reply Quote 2
                  • Faceless YouTuberF
                    Faceless YouTuber
                    last edited by

                    There is an issue in this release with some hidden characters being added when editing and saving PowerShell scripts. So when you launch a PowerShell script that has been edited with NPP, you get lots of weird syntax errors although the code is all fine. If you edit the same block of code in PowerShell ISE or Notepad, PowerShell won’t throw any errors when launched. It’s easy to reproduce. Copy the function below (function extracted from https://github.com/microsoftgraph/powershell-intune-samples/blob/master/RBAC/RBAC_ScopeTags_DeviceAssign.ps1) and save it in NPP, you will get weird syntax errors running it in PowerShell although there are none. Do the same with either Notepad or the PowerShell ISE and no errors appear when you execute this same code in PowerShell.

                    ###########BEGINNING OF CODE BELOW#################

                    Function Update-ManagedDevices()
                    {
                    <#
                    .SYNOPSIS
                    This function is used to add a device compliance policy using the Graph API REST interface
                    .DESCRIPTION
                    The function connects to the Graph API Interface and adds a device compliance policy
                    .EXAMPLE
                    Update-ManagedDevices -JSON $JSON
                    Adds an Android device compliance policy in Intune
                    .NOTES
                    NAME: Update-ManagedDevices
                    #>

                    [cmdletbinding()]
                    
                    param(
                    	$id,
                    	$ScopeTags
                    )
                    
                    $graphApiVersion = "beta"
                    $Resource = "deviceManagement/managedDevices('$id')"
                    
                    try {
                    	If ($ScopeTags -eq "" -or $ScopeTags -eq $null)
                    		{
                    			
                    		$JSON = @"
                    				{
                    				"roleScopeTagIds": []
                    				}
                    

                    "@

                    		}
                    	Else
                    		{
                    		$object = New-Object –TypeName PSObject
                    		$object | Add-Member -MemberType NoteProperty -Name 'roleScopeTagIds' -Value @($ScopeTags)
                    		$JSON = $object | ConvertTo-Json
                    		}
                    
                    	$uri = "https://graph.microsoft.com/$graphApiVersion/$($Resource)"
                    	Invoke-RestMethod -Uri $uri -Headers $authToken -Method Patch -Body $JSON -ContentType "application/json"
                    
                    	Start-Sleep -Milliseconds 100
                    	}
                    catch {
                    	Write-Host
                    	$ex = $_.Exception
                    	$errorResponse = $ex.Response.GetResponseStream()
                    	$reader = New-Object System.IO.StreamReader($errorResponse)
                    	$reader.BaseStream.Position = 0
                    	$reader.DiscardBufferedData()
                    	$responseBody = $reader.ReadToEnd()
                    	Write-Host "Response content:`n$responseBody" -foregroundcolor "Red"
                    	Write-Error "Request to $Uri failed with HTTP Status $($ex.Response.StatusCode) $($ex.Response.StatusDescription)"
                    	write-host
                    	break
                    	}
                    }
                    

                    ###########END OF CODE ABOVE#################

                    Could you please look into this and resolve this issue please? I think it’s got something to do with the JSON "@ string terminator and I suspect NPP is actually adding some hidden character before this string terminator which PowerShell doesn’t like and consequently breaks the whole syntax of the script.

                    For instance, if you save this code with NPP, it won’t work in PowerShell. If you open this NPP saved file afterwards in Notepad, make no modification to it and save it, it will work just fine.

                    Thanks very much in advance for resolving this real nasty issue!

                    C

                    1 Reply Last reply Reply Quote 0
                    • Faceless YouTuberF
                      Faceless YouTuber
                      last edited by Faceless YouTuber

                      Sorry, I forgot to mention (I had to wait for 1200 seconds to add this…) that it is not an encoding issue as I checked and weither you save it in ANSI or UTF-8 it makes no difference in the behaviour.

                      Thanks once more for your help.

                      C

                      andrecool-68A 1 Reply Last reply Reply Quote 0
                      • andrecool-68A
                        andrecool-68 @Faceless YouTuber
                        last edited by

                        @Faceless-YouTuber New message you can do immediately without waiting 1200 seconds

                        1 Reply Last reply Reply Quote 0
                        • Scott MarchS
                          Scott March
                          last edited by

                          Notepad++ 7.7 broken syntax highlighting (in my case ASP)
                          open ASP file and background is white, the text is black for everything. I do see brace matching highlights but no other.

                          rollback to 7.6 fixes it.

                          1 Reply Last reply Reply Quote 2
                          • PeterJonesP
                            PeterJones
                            last edited by

                            @Scott-March said:

                            Notepad++ 7.7 broken syntax highlighting (in my case ASP)

                            Already known: See https://notepad-plus-plus.org/community/topic/17696/bug-problem-with-syntax-highlighting-not-working-on-asp-classic-scripts/12

                            1 Reply Last reply Reply Quote 1
                            • Jung-Chun YehJ
                              Jung-Chun Yeh
                              last edited by

                              This post is deleted!
                              1 Reply Last reply Reply Quote 0
                              • Ben SacheriB
                                Ben Sacheri
                                last edited by

                                The right-click context menu “Plugin commands | Copy Text with Syntax Highlighting” is no longer copying the formatting. In some cases it is copying the font but never the colors.

                                I rely on this feature to copy code snippets and paste them into OneNote or an Outlook email with their formatting.

                                Example Image

                                1 Reply Last reply Reply Quote 0
                                • Artur KrukowskiA
                                  Artur Krukowski
                                  last edited by

                                  After update to Notepad++ 7.7 DSpellCheck stopped to work correctly. Now it finds and marks spelling error only for lines that are visible on screen after loading a file. After scrolling the text spelling errors in all the rest of file are not marked – regardless of whether the automatic spelling check is selected or not.

                                  andrecool-68A 1 Reply Last reply Reply Quote 0
                                  • andrecool-68A
                                    andrecool-68 @Artur Krukowski
                                    last edited by

                                    @Artur-Krukowski Install the latest DSpellCheck plugin … manually!
                                    https://github.com/Predelnik/DSpellCheck/releases

                                    1 Reply Last reply Reply Quote 1
                                    • Guido DCG
                                      Guido DC
                                      last edited by

                                      After being constantly nagged to upgrade to this new v7.7 release I had to find out I’d better stayed with the old (I guess it was v7.5 but not sure) version.

                                      What happens now is someting I experienced long ago after upgrading (I don’t recall how I got rid of the bug that I’ll describe)

                                      After having installed v7.7 I get this repetingly and it keeps poping op. I always hit No and another popup shows. It doesn’t end.

                                      [URL=http://www.imagebam.com/image/29626c1252871154][IMG]http://thumbs2.imagebam.com/7d/8a/f0/29626c1252871154.jpg[/IMG][/URL]

                                      [URL=http://www.imagebam.com/image/4248c21252871164][IMG]http://thumbs2.imagebam.com/e2/42/33/4248c21252871164.jpg[/IMG][/URL]

                                      [URL=http://www.imagebam.com/image/4f8dab1252871174][IMG]http://thumbs2.imagebam.com/53/66/7c/4f8dab1252871174.jpg[/IMG][/URL]

                                      Now I let all my txt files open by “get diz”

                                      What is happening. And why does this always happen after an upgrade ?

                                      To translate it in English it says the file *.txt file is modified by another program, and do you want to reload it and loose the changes that have been made in Notepad++ ?

                                      Of course I click NO each time.

                                      1 Reply Last reply Reply Quote 0
                                      • Guido DCG
                                        Guido DC
                                        last edited by Guido DC

                                        Had to edit within 180 seconds (???): failed of course …

                                        so here the refreshed/clickable links of above

                                        http://www.imagebam.com/image/29626c1252871154

                                        http://www.imagebam.com/image/4248c21252871164

                                        http://www.imagebam.com/image/4f8dab1252871174

                                        1 Reply Last reply Reply Quote 0
                                        • Krystal OwenK
                                          Krystal Owen
                                          last edited by

                                          Upon updating from 7.5? to 7.7, All my plugins are gone from the menus but the DLLs are still there. I’ve debated a reinstall.

                                          EkopalypseE 1 Reply Last reply Reply Quote 0
                                          • EkopalypseE
                                            Ekopalypse @Krystal Owen
                                            last edited by

                                            @Krystal-Owen

                                            since npp 7.6, the plugin structure has changed.
                                            In addition, 7.7 introduced a new scintilla version which might break plugin functionality.
                                            Probably the easiest way to get your plugins back is to use the new plugin admin tool. The plugins manager is deprecated. If you have an issue with a particular plugin, let us know which one it is and we can see if there is a way to make it work again.

                                            1 Reply Last reply Reply Quote 2
                                            • First post
                                              Last post
                                            The Community of users of the Notepad++ text editor.
                                            Powered by NodeBB | Contributors