How can i create plugin to create custom code folding

Hi I want to create plugin that will add region/endregion for each widget code(compose) or make widget code foldable is there any source to make it?
1

请先登录再写评论。