Adding File System #284
-
Hi, I am trying to add a file system as in the sample code and this is the error I get:
I then include this line: + import "vscode/localExtensionHost"; But if I import this line, services are no longer initialized. It doesn't give any error and the library doesn't work. |
Beta Was this translation helpful? Give feedback.
Answered by
CGNonofr
Dec 6, 2023
Replies: 2 comments 2 replies
-
I will follow up on this issue: #283 |
Beta Was this translation helpful? Give feedback.
0 replies
-
It'll be fixed soon in #285 in the meantime, you can add this workaround: import { IExtensionService } from 'vscode/vscode/vs/workbench/services/extensions/common/extensions'
import { registerServiceInitializeParticipant } from 'vscode/lifecycle'
registerServiceInitializeParticipant(accessor => accessor.get(IExtensionService)) |
Beta Was this translation helpful? Give feedback.
2 replies
Answer selected by
cemalgnlts
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
It'll be fixed soon in #285
in the meantime, you can add this workaround: