amatiasq / amatiasq/vsc-sort-imports

VSCode collapse distorted.

Đang mở
#116 0 bình luận 0 reaction 0 người được giao Xem trên GitHub
Ngôn ngữ chính
TypeScript
Star
59
Fork
20
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Mô tả

So I thought it was a fluke.
But today I tried this plugin again on an entirely separate computer, and the exact same thing happened.

After you hit save on a file, and it sorts the imports (which it does well I might add), from then on - the collapse regions are broken.
It'll show the arrow to collapse on an incorrect position, and wildly applies collapse as a result.

![image](https://github.com/amatiasq/vsc-sort-imports/assets/13471536/3db831b7-dd2f-4d0c-bf8a-5e967e4617f9)

As you can see, the collapse arrow is in a strange position, on a return statement (just one example).
Hitting collapse produces this:
![image](https://github.com/amatiasq/vsc-sort-imports/assets/13471536/90db275a-6782-445e-8fc7-18271b5149ef)

Even after I remove the plugin completely, all of collapse arrows are completely messed up.
I've never had this problem, until installing this. And it's made editing impossible for large files.

Does anyone know how to reset the collapse system in vs code? And how am I the only one reporting this?

Hướng dẫn đóng góp

Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.