Skip to content

Support xtext based editors #46

Closed
Closed

Description

@tisis2

it would be great if the plugin also working with other text based files, in other editors. For us we are still using the Xtend language in some places, which is a XtextEditor based editor.
Additionally we also write our own languages and have own editors that are XtextEditor based. A XtextEditor is TextEditor based, so i assume it should be usable (i hope). Or is there any way to get our own editors (that are only text based) to work with the copilot extension?

Activity

  1. LorenzoBettini commented on Nov 12, 2025

    @LorenzoBettini

    The last time I tried with an Xtext editor (a few months ago), the code completion from Copilot used to work (also pretty well).

  2. jchamlin commented on Dec 28, 2025

    @jchamlin

    If you use TM4E (TextMate for Eclipse) and open files with it's Generic Code Editor, you get Copilot completions active. The Generic Code Editor is no replacement for a real plugin like Eclipse's Java editor, PyDev, or Wild Web Developer, but in a pinch it gives you Copilot suggestions. And, to top it off, Copilot seems to actually understand the context you are working in and actually provides useful completions based on the language/structure of the file you are working on. I recently added TM4E, and it didn't come with awk support, but I installed an awk.tmLanguage file to add support for it, and then worked on an awk script in the Generic Code Editor, and Copilot was amazingly useful with completions for the awk script I was working on.

    ChatGPT says Copilot needs a language server to be active. I don't know if that's the case, but Generic Code Editor uses a language server and Copilot is active there.

    TM4E Project:
    https://github.com/eclipse-tm4e/tm4e

    Eclipse Update Site:
    https://download.eclipse.org/tm4e/releases/latest/

  3. iloveeclipse commented on Apr 28, 2026

    @iloveeclipse
    Contributor

    The Xtext support is added in 0.16 Copilot version and latest versions of Xtext and LSP4E, but it is disabled by default in LSP4E.

    To enable it, set the preference org.eclipse.lsp4e/org.eclipse.lsp4e.resourceFallback.enabled=true.

    If you want to have it enabled by default or possibility to switch it on/off via UI, discuss on eclipse-lsp4e/lsp4e#1517.

    Sheng Chen (@jdneo): this issue can be closed as fixed by Raghunandana (@raghucssit).

  4. jdneo commented on Apr 28, 2026

    @jdneo
    Member
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions