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

代码块无法对齐 #2971

Closed
xibaibai9527 opened this issue Sep 25, 2021 · 3 comments
Closed

代码块无法对齐 #2971

xibaibai9527 opened this issue Sep 25, 2021 · 3 comments
Assignees
Labels
Milestone

Comments

@xibaibai9527
Copy link

看过别人的解释,说是第三方写的主题的问题,但我发现这是内置的代码块风格问题。
选择最上面的ant-design会复现bug,换成vs就好了(虽然还是感觉行号有一点点高)

另外再请教一下,是不是没办法实现像vs那样的复杂的代码高亮?
c# 代码诸如Console.Write都不会自动高亮

@88250
Copy link
Member

88250 commented Sep 26, 2021

@Vanessa219 Vanessa219 self-assigned this Sep 28, 2021
@Vanessa219 Vanessa219 modified the milestones: 1.3.8, 1.3.7 Sep 28, 2021
@xibaibai9527
Copy link
Author

抱歉,忘记发过这贴了,不太习惯使用github

代码块这边感觉bug挺多的,我主贴说的行错位,经过排查后发现是外观-代码块主题这边的问题,选择ant-design会超出。
80行代码就出界了4行
截图23
这个问题在我换成vs主题就好了

问题2是效率问题,上面的80多行代码,已经非常卡了,输入延迟肉眼可见

问题3是高亮问题,习惯了vs和sublime的花花绿绿,思源这边实在太“素”了,我现在看代码是从思源暂时复制到vs里看
截图24

@88250
Copy link
Member

88250 commented Oct 17, 2021

@xibaibai9527 代码估计还是先在 IDE 里面写好一次性粘贴吧,性能问题请关注 #3138

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants