Commit 348544b
authored
fix: show Snyk view without activating to prevent focus steal [IDE-1261] (#364)
Use IWorkbenchPage.VIEW_VISIBLE when opening the Snyk tool view so the view is shown but does not steal focus from the active editor tab. Fixes customer reports that the Snyk tab repeatedly took over the viewing area during scans, especially with many projects.
Made-with: Cursor1 parent ce8e06c commit 348544b
File tree
1 file changed
+4
-2
lines changed- plugin/src/main/java/io/snyk/languageserver/protocolextension
1 file changed
+4
-2
lines changedLines changed: 4 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
424 | 424 | | |
425 | 425 | | |
426 | 426 | | |
427 | | - | |
| 427 | + | |
| 428 | + | |
| 429 | + | |
428 | 430 | | |
429 | 431 | | |
430 | 432 | | |
| |||
482 | 484 | | |
483 | 485 | | |
484 | 486 | | |
485 | | - | |
| 487 | + | |
486 | 488 | | |
487 | 489 | | |
488 | 490 | | |
| |||
0 commit comments