aptana / studio3

This repository contains the code for core components of Aptana Studio 3.
http://aptana.com/products/studio3
Other
1.08k stars 483 forks source link

TISTUD 9099 - Incorrect filename shown in message on the error marker #472

Closed kolipakakondal closed 6 years ago

kolipakakondal commented 6 years ago

Removed the filename.js from the error marker. Will include the error type in the error message which is either SyntaxError or ReferenceError.

Example1:

'string' = 2;

ReferenceError:1:1 Invalid left hand side for assignment\n" + 
                "'string' = 2;\n" + 
                " ^"

Example2:

testing(

SyntaxError:1:8 Expected an operand but found eof\n" + "testing(\n" + " ^

kolipakakondal commented 6 years ago

@ssekhri Could you do FR for this