Jump to error not lint (#3271)

* dont jump to lints

Signed-off-by: Jess Frazelle <github@jessfraz.com>

* updates

Signed-off-by: Jess Frazelle <github@jessfraz.com>

* fix

Signed-off-by: Jess Frazelle <github@jessfraz.com>

---------

Signed-off-by: Jess Frazelle <github@jessfraz.com>
This commit is contained in:
Jess Frazelle
2024-08-04 19:44:33 -07:00
committed by GitHub
parent a0167f6ba6
commit f4848d7dea
5 changed files with 110 additions and 9 deletions

View File

@ -63,7 +63,7 @@ export const sidebarPanes: SidebarPane[] = [
},
onClick: (e) => {
e.preventDefault()
editorManager.scrollToFirstDiagnosticIfExists()
editorManager.scrollToFirstErrorDiagnosticIfExists()
},
},
},