Commit 26a9d7e
fix: Fix extension crashing on startup (#1810)
Extension crashes on startup. This PR fixes that.
This was happening because `workspace.getConfiguration();` (located in
`getEditorType();`) was being called before
`setExtensionContext(context);`.
<img width="914" height="152" alt="image"
src="https://github.com/user-attachments/assets/adc99ef2-7518-4b2e-9e79-925b70ca3fa6"
/>
### How Has This Been Tested:
- Start the extension
- The panel works, and no errors are thrown1 parent 51b4616 commit 26a9d7e
1 file changed
+1
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
101 | 101 | | |
102 | 102 | | |
103 | 103 | | |
104 | | - | |
105 | | - | |
106 | 104 | | |
107 | 105 | | |
108 | 106 | | |
| |||
121 | 119 | | |
122 | 120 | | |
123 | 121 | | |
| 122 | + | |
124 | 123 | | |
125 | 124 | | |
126 | 125 | | |
| |||
0 commit comments