Reputation: 35
Is it possible to change in android studio default settings as a custom setting for me ? For example I use the word 'initialization' a lot, is there a way to let android studio auto complete it as the main functions ? 'String, int ...'
Another thing I use a function in all my activities is there a way to make android studio create my functions automatically every time I create a new empty activity ?
Hope someone finds an answer, Thanks !
Upvotes: 2
Views: 2022
Reputation: 2525
You can use a code template for it. navigate to below link. It will help for u https://www.jetbrains.com/help/idea/using-file-and-code-templates.html
This https://www.jetbrains.com/help/webstorm/2016.3/hippie-completion-expanding-words.html will help you to change your autocomplete configuration as u want (this example shows for web strom and u can do this in android studio as well)
Upvotes: 2
Reputation: 618
<here you can change the default code to whatever you want>
Upvotes: 1