Closed Rainer-Lang closed 9 years ago
@Rainer-Lang good point
I can make a config
file, where users will be able to define custom rules for folding. Question is where to put this file?
Have other plugins also config-files?
I don't think so. Mostly have their own internal settings. But this is a lot of work :)
Maybe we can do the following, user right click on folder, click add custom group rule, and type for example abc_defgh
. ?
"abcdefgh" was only an example to show that I need to define the position of "". :) But maybe you are more flexible with your suggestion... Would this be saved?
Yes, again: user right click on folder -> click add custom group rule -> pop dialog with input field -> user type custom rule for example "abc_defgh" and it will be saved.
I will think more on other solutions..
But this sounds pretty nice. :-)
@dmytrodanylyk Any news? Maybe something to discuss here?
@Rainer-Lang not yet, I just got married :) I will try to do this on weekends.
Wow :-) Nice! Have a time! ;-)
@dmytrodanylyk Any news? :-)
@Rainer-Lang Hi, I am thinking if we need this at all.
I considered following:
And concluded that using multi-res folders is better way to manage this job.
I am using following structure:
sourceSets {
main {
res.srcDirs = [
'src/main/res',
'src/main/layouts/chat',
'src/main/layouts/chatlist',
'src/main/layouts/gallery',
'src/main/layouts/profile',
'src/main/layouts/contacts'
]
}
}
What do you think?
For me it would be fine. I don't care about some extra "work" to configure. I save more time with that plugin. :-)
@Rainer-Lang why you are not using multi-res folders?
Tried but doesn't work.
@Rainer-Lang I can help you, ping me in Hangout if you want.
"Naming rules: folder name -> file name part till underscore"
I often have such names: "abc_defgh_ijklmn_fragment.xml" Therefore I'd like to have folders for "abc_defgh". Please let the user decide which position of the underscore is taken for filtering.