Cologler

Results 35 comments of Cologler

> In the Windows API (with some exceptions discussed in the following paragraphs), the maximum length for a path is MAX_PATH, which is defined as 260 characters. The PR won't...

I suggest using the sha1 of the URL to replace the original URL.

参考 #167 中这个回复: > 我倒是发现了一个问题,win7 7601,vs code 1.18.1,code runner 0.8.3,设置code-runner.runInTerminal": false 是在输出窗口中进行输出,这时候python输出中文乱码,c和java正常,但是如果是code-runner.runInTerminal": true,则在终端中输出,python正常,c和java乱码。 ~可能需要再修改成按语言配置不同的 encoding (我的 PR 目前只有添加了一个全局的 outputEncoding)。~ vscode 是支持按语义配置不同配置的。

@William-Python-King 什么意思?你这个输出是来自我的 pr 的版本? 如果是的话,你要在 vscode 的配置添加一行 `"code-runner.outputEncoding": "gbk"`。这样就不是乱码了。

@William-Python-King 乱码产生的过程不是转换成 utf-8 来输出,而是 code-runner 从 cmd 中读 stdout 时候不应该按 utf-8 来读。如果你会看代码就直接看代码吧,也就三行的事情。

@formulahendry 加速 pr 合并

@formulahendry yes.

@formulahendry vscode 支持特定语言配置的语法: ``` "[java]": { "code-runner.outputEncoding": "gbk" } ``` 不过我没找到怎样 `get` 所以只实现了全局的。

@formulahendry 也许吧……之后再看别人提的 issus 吧。😂