Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

About Inlay hints #7

Closed
Nasller opened this issue Apr 3, 2022 · 3 comments
Closed

About Inlay hints #7

Nasller opened this issue Apr 3, 2022 · 3 comments
Labels
bug Something isn't working

Comments

@Nasller
Copy link
Owner

Nasller commented Apr 3, 2022

当你看到在minimap中的底部出现大量空白时或者视窗不在正确的位置,这很有可能是Inlay hints导致的,它让编辑器多出了很多行!虽然我可以做到在minimap中补充一行,但是会影响到其他显示功能,为了补充这条线需要更改计算规则,我尝试改过,最后会导致quick glance功能计算位置错误,所以决定不更改这个错误,因为它本身不存在于编辑器中,谢谢大家。

@Nasller Nasller added bug Something isn't working documentation Improvements or additions to documentation labels Apr 3, 2022
@Nasller Nasller pinned this issue Apr 3, 2022
@Nasller
Copy link
Owner Author

Nasller commented Apr 3, 2022

When you see a lot of white space at the bottom of the minimap or viewport not in the right position, it's most likely caused by Inlay hints, which add a lot of extra lines to the editor! Although I can add a line to the minimap, it will affect other display functions. In order to supplement this line, the calculation rules need to be changed. I tried to change it, and finally it will cause the quick glance function to calculate the position error, so I decided not to change this error. Because it doesn't exist in the editor itself, thank you all.

@Nasller
Copy link
Owner Author

Nasller commented Jul 25, 2022

image
Using this settings can alleviate this problem

@Nasller
Copy link
Owner Author

Nasller commented Jul 25, 2022

If someone can repair this problem, please submit PR, thank you

@Nasller Nasller removed the documentation Improvements or additions to documentation label Jul 25, 2022
@Nasller Nasller reopened this Jul 25, 2022
Nasller added a commit that referenced this issue Jul 29, 2022
Nasller added a commit that referenced this issue Jul 29, 2022
Nasller added a commit that referenced this issue Jul 29, 2022
@Nasller Nasller closed this as completed Jul 31, 2022
@Nasller Nasller unpinned this issue Jul 31, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant