-
Notifications
You must be signed in to change notification settings - Fork 49
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
URI conflicts with Codeium, an AI tool, for autocompleting ObjectScript code #1459
Comments
@RyszardWithAZ Can you share what those errors look like? IMO this is a bug in Codeium. The spec for the VS Code URI implementation does not state that the Sources: |
Thanks for that. What's the behavior when the namespace is in the query string? I don't use that tool so I'm not sure what it does or how it gets the text of the files. If it uses the VS Code API to get the file text then it shouldn't have any problems with our URIs. |
I don't know how it works, but when it works, Codeium performs ObjectScript autocompletion within routines or classes, with a full AI behind it. So I could write comments about what a method could do and it could suggest at least half the code for the method, for example. Or when writing code, it will autocomplete a for loop or whatever. But somehow it's relying on the file uris to process, and it's reading the :namespace as a port. |
@RyszardWithAZ Is there a way for you to report issues to whoever develops that tool? It looks like whatever library it's using to implement the Language Server Protocol isn't parsing URIs according to the spec. The LSP uses the same URI spec as VS Code. |
When using the Intersys Server Manager to open namespaces and do server-side editing of code, the server manager updates the workspace file to have the namespace in the uri as if it were a port: "uri": "isfs://machine:user"
Unfortunately, our AI VSCode plug-in, Codeium, is interpreting that as a port and therefore it crashes.
If instead we don't use the server manager and manually create our uris that look like this: "uri": "isfs://machine?ns=user", then it works.
Is there a way of fixing the server manager to do it this way as well? Half of our engineers have their VSCode set up one way, and half the other way. It would be good if they could ALL work with our UI plug-in no matter which setup they used.
The text was updated successfully, but these errors were encountered: