Skip to content

Add adapter factory support for XtextDocument (URI / IFile / IPath adapters) #3613

@raghucssit

Description

@raghucssit

Background
LSPEclipseUtils.toUri(IDocument) tries to derive a java.net.URI / IFile from an IDocument.
GitHub Copilot rely on LSP4E to obtain a document URI / IFile.

As this support is not there github copilot is not setting correct context for XtextDocuments and thereby not providing any copilot suggestions on DSL editors.

Here is the github copilot issue.
microsoft/copilot-for-eclipse#46

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions