Skip to content

获取题目列表时,异常弹出语言选择框 #136

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

Closed
Cinea4678 opened this issue Jan 8, 2023 · 1 comment · Fixed by #137
Closed

获取题目列表时,异常弹出语言选择框 #136

Cinea4678 opened this issue Jan 8, 2023 · 1 comment · Fixed by #137

Comments

@Cinea4678
Copy link

🐛 Bug Report(错误报告)

当插件启动时,或者手动刷新题目列表时,异常弹出语言选择框及错误信息

语言选择框示意
语言选择框示意

错误信息示意
错误信息示意

若选择默认语言,则不弹出语言选择框,但会收到以下提示信息:

提示信息

To Reproduce(重现)

手动刷新题目列表

Extension Output(扩展输出)

扩展无异常输出。

Your Environment

  • os(操作系统): macOS 13.1
  • extension settings(扩展设置): 无特殊设置
  • nodejs version(nodejs版本): v18.12.1
  • vscode version(vscode版本): 1.74.2 (Universal)
  • extension version(扩展版本): v2.11.5
@ccagml ccagml linked a pull request Jan 11, 2023 that will close this issue
@ccagml
Copy link
Owner

ccagml commented Jan 11, 2023

我更新了一下文件顺序 2.11.6
如果还有 Unexpected end of JSON input
需要你检查检查, 你的工作目录下的.lcpr_data目录下的bricks.json和group.json文件的内容是否是json格式
工作目录就是打开题目,题目文件存放的那个目录,vscode配置settings.json中leetcode-problem-rating.workspaceFolder的值
感谢

@ccagml ccagml closed this as completed Jan 11, 2023
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

Successfully merging a pull request may close this issue.

2 participants