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

粘贴代码时代入最近语言 #1317

Closed
yeshaopeng6688 opened this issue Jan 28, 2021 · 3 comments
Closed

粘贴代码时代入最近语言 #1317

yeshaopeng6688 opened this issue Jan 28, 2021 · 3 comments
Assignees
Milestone

Comments

@yeshaopeng6688
Copy link

yeshaopeng6688 commented Jan 28, 2021

你在什么场景下需要该功能? In what scenarios do you need this function?

粘贴大量代码时,需要每次手动写lang,往往粘贴的代码,在一段时间内,都是一样的lang。

描述最优的解决方案 Describe the optimal solution

image

image
ps:左键打开,不是右键,写错了。。

描述候选解决方案 Describe the candidate solution

其他信息 Other information

@88250
Copy link
Member

88250 commented Jan 28, 2021

你好,使用 ``` 触发时会自动默认最近一次使用的语言。

@88250 88250 closed this as completed Jan 28, 2021
@yeshaopeng6688
Copy link
Author

yeshaopeng6688 commented Jan 29, 2021

你好,使用 ``` 触发时会自动默认最近一次使用的语言。

。。我是直接复制idea的代码到思源中,因为会自动加```,所以才提的这个改进。
那么,能否将代码直接复制到思源的时候(不敲```),也会自动触发 最近一次使用的语言呢?

@88250
Copy link
Member

88250 commented Jan 29, 2021

@yeshaopeng6688 收到,我们考虑下,谢谢。

@Vanessa219 Vanessa219 changed the title 代码框默认语言 粘贴代码时代入最近语言 Jan 29, 2021
@Vanessa219 Vanessa219 reopened this Jan 29, 2021
@Vanessa219 Vanessa219 self-assigned this Jan 29, 2021
@Vanessa219 Vanessa219 modified the milestones: 0.7.2, 0.7.1 Jan 29, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants