We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
55秒的录屏:
不知道是st4的原因,还是lsp的原因,还是其他原因,文件头不能添加,但是能对已添加的文件头进行更新。
配置文件里只配置了author和email,没有其他配置
The text was updated successfully, but these errors were encountered:
我的是st3,版本:3211。跟你情况一样,没法添加
Sorry, something went wrong.
ST3 3207 版本,同样的问题,新建文件无法添加 header,手动 addheader 也是不行。
但对已有文件的修改,可以更新 header 内容(比如修改时间
55秒的录屏: 不知道是st4的原因,还是lsp的原因,还是其他原因,文件头不能添加,但是能对已添加的文件头进行更新。 配置文件里只配置了author和email,没有其他配置
可以打开控制台(Ctrl+`)查看一下FileHeader是否是报的decode error。
Ctrl+`
如果是的话,可以在ST4 的Data/Packages/FileHeader 文件夹里面添加一个内容为3.8,名字为.python-version的文件来解决。 ST4 默认调用Python 3.3,encoding 貌似并不跟随ST4里的全局default encoding设置 (中文 win 11 系统会出现这个问题) 。改为调用3.8版本后此问题就解决了。
3.8
.python-version
No branches or pull requests
55秒的录屏:
不知道是st4的原因,还是lsp的原因,还是其他原因,文件头不能添加,但是能对已添加的文件头进行更新。
配置文件里只配置了author和email,没有其他配置
The text was updated successfully, but these errors were encountered: