Skip to content
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

autocomplete for build.properties #508

Merged
merged 1 commit into from Mar 22, 2023

Conversation

gireeshpunathil
Copy link
Contributor

A rudimentary implementation of the auto-complete feature for the build.properties file editor for features, plugins and fragments. Searches and auto-fills valid property names.

Pending items would be to handle corner cases (if any), provide a help text, provide potential suggestions for the values. But I prefer to handle one item at a time - I am still learning things!

Fixes: #503

@github-actions
Copy link

github-actions bot commented Mar 16, 2023

Test Results

     80 files       80 suites   14m 36s ⏱️
3 278 tests 3 254 ✔️ 24 💤 0
3 377 runs  3 353 ✔️ 24 💤 0

Results for commit 71ed9cb.

♻️ This comment has been updated with latest results.

A rudimentary implementation of the
auto-complete feature for the build.properties
file editor for features, plugins and fragments.
Searches and auto-fills valid property names.

Fixes: eclipse-pde#503
Copy link
Contributor

@laeubi laeubi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good, you might want to add a screenshot here how it looks like when auto-completion is active.

@laeubi
Copy link
Contributor

laeubi commented Mar 16, 2023

I'm adding @mickaelistria as a reviewer as he is more familiar with all the autocomplete/editor stuff and might has some improvements or hints.

@gireeshpunathil
Copy link
Contributor Author

Looks good, you might want to add a screenshot here how it looks like when auto-completion is active.

thanks @laeubi .

auto-fill popup when content assist key is pressed on a half-baked property:

image

@vogella
Copy link
Contributor

vogella commented Mar 22, 2023

Very cool, thanks @gireeshpunathil

@vogella vogella merged commit 3707839 into eclipse-pde:master Mar 22, 2023
3 checks passed
Copy link
Member

@HannesWell HannesWell left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you @gireeshpunathil for this, it is a handy addition and sorry for the late silence.
Although this is already merged I added some remarks below. Maybe you want to address them in a follow up?

gireeshpunathil added a commit to gireeshpunathil/eclipse.pde that referenced this pull request Mar 23, 2023
a few review comments are included in this follow-up PR:
 - removed inheriting from ICompletionListener
 - hence removed completion listener registration
(ICompletionListener.addCompletionListener)
 - usage of array creation shortcut
 - better string initialization
 - localization of fContentAssistantProcessor variable

Refs: eclipse-pde#508
gireeshpunathil added a commit to gireeshpunathil/eclipse.pde that referenced this pull request Mar 23, 2023
a few review comments are included in this follow-up PR:
 - removed inheriting from ICompletionListener
 - hence removed completion listener registration
(ICompletionListener.addCompletionListener)
 - usage of array creation shortcut
 - better string initialization
 - localization of fContentAssistantProcessor variable

Refs: eclipse-pde#508
@gireeshpunathil
Copy link
Contributor Author

Thank you @gireeshpunathil for this, it is a handy addition and sorry for the late silence.
Although this is already merged I added some remarks below. Maybe you want to address them in a follow up?

@HannesWell - #529 , thanks in advance!

HannesWell pushed a commit that referenced this pull request Mar 24, 2023
a few review comments are included in this follow-up PR:
 - removed inheriting from ICompletionListener
 - hence removed completion listener registration
(ICompletionListener.addCompletionListener)
 - usage of array creation shortcut
 - better string initialization
 - localization of fContentAssistantProcessor variable

Refs: #508
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Autocomplete for build.properties
4 participants