[ 
https://issues.apache.org/jira/browse/GROOVY-11310?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Pruteanu Dragos updated GROOVY-11310:
-------------------------------------
    Description: 
I need help on [Groovy Language 
Server|https://github.com/GroovyLanguageServer/groovy-language-server] project, 
which implement text-completion in editors supporting Groovy. This project 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 
|https://github.com/GroovyLanguageServer/groovy-language-server/blob/master/src/main/java/net/prominic/groovyls/compiler/control/GroovyLSCompilationUnit.java]
 extends the CompilationUnit, 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.

  was:
I need help on [Groovy Language 
Server|https://github.com/GroovyLanguageServer/groovy-language-server] project, 
which implement text-completion in editors supporting Groovy. This project is 
using the Groovy internal classes to compile an existing file and provide text 
completion.

 

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 
|https://github.com/GroovyLanguageServer/groovy-language-server/blob/master/src/main/java/net/prominic/groovyls/compiler/control/GroovyLSCompilationUnit.java]
 extends the CompilationUnit, 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.


> GroovyEditor Script Auto-Completion
> -----------------------------------
>
>                 Key: GROOVY-11310
>                 URL: https://issues.apache.org/jira/browse/GROOVY-11310
>             Project: Groovy
>          Issue Type: New Feature
>          Components: Compiler
>    Affects Versions: 4.0.18
>            Reporter: Pruteanu Dragos
>            Priority: Major
>
> I need help on [Groovy Language 
> Server|https://github.com/GroovyLanguageServer/groovy-language-server] 
> project, which implement text-completion in editors supporting Groovy. This 
> project 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 
> |https://github.com/GroovyLanguageServer/groovy-language-server/blob/master/src/main/java/net/prominic/groovyls/compiler/control/GroovyLSCompilationUnit.java]
>  extends the CompilationUnit, 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.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to