How to have per project Live Templates

Answered

Hi, I was wondering if it was possible to have per project live templates

 

For example, in android studio, I can hit logi for Log.i(TAG, "text"); but if I wanted to have a per project setting to use our own logger, that is not possible

 

IE, in project 1, the logger may be

com.test.util.Log

in project2 that can be

com.test2.Logger

and I thus want to be able to say logi in both projects, but end up with com.test.util.Log.i(TAG, "text"0); in one and then com.test2.Logger.i(TAG, "text"); in the second project.

is there a way to do this? Be able to have per project templates and allow the override of them from standard with the same invocation words. 

 

thanks

5
4 comments

Hello!

We have a ticket in our tracker to provide this functionality, please up vote it:

https://youtrack.jetbrains.com/issue/IDEABKL-5033

Please follow YouTrack ticket for updates. See https://intellij-support.jetbrains.com/hc/articles/207241135 if you are not familiar with YouTrack.

 

 

0
Avatar
Permanently deleted user

Excellent, thank you for the information. I will keep an eye for this and hopefully any changes is also ported to Android Studio.

 

0
Avatar
Permanently deleted user

Any update on this?

0

No updates at the moment. Please track the https://youtrack.jetbrains.com/issue/IDEABKL-5033 request.

0

Please sign in to leave a comment.