Skip to content

Commit

Permalink
fix: python、go 打印字符错误
Browse files Browse the repository at this point in the history
Co-authored-by: ygqygq2 <[email protected]>
  • Loading branch information
ygqygq2 committed Jan 29, 2024
1 parent 8b0ae14 commit 9ae3920
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 5 deletions.
10 changes: 7 additions & 3 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@

All notable changes to the "turbo-console-log" extension will be documented in this file.

# [3.0.3]
## 问题修复 🐛
* fix: python、go 打印字符错误 [#2](https://github.com/ygqygq2/turbo-console-log/issues/2)

# [3.0.2]
## 问题修复 🐛
* fix: logFunction 未配置代码类型报错 [#1](https://github.com/ygqygq2/turbo-console-log/issues/1)
Expand All @@ -12,13 +16,13 @@ All notable changes to the "turbo-console-log" extension will be documented in t
* feat: 增加快捷键 `ctrl + alt + u` 更新调试日志行号

## 功能优化 🚀
* perf: logFunction 多语言支持
* refactor: logFunction 多语言支持
```
"turboConsoleLog": {
"includeFileNameAndLineNum": true,
"logFunction": [
"logFunction": {
"php": "echoFunction"
]
}
}
```

Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "turbo-print-log",
"displayName": "Turbo Console Log for more language",
"description": "选中变量,根据不同语言增加一行变量打印日志",
"version": "3.0.2",
"version": "3.0.3",
"publisher": "ygqygq2",
"engines": {
"vscode": "^1.85.0"
Expand Down
2 changes: 1 addition & 1 deletion src/debug-message/LanguageProcessor.ts
Original file line number Diff line number Diff line change
Expand Up @@ -123,11 +123,11 @@ export class GeneralLanguageProcessor implements LanguageProcessor {
case 'typescript':
case 'go':
case 'swift':
case 'python':
return ', ';
case 'java':
case 'csharp':
return ' + ';
case 'python':
case 'ruby':
case 'shellscript':
return ' ';
Expand Down

0 comments on commit 9ae3920

Please sign in to comment.