spoofax-shell-2017 / spoofax-shell

Apache License 2.0
0 stars 0 forks source link

Implement Syntactic Code Completion #20

Open Pathemeous opened 7 years ago

Pathemeous commented 7 years ago

To implement syntactic code completion, we must have a FailableFunction that interfaces with the Spoofax ICompletionService.

Furthermore we need an Eclipse implementation of this behaviour.

Pathemeous commented 7 years ago

The ParseResult only returns isValid() == true when the parsing was successful. This only happens when a finished program is provided, which is often not the case when requesting code completion. We need the pares result to also continue when parsing was only partially successful.