AvinZarlez / processing-vscode

A Visual Studio Code extension for the programming language Processing
https://marketplace.visualstudio.com/items?itemName=Tobiah.language-pde
MIT License
177 stars 25 forks source link

[FEATURE] Inline error reporting #104

Open Hulkstern opened 2 years ago

Hulkstern commented 2 years ago

Is your feature request related to a problem? Please describe. As it stands, when you run a sketch within visual studio code, if there is a syntax error, or some other basic issue, the error will be output in the console, though it is not very readable as it is usually sandwiched on top and bottom with other lines of text. (see attached videos for example)

Describe the solution you'd like It would be nice to have the some functionality to give a more clear error output that describes what went wrong in line with your code. (see attached videos for example)

Describe alternatives you've considered Currently I am using sublime text and this package to edit/run my sketches as it does exactly what I need in terms of running and debugging sketches. However this isn't ideal in the long run as I much prefer the git features within visual studio code.

Additional context Examples: Current Behavior: https://user-images.githubusercontent.com/30249728/143925489-d6fd5952-17a7-43c2-a407-4e8399995538.mov

Desired Behavior: https://user-images.githubusercontent.com/30249728/143925724-e0f2d8e8-304f-4230-ad26-6775e33c957b.mov

EDIT: Didn't realize attached videos would open as a download, here is a link to an imgur album.

Also, this isn't a terribly pressing issue, but from my perspective it would be a very nice QOL feature.