-
Notifications
You must be signed in to change notification settings - Fork 45
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Auto-completion does not work in some cases #17
Comments
I have the same problem in this context (with a correct pom) :
|
Mainly linked with the organize import and scoping issues |
I found a problem in our grammar that is the cause why the imports are always marked as "unused". |
This commit provides the following answers to issues: * issue #98: the generation of the delegating functions is done one the basis of the JVM objects (in place of the tokens). * issue #17: the uses of the types are now correctly detected. The import statements are not correctly marked when they are not used. The "organize import" feature is working. * issue #17: referencing the JVM objects in place of the tokens should permits to the auto-completion feature to detect the proposals. * issue #92: enforce the code of the JVM inferrer for avoiding a NullPointerException. * issue #46: write plenty of checking functions in the validator. This avoid the Java compiler to show errors in place of the SARL compiler. * issue #93: the current grammar, the inferrer, and the validator are now compatible with Xtext 2.6.
The auto-completion feature seems to work better since the last updates in the grammar. Unfortunately, a minor problem is still here: after selected one of the proposals, the fully-qualified name is put in the code, and these is no import added at the top of the file. Replacing Note that the validator does not need to be updated since it is already checking the type of the elements which used |
…arameterizedTypeReference" (issue #17).
I want to auto-complete the "Default" in the following code to obtain "DefaultContextInteractions". But the auto-completion mechanism does not work.
In the following code, the auto-completion works correctly, and the "DefaultContextInteractions" is added into the imports.
The text was updated successfully, but these errors were encountered: