Community
    • Login

    Error When Opening Any .js File

    Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
    2 Posts 2 Posters 1.7k 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.
    • Chris Is AwesomeC
      Chris Is Awesome
      last edited by Chris Is Awesome

      I’m trying to switch IDEs from Monodevelop to Notepad++ for use with Unity for my game development. But when I try to open a .js file made in Monodevelop using Unityscript (Unity’s version of Javascript), I get the error “Session file is either corrupted or invalid”. Is this because it’s not true Javascript, as I’ve said, it is actually Unityscript? Either way, .js is a text file, so it should be able to open it, right?

      I’ve tried setting the language to Javascript and that changes nothing. I’ve reinstalled the latest version of N++ and have tried other file formats. It only happens with .js files.

      Any help would be greatly appreciated!

      1 Reply Last reply Reply Quote 0
      • dailD
        dail
        last edited by

        Under Settings > Preferences > Misc. make sure “session file ext” is not set to “js”

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