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

goland的注释弹窗中乱码问题 #11

Open
y894577 opened this issue Apr 24, 2021 · 10 comments
Open

goland的注释弹窗中乱码问题 #11

y894577 opened this issue Apr 24, 2021 · 10 comments

Comments

@y894577
Copy link

y894577 commented Apr 24, 2021

如果注释格式为

/**

在goland中会出现中文字符乱码问题
8d108e96a1b96921d12bb910438a196
改为/*开头或者//则不会有中文乱码

@loveinsky100
Copy link
Owner

loveinsky100 commented Apr 27, 2021

你的goland是什么版本的 我这边用/**也是正常的,如果有问题建议先替换下注释的格式,可以使用 // 的格式
image

@Tiller-Mu
Copy link

我这边也有这个问题,goland 2021.1.1

@loveinsky100
Copy link
Owner

👌,我这是goland 2021.1没有问题 我更新到goland 2021.1.1看下

@loveinsky100
Copy link
Owner

loveinsky100 commented Apr 28, 2021

一直没有复现,我再排查下,你们如果需要在弹窗页面排版好看点,可以用这个模版(中间是一个tab)

//
//	${function_name}
//	@Description: ${todo}
//	@receiver ${receiver_name_type}
//	@param ${param_name_type}
//	@return ${ret_name_type}
//

image

@Tiller-Mu
Copy link

image
image
另外还有个问题,模板添加这个页面字体和背景都是白色的

@Tiller-Mu
Copy link

image
感觉似乎是goland的问题?

@loveinsky100
Copy link
Owner

image
image
另外还有个问题,模板添加这个页面字体和背景都是白色的

这个是我的问题 TextArea 没有设置颜色 默认是白色的 不会跟随暗黑模式进行切换

@loveinsky100
Copy link
Owner

image
感觉似乎是goland的问题?

可能是编码的问题 但我这边没有出现这种情况,你这个是windows系统吗

@Tiller-Mu
Copy link

image
感觉似乎是goland的问题?

可能是编码的问题 但我这边没有出现这种情况,你这个是windows系统吗

是的,我这边是windows系统,win10 19043.928

@loveinsky100
Copy link
Owner

image
感觉似乎是goland的问题?

可能是编码的问题 但我这边没有出现这种情况,你这个是windows系统吗

是的,我这边是windows系统,win10 19043.928

现在手里没有windows的,放假后回去试下windows看下

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