"Haskell: Restart LSP Server" command doesn't take changed extension settings into account
还没有人认领这个 Issue。
评估
- 难度
- 3/5
- 预计耗时
- 1-2 天
- 新手友好度
- 38/100
- Issue 类型
- 缺陷
- 描述清晰度
- 基本清楚
- 活跃度
- 停滞
- 技术栈
- haskell, typescript, vscode
调研方向
从“Haskell: Restart LSP Server”命令的实现开始,跟踪它在调用时如何获取扩展设置。通过更改 Haskell: Log File 或 Haskell > Trace Server 重现该问题,然后确认重启后的服务器使用这些当前值,而无需重启 VS Code。
由索引模型根据 Issue 内容生成。
描述
When I change extension settings in vscode and then run "Haskell: Restart LSP Server" within vscode, the changed extension settings are not taken into account - it's still running haskell-language-server with the same flags as when I started vscode.
Steps to reproduce:
In extension settings change "Haskell: Log File" from the default value (no value) to some valid path on your filesystem.
Push Ctrl+Shift+P and select "Haskell: Restart LSP Server"
Actual: the server is restarted, but there's no logging to my file of choice. I have to to actually restart vscode itself for this setting to have and effect (to see some logs in the logging file). It works the same with other settings changes, e.g. when I change "Haskell > Trace Server" from the default (off) to "messages" and restart the lsp from within vscode, it again doesn't reflect the changes - I need to restart vscode itself for this to have an effect.
Expected: restarting HLS from vscode should use the currently selected extension settings.
- 主要语言
- TypeScript
- 星标
- 594
- 派生
- 99
- 平均合并
- 18 小时 19 分钟
- 30 天内合并 PR
- 4
环境准备
- 没有 Dockerfile 或 Docker Compose 文件
- 没有 Pull Request 模板
- 阅读贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
haskell/vscode-haskell 的其他 Issue
-
Support VS Code's foldable `#region` by adding `folding.markers` to `language-configuration.json`未关闭
难度 1/5 1 小时以内 新手友好度 78/100
haskell/vscode-haskell#1394 ·
-
type: bug
难度 2/5 1-3 小时 新手友好度 65/100
haskell/vscode-haskell#1332 · 2 条评论 ·
-
status: needs triage
难度 3/5 半天 新手友好度 62/100
haskell/vscode-haskell#1412 · 1 条评论 ·
-
status: needs triage
难度 3/5 1-2 天 新手友好度 68/100
haskell/vscode-haskell#1402 · 4 条评论 ·
-
status: needs triage
难度 3/5 1-2 天 新手友好度 58/100
haskell/vscode-haskell#1399 · 4 条评论 ·
查看 haskell/vscode-haskell 的全部 Issue
相似的 Issue
-
bug data-types
难度 2/5 1-3 小时 新手友好度 88/100
ClickHouse/clickhouse-js#1293 ·
维护者通常 1 天内回复
-
area: middleware enhancement good first issue
难度 2/5 1-3 小时 新手友好度 68/100
-
agent/quality testing
难度 1/5 1 小时以内 新手友好度 95/100
维护者通常 1 天内回复
-
GitHub registry install via `gh` credentials rewrites `\u0000`–`\u001f` escapes in source files to `^@`–`^_`可能已有人在做 关联的 PR 仍在进行中或已合并。 未关闭
难度 2/5 1-3 小时 新手友好度 92/100
维护者通常 2 天内回复
-
难度 2/5 1-3 小时 新手友好度 78/100
juspay/agent-distro#203 ·
维护者通常 1 天内回复