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

Live Template ? #5

Open
Spierki opened this issue Sep 23, 2016 · 4 comments
Open

Live Template ? #5

Spierki opened this issue Sep 23, 2016 · 4 comments

Comments

@Spierki
Copy link

Spierki commented Sep 23, 2016

Hey,
In your conference you talked about live template which are supposed to be available on your github but I don't found it, have you a link ?

@MathiasSeguy-Android2EE
Copy link
Owner

Hey Spierki,
Thanks for having interest on this project, thanks for having watch the conference, thanks for requesting the Templates !
I just commit them, you can find them at the root of the project, Android2EELiveTemplates.jar.
To import them you just have to :

  1. Save the Android2EELiveTemplates.jar file on your computer (or pull the project Forecast) to be up to date
  2. Choose File | Import Settings on the main menu and and specify the location of the received .jar file.
  3. In the Select Components to Import dialog box that opens, select the Live Templates check box and click OK.

And it should be ok.
To use them, just begin with arch_ and select the one you want.
For information, arch_%1 means %1 is the name (almost) of the class where you should use the template. For exemple, arch_ServManager_InitCode have to be used in your ServiceManager and will initialize this class with all the needed code and two samples to add BusinessServices or AndroidServices.
Hope it'll help you.
And do not hesitate to send feedback.
And thanks for your interest !
Kind regards,
Mathias

@Spierki
Copy link
Author

Spierki commented Oct 10, 2016

Hey Mathias,

Thank you very much for the repo and all your work !

I'm gonna try your templates this week.

Thanks again !

@Spierki
Copy link
Author

Spierki commented Oct 10, 2016

I found one error when you generate a service method, in the run method in the associate runnable you're calling the async method instead of the sync one.

@MathiasSeguy-Android2EE
Copy link
Owner

Hey Spierki,
Thanks for detecting it. I just commit the fix :)
Have a nice day, a fucking good nice day :)

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

No branches or pull requests

2 participants