-
Notifications
You must be signed in to change notification settings - Fork 14
The errors are incorrectly located #99
Comments
I forgot to mention, the same goes for highlighting of the errors. |
Does this incorrect line-counting also happens on I'll see why save-before-load is not working. |
It happens for both. |
I've been writing tests recently (finally) and found some glitches in parsing highlighting locations! |
Not sure if this is still active, but I've been having similar issues: the highlighting showing the warning or error has the correct "shape" but is shifted. Attached is an example: the first line is what compilation displays, the second line is the same text but shifted by 10 spaces to the left to show how the text should be aligned with the highlighting. Thank you for your work on Agda support in Atom! |
@DimaSamoz thank you for reporting this. Could you provide a piece of code that causes this problem? |
Hmm not sure how minimal of an example I can find, since the issue usually arises for larger files... I'll try to put something together when I have time! |
I am guessing the plugin is incorrectly counting lines for some reason. In the attached screenshot it literally puts me 15 lines away from the error every time I compile. It is quite distracting.
I also find it annoying that every time I compile I need to save manually beforehand. I've also ran into issues when compiling would not clear the buffer and it would show me the old goal in the same place though that might be just me forgetting to save.
I am using Atom on Windows 10.
The text was updated successfully, but these errors were encountered: