deephaven / vscode-deephaven

Deephaven Visual Studio Code Extension
Apache License 2.0
3 stars 0 forks source link

Red line indicating error outlives its usefulness #96

Open alexpeters1208 opened 1 month ago

alexpeters1208 commented 1 month ago

When I write a bad line of code and execute it, I get the red line under the code telling me that line has failed. This is useful. However, once I start editing that line of code, I expect the red line to go away, since now it is undetermined if what is there is buggy. The red line hangs around until the next time I execute that code successfully, which is a little bit distracting.

For example:

Screenshot 2024-08-13 at 9 36 37 AM

The first time I ran that code, it failed. Now that I'm editing it, I'd like the red line to go away, and only re-appear if I run the code again and it fails again. Or, maybe the red line hangs around, but is almost totally transparant / lightly colored once I start editing?

vbabich commented 1 month ago

Maybe we shouldn't use red underline for this. Can we include a link to the file and line number with the error in deephaven output?