Community
    • 登入

    Notepad++ 7.7 Release

    已排程 已置頂 已鎖定 已移動 Announcements
    65 貼文 33 Posters 67.5k 瀏覽
    正在載入更多貼文
    • 從舊到新
    • 從新到舊
    • 最多點贊
    回覆
    • 在新貼文中回覆
    登入後回覆
    此主題已被刪除。只有擁有主題管理權限的使用者可以查看。
    • Meta ChuhM
      Meta Chuh moderator @nblookup
      最後由 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 條回覆 最後回覆 回覆 引用 2
      • makiimaiM
        makiimai
        最後由 編輯

        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 條回覆 最後回覆 回覆 引用 0
        • PeterJonesP
          PeterJones
          最後由 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 條回覆 最後回覆 回覆 引用 1
          • Alan KilbornA
            Alan Kilborn @訪客
            最後由 編輯

            @Leandro-Lopez

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

            1 條回覆 最後回覆 回覆 引用 2
            • andrecool-68A
              andrecool-68 @訪客
              最後由 andrecool-68 編輯

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

              1 條回覆 最後回覆 回覆 引用 1
              • donhoD
                donho @訪客
                最後由 編輯

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

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

                1 條回覆 最後回覆 回覆 引用 2
                • Faceless YouTuberF
                  Faceless YouTuber
                  最後由 編輯

                  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 條回覆 最後回覆 回覆 引用 0
                  • Faceless YouTuberF
                    Faceless YouTuber
                    最後由 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 條回覆 最後回覆 回覆 引用 0
                    • andrecool-68A
                      andrecool-68 @Faceless YouTuber
                      最後由 編輯

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

                      1 條回覆 最後回覆 回覆 引用 0
                      • Scott MarchS
                        Scott March
                        最後由 編輯

                        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 條回覆 最後回覆 回覆 引用 2
                        • PeterJonesP
                          PeterJones
                          最後由 編輯

                          @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 條回覆 最後回覆 回覆 引用 1
                          • Jung-Chun YehJ
                            Jung-Chun Yeh
                            最後由 編輯

                            此回覆已被刪除!
                            1 條回覆 最後回覆 回覆 引用 0
                            • Ben SacheriB
                              Ben Sacheri
                              最後由 編輯

                              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 條回覆 最後回覆 回覆 引用 0
                              • Artur KrukowskiA
                                Artur Krukowski
                                最後由 編輯

                                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 條回覆 最後回覆 回覆 引用 0
                                • andrecool-68A
                                  andrecool-68 @Artur Krukowski
                                  最後由 編輯

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

                                  1 條回覆 最後回覆 回覆 引用 1
                                  • Guido DCG
                                    Guido DC
                                    最後由 編輯

                                    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 條回覆 最後回覆 回覆 引用 0
                                    • Guido DCG
                                      Guido DC
                                      最後由 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 條回覆 最後回覆 回覆 引用 0
                                      • Krystal OwenK
                                        Krystal Owen
                                        最後由 編輯

                                        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 條回覆 最後回覆 回覆 引用 0
                                        • EkopalypseE
                                          Ekopalypse @Krystal Owen
                                          最後由 編輯

                                          @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 條回覆 最後回覆 回覆 引用 2
                                          • Guido DCG
                                            Guido DC
                                            最後由 編輯

                                            Fact is and remains that my issue from a post or 3 above is a not admissable at all because I just can’t open the Notepad v7.7++ anymore. I just saw in another forum someone giving an advice to up upgrade from a default Windows notepad to this one. Maybe they should first check this website. Another thing that’s still not solved after 3 years is that my Notepad++ (all versions before v7.5 that is), need something like 10 seconds and more, to open… It has been discussed here (not in this thread), no solution was found. All some people’s good advice here is to upgrade to the latest version. LOL.

                                            EkopalypseE 1 條回覆 最後回覆 回覆 引用 0
                                            • 第一個貼文
                                              最後的貼文
                                            The Community of users of the Notepad++ text editor.
                                            Powered by NodeBB | Contributors