-
Notifications
You must be signed in to change notification settings - Fork 2.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
vscode.Uri.joinPath is not a function #8752
Comments
I'm also running into this. Effectively stops my extension from working. Is it supposed to work? |
@RomanNikitenko @vince-fugnitto @amiramw Seems like for the support of joinPath (and the other uri Utils functions added in latest vscode version) - we need to upgrade @theia/monaco-editor-core to vscode standalone@0.21 version. #8691 also exists in that matter. VS Code standalone/0.21.x contains joinPath function: VS Code standalone/0.20.x does not contain joinPath function: |
Closed via #9199. |
@kittaakos it was reverted #9222 😄 |
The golang.Go extension is not working due to this error. Any workarounds, so far? Thanks! |
@danielfireman-ifal the only workaround I would suggest until the monaco upgrade would be to use an older version of |
In case someone ran into the same problem, adding the following snippet to your vscode:
extensions:
- golang.go@0.21.0 does the trick. Thanks a lot @vince-fugnitto ! |
I have a fix for this one. Please stand by.... |
In order to work with current version of Theia IDE [Read mode here](eclipse-theia/theia#8752)
Bug Description:
I got the error in the browser console at using for
Theia
projectVS Code
test extension with the following code:The same extension works well for
VS Code
.Steps to Reproduce:
theia/plugins
folder.Theia
and openTheia
project as a workspace folder - it's required to have some files for testing.F1
=> runTest 'vscode.Uri.joinPath'
The command for testing should just display a notification with info about path to
package.json
file.Please see the source code here
It works well for
VS Code
. But it doesn't work forTheia
- you can see an exception in the browser console.The same command in

VS Code
:Additional Information
The text was updated successfully, but these errors were encountered: