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

代码块中 Tab 键的缩进无法回退 #4207

Closed
LecoLu opened this issue Mar 9, 2022 · 4 comments
Closed

代码块中 Tab 键的缩进无法回退 #4207

LecoLu opened this issue Mar 9, 2022 · 4 comments

Comments

@LecoLu
Copy link

LecoLu commented Mar 9, 2022

版本:1.8.9
问题:代码块中,如果缩进是使用Tab,无法使用shift+Tab进行回退缩进。而以空格为缩进的,可以回退。
动画

@LecoLu
Copy link
Author

LecoLu commented Mar 16, 2022

@88250 D大,这个问题能否解决呢? 最近在写go语言,他默认推荐是使用tab键缩进的,粘贴代码时无法使用退回缩进功能。

@88250
Copy link
Member

88250 commented Mar 16, 2022

暂时还没有时间细看,建议代码在 IDE 里写好后一次性粘贴。

@LecoLu
Copy link
Author

LecoLu commented Mar 16, 2022

暂时还没有时间细看,建议代码在 IDE 里写好后一次性粘贴。

好的。可以一次性粘贴,但是大部分都是得部分粘贴。如果有时间的话解决一下。

@88250 88250 changed the title 代码块中Tab键的缩进无法回退问题 代码块中 Tab 键的缩进无法回退问题 Mar 16, 2022
@88250 88250 changed the title 代码块中 Tab 键的缩进无法回退问题 代码块中 Tab 键的缩进无法回退 Mar 16, 2022
@Vanessa219
Copy link
Member

tab 个数和编辑器中设置的不一致时,会选取最小值进行缩进。建议在 IDE 中缩进后再粘贴,否则一行一行的缩进也很幸苦。

@Vanessa219 Vanessa219 removed their assignment Mar 17, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants