• Login
Community
  • Login

Problems with opening and editing files

Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
6 Posts 3 Posters 1.0k 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.
  • J
    JukeStuff
    last edited by Jan 13, 2024, 12:39 AM

    Hey I couldn’t find info likely due to wrong search terms, however my issue is that after an update the files by default open “commented” or something like this 5d79a5e0-a3f2-4567-91d3-9f4a727b6d9b-image.png when they used to open like this. 48efda79-a27f-4e0b-9b95-74b67685fb66-image.png Files only open normally the way I want by opening them via the edit with notepad++ option.

    T 1 Reply Last reply Jan 13, 2024, 3:05 AM Reply Quote 0
    • T
      Terry R @JukeStuff
      last edited by Terry R Jan 13, 2024, 3:07 AM Jan 13, 2024, 3:05 AM

      @JukeStuff
      The colouring of the text in your 2nd image is because Notepad++ either automatically identified the file as being a XML file by the file extension or the first line entry, or maybe you selected the language as XML to manually initiate colouring.

      So does the file have an XML extension (look at tab name at top) and/or at the bottom of Notepad++ where it might hopefully say “extensible makup language file” rather than “normal text file”? Look under the Language menu, is there an XML entry, if so select it and it will colour the file.

      Also check Settings, Preferences, Performance and make sure the large file setting, if enabled has a size greater than your file as this will prevent syntax highlighting from occuring.

      If none of this helps you need to copy your debug info (? menu) and paste here.

      You should still be able to edit the file, it is just not coloured to help with the editing.

      Terry

      J 1 Reply Last reply Jan 13, 2024, 8:59 PM Reply Quote 3
      • J
        JukeStuff @Terry R
        last edited by Jan 13, 2024, 8:59 PM

        @Terry-R Thank you, I figured out the issue now, before it used to open xml files regularly now it opens them as JSON5 files instead of like you said “extensible markup language file” It doesn’t stop me from editing, but stops me from easily commenting out useless stuff which is what I most commonly need. Now I just need to find a solution to that.

        T M 2 Replies Last reply Jan 13, 2024, 9:17 PM Reply Quote 0
        • T
          Terry R @JukeStuff
          last edited by Jan 13, 2024, 9:17 PM

          @JukeStuff
          That seems to suggest the XML language portion isn’t present in your installation. Look under Language menu, is XML there? If so can you select it to see if it will colour (syntax highlight) your file as you previously had it?

          If it isn’t present then that may be a reason for another language to be active although I don’t see why specifically JSON5.

          You refer to an update. Is your installation an installed version (so resides under Program Files or Program Files x86, or are you using a portable installation? Might pay to run Debug Info, under ? menu and paste that here as that may help if figuring out the problem.

          Terry

          1 Reply Last reply Reply Quote 2
          • M
            mpheath @JukeStuff
            last edited by Jan 14, 2024, 1:42 AM

            @JukeStuff See if this closed issue report helps:
            XML files being opened with JSON5 language highlighting when opening from Explorer

            J 1 Reply Last reply Jan 15, 2024, 1:47 AM Reply Quote 3
            • J
              JukeStuff @mpheath
              last edited by Jan 15, 2024, 1:47 AM

              @mpheath @Terry-R Ah I found an 8.4.2.0 version in C/Program Files (x86) that for some reason was left behind on 25.6.2022 that started acting up after my most recent update (8.6) on the version that I guess I’ve been using. Thank you both for the help :)

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