Uploaded image for project: 'Groovy'
  1. Groovy
  2. GROOVY-11310

GroovyEditor Script Auto-Completion

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 4.0.18
    • None
    • Compiler
    • None

    Description

      I need help on Groovy Language Server, a project for auto-completion in text editors. This is using the Groovy internal classes to compile an existing file and provide text completion. See the project test cases for samples.

       

      My request: extend the project to support Groovy Scripts Bindings and ImportCustomizers. Currently the project can handle text files, but there is no way to provide Bindings or ImportCustomizers. The project class GroovyLSCompilationUnit extends theCompilationUnit, and I don't know how to adapt this class for Bindings.

       

      About GroovyLanguageServer: This is using [lsp4j|https://github.com/eclipse-lsp4j/lsp4j,] a interface for editors doing text auto-completion. This receives the script text and a position in text, and delivers a list of keywords for text completion. Supporting editors with text completion should be a priority, as this will improve the visual editing of Groovy scripts.

      Attachments

        Activity

          People

            Unassigned Unassigned
            dprutean Pruteanu Dragos
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated: