Skip to content
This repository was archived by the owner on May 30, 2026. It is now read-only.

Autocomplete #136

Description

@FunnyDevs

Hi! I 'm trying xtend and xtendroid samples but i am not able to use autocomplete on overriding fuctions inside class. When i click with mouse on the suggestion the IDE deletes the First lettera i errore instead of generate the fuctions. IS IT normal? Thanks

Activity

  1. tobykurien commented on Oct 22, 2017

    @tobykurien
    Owner

    Overridng autocomplete should work, just remember that Xtend uses the override keyword instead of def when overriding. I use it like this:

    @AndroidActivity class MyActivity {
       onC<Ctrl+Space>
    }```
    
    At the point of pressing Ctrl+Space you should get autocomplete for overriding `OnCreate`, etc.
  2. FunnyDevs commented on Oct 22, 2017

    @FunnyDevs
    Author

    yes, i get the autocomplete but when i press enter, the "onC" disappers and the IDE doesn't create the functions and deletes all.

    I have recorded a video to show you the problem

    https://streamable.com/g0yg8

  3. tobykurien commented on Oct 22, 2017

    @tobykurien
    Owner

    This looks like a bug in the Xtend plugin. Does it do that if you press Enter instead of clicking with the mouse? You can discuss this bug on the Xtend group here: https://groups.google.com/group/xtend-lang

    Also check if you'r'e using the latest stable release here: http://xtend-lang.org

  4. FunnyDevs commented on Oct 22, 2017

    @FunnyDevs
    Author

    Even if i press enter. I would like to use xtend and xtendroid but with this problem is impossibile. On Gitter they said me that xtend idea plugin is abandoned.

  5. tobykurien commented on Oct 22, 2017

    @tobykurien
    Owner

    No it's not abandoned. It's available for both Eclipse and IntelliJ. See the above two links for more. Xtend has reached a high level of maturity which is why there aren't lots of releases. I can say I've been using Xtend since 2013 and haven't encountered your issue, so it may be some installation or configuration issue. Try asking on the Xtend Google group linked above.

  6. FunnyDevs commented on Oct 22, 2017

    @FunnyDevs
    Author

    no, they said the xtend intellij idea plugin was abandoned ,last release almost 2 years ago. I have downloaded even your xtendroid examples and i have same problem (i use android studio 2.3.2)

  7. Buggaboo commented on Oct 23, 2017

    @Buggaboo
    Contributor

    @FunnyDevs this has been abandoned.
    Xtext-idea-gradle-plugin is alive and kicking.

  8. FunnyDevs commented on Oct 23, 2017

    @FunnyDevs
    Author

    I found the problem but there is no solution online

    ' RuntimeException: Error during auto build.: java.io.IOException: Invalid file name: ':' '

    It's a common problem with xtend on windows

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions