Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [ease-dev] Autocompletion feature sum-up

Hi,

I will put the documentation up as soon as everything is accepted because I don't want to change it if we still need some modifications.

Regarding your points:
  • I am currently debugging the problem with the wrong inserted text. It looks like the problem is in the ContentProposalModifier class where it inserts the desired code twice (once before the cursor position where it belongs and once after the cursor position). Maybe Vidura has a quick idea why this could be...
  • Regarding loadModule: I just pushed a new commit that fixes the problem. It seems the code was not dispatched correctly anymore...
  • There is currently no completion provider for constructor chaining so that is why 'new java.io.File("/home").' will not work. If you want I can add this, but I'd prefer to do it next week to not get into too much stress before the deadline.
  • The keyword completion provider is not pushed yet, that's why it is not showing keywords :-) I am trying not to push more than 2-3 commits at a time to avoid heavy rebasing in case a commit does not pass a review.

If you find anything else just let me know, I will do some testing myself as well...

Best regards,
Martin

Am 2015-08-17 um 12:52 schrieb Christian.Pontesegger@xxxxxxxxxxxx:

Hi Martin,

 

thanks for this great summary. It clearly states what you achieved during this GSoC and helps contributors that want to continue to work on auto completion providers.

We have a generic project hosting documentation for the EASE project.

org.eclipse.ease.core\developers\EASE Developer Documentation

 

Could you add the contents of this mail (along with the upcoming info on CustomAnnotationCompletionProvider) to that project? Please use some editable format, so we can extend this documentation in the future.

Simple html would be nice, but txt or some docx, open office or similar will do also.

 

Now to some tests:

 

Shell:

1.       Use a fresh rhino shell

2.       Enter ‘e’

3.       Trigger code completion

4.       Select ‘execute’

5.       Results in: ‘executexecute’ instead of ‘execute’ (mind the 1 ‘e’ in the middle)

 

Shell:

1.       Fresh rhino shell

2.       loadModule('/System/Resources');

3.       Trigger code completion

4.       The constants for APPEND, READ, WRITE are offered, but no methods are available

 

Shell:

1.       Fresh rhino shell

2.       f = new java.io.File("C:\\")

3.       enter f.

4.       Trigger code completion

5.       Works as expected

6.       Enter ‘new java.io.File("C:\\").’

7.       Trigger code completion

8.       No completions shown

 

Shell:

·         What about the keywords provider? I do not get any keyword proposals in the shell. When will it be triggered?

 

 

Will do more testing this evening.

 

--

Christian



_______________________________________________
ease-dev mailing list
ease-dev@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://dev.eclipse.org/mailman/listinfo/ease-dev


Back to the top