So once you have some sort of model that allows rich rules you also need to ability to take a section of code and say "under no circumstances shall you format this code. This code carries a certain undefinable beauty under its current form and you shall not touch it".Unfortunately, it's not clear how one would go about doing this. You could use #regions, or specialized comments //*, but those end up changing your code thus potentially affecting it's 'being' (for lack of a better word). You could make it an editor feature where you select a region of code and that's remembered in some special file (like breakpoints, etc). However, is that really good enough? What if you transfer that file to someone else. You don't want them mucking around with that formatting. So we need it to not actually touch the code, but travel around with the file. how to do that how to do that...
Disclaimer The opinions expressed herein are my own personal opinions and do not represent my employer's view in anyway.