This code automatically appears in the first line of the code editor, I haven’t found any other people experiencing this problem on the internet. Does anyone know the problem? It also generates an error in the console.
So you go file > new, it opens a buffer, but that buffer has no file type, it’s not a file at that point. You need to either specify what file type it is at the bottom right, or save it as a JavaScript file. Or if you add the file using the little + in the files view on the left, you need to type in like “myfile.js”. At what point does that line appear
Right, so does it appear in the plain text file. Then if not, if you change the file type to JavaScript, does it appear then. If not, does it appear when you start typing? Or if you save the file? And by “file creation button” do you mean this button: