Answer the question
In order to leave comments, you need to log in
How to set prefixes for auto-generation in Intellij Idea?
I run all my projects in Intellij Idea. In Android projects, I somehow got used to using prefixes for fields m (for static ones - s). I don’t want to do this in any console utilities and everything else (and this is not welcome, if I’m not mistaken). How can I set it up so that in Android projects Idea understands that prefixes are needed, and in all other projects you can do without them?
Answer the question
In order to leave comments, you need to log in
Selecting without checkboxes is not a problem . The question is how and where are you going to use the highlighted lines.
Of course, it's your business, but why are you not satisfied with the "Structure" tab? Here is a link to a book on IDEA: https://yadi.sk/i/dGlmbkFzb3n8Q
It is certainly not new, but for that it is in Russian.
Create a separate Code Style, and include it in Android projects.
In general, the IDE now highlights the fields, depending on whether they are static or not, and shows the type. And Hungarian notation
is
not welcome in java , if you bring such code to social security, then you will have a big fat minus. The code must be written according to the style guides of the language.
ps. back in 2006 they decided that it was not necessary to do this: rsdn.ru/forum/java/2138286.flat
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question