Community
    • Login

    Notepad++ freezes upon opening a javascript file

    Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
    5 Posts 2 Posters 4.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.
    • netbusinessN
      netbusiness
      last edited by

      Since v6.8.8 I’ve had a problem where if I open a javascript file in notepad++ it will freeze. I’ve had to downgrade to v6.8.6 on my work computer to workaround this issue, but now I’m experiencing the same issue on my other machine. Both machines had old installs that were upgraded to v6.8.8. I’ve completely uninstalled all my plugins, uninstalled and reinstalled notepad++ several times, deleted the AppData folder, used Revo Uninstaller but nothing I do will make v6.8.8 or newer not freeze when you open a JS file.

      I can recreate the issue every time on both machines quite easily.

      1. Make a blank text file.
      2. Add the following:
        {
        “foo”: 1,
        “bar”: false
        }
      3. Save the file as test.json
      4. Open it in notepad++ v6.8.8 or newer
      5. Go to “Language” -> “J” -> “JavaScript”
      6. Freeze
      Claudia FrankC 1 Reply Last reply Reply Quote 0
      • Claudia FrankC
        Claudia Frank @netbusiness
        last edited by

        Hello @netbusiness,

        it has been reported that using user-configured tab settings for javascript can cause notepad to freeze.
        Could this be the case for you as well?
        To check this, open langs.xml with a different editor like e.g. notepad and search for “javascript.js”.
        In the same line, is there an entry called tabSettings= ?
        If so, delete it and restart npp.

        Cheers
        Claudia

        1 Reply Last reply Reply Quote 0
        • netbusinessN
          netbusiness
          last edited by

          Yep, that did it. So are you saying I can’t use custom tab settings for javascript now? Or is this a problem with the update installation?

          Claudia FrankC 1 Reply Last reply Reply Quote 0
          • Claudia FrankC
            Claudia Frank
            last edited by Claudia Frank

            Yes, looks like you can’t use custom tab setting for js currently.
            I did a test with various values and it always freezes regardless which value I chose.

            Cheers
            Claudia

            1 Reply Last reply Reply Quote 0
            • Claudia FrankC
              Claudia Frank @netbusiness
              last edited by

              @netbusiness
              fyi

              Cheers
              Claudia

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