Thanks for answer but it seems that you have misunderstood me. In my post I am talking of two avast features:
1) Ransomware protected folder list;
2) Exception folder/file/webpage list.
The folder I want to be able to compile my programs in is not a root folder as in your "C:\Development" folder example. If it would be like this, I would not have any questions at all. I would not include this folder neither in one of the previously mentioned lists and everything would work like a charm. In my case "Development" folder is an sub-folder of, for example, folder "C:\MyStuff" - "C:\MyStuff\Development". There are also folders like "C:\MyStuff\Movies", "C:\MyStuff\Pictures", "C:\MyStuff\Downloads" etc. So, the tree is like this:
C:\MyStuff
C:\MyStuff\Movies
C:\MyStuff\Pictures
C:\MyStuff\Downloads
C:\MyStuff\Development
What I want:
Movies, Pictures, Downloads should be secured from ransomware, but Development should not (When building my C++ project in CodeLite I get Access is denied error, if avast secures this folder). Easiest way with less steps to achieve this would be to add "C:\MyStuff" to the Ransomeware protected folder list and add "C:\MyStuff\Development\*" to exceptional folder list. But if I do like this, I do not achieve what I wanted - there is still the error when building my project. My current workaround is to add only these sub-folders to the ransomware protected folder list:
C:\MyStuff\Movies
C:\MyStuff\Pictures
C:\MyStuff\Downloads
At this case everything works but it is not a correct way as I can create new folders under C:\MyStuff and I could forget adding them to avast ransomware protection list.