vscode-error-lens icon indicating copy to clipboard operation
vscode-error-lens copied to clipboard

Explore showing multiline decorations

Open usernamehw opened this issue 2 years ago • 1 comments

Try finding a space to fit as much text as possible (Tetris).

Whether it's a very long single line problem, or a multiline problem => find the best empty box to fit it (using multiple single line decorations).

multiline_demo


  • [ ] Highlight line where problem is from (since it's rendered in random position in the viewport)
  • [ ] Closest problem multiline; doesn't calculate the best position properly atm
  • [ ] Closest problem multiline by severity (error before warning)
  • [ ] Closest problem multiline in viewport
  • [ ] Align multiline message
  • [ ] Split single-line long error into multiple lines
  • [ ] Option to show multiple multiline error or an option to render as usual (all errors) if there are no multiline/long errors
  • [ ] Show multiple problems from 1 line

usernamehw avatar Aug 20 '23 11:08 usernamehw

hi! thanks for such a wonderful extension and including this on open-vsx too.

is this issue just about showing single but long diagnostic line or would also cover multiple diagnostic messages for same line??

e.g.:

Syntax error, insert "VariableDeclarators" to complete LocalVariableDeclaration [21:17]
Syntax error, insert ";" to complete LocalVariableDeclarationStatement [21:17]

image

image

image

goyalyashpal avatar Nov 03 '23 00:11 goyalyashpal