vscode-leetcode icon indicating copy to clipboard operation
vscode-leetcode copied to clipboard

accurate line number needed after failed testcase or submit

Open lazywhite opened this issue 3 years ago • 2 comments

🐛 Bug Report

after test case failed, it will prompt which lines have error, but they are not actual line number in source file

324AEF6A-61B0-4c6f-BE4E-DE5FD05F55B3

To Reproduce

Expected behavior

accurate line number

Extension Output

- Waiting for judge result
- Waiting for judge result
  × Compile Error
  × Error: Line 13: Char 45: undefined: rot (solution.go)
  × Error: Line 13: Char 45: undefined: rot (solution.go)
  × Your Input: [3,9,20,null,null,15,7]
  × Expected Answer: true
  × Stdout: 

Your Environment

  • os: win10
  • extension settings:
  • nodejs version: 16.14.2
  • vscode version: 1.66.2
  • extension version: latest

lazywhite avatar Apr 26 '22 04:04 lazywhite

the same issue happens on Mac too.

shurui91 avatar Aug 13 '22 17:08 shurui91

Same happens on Linux, using VSCodium on an Ubuntu derivative.

ronasuti avatar Feb 10 '23 11:02 ronasuti