Renaming a variable leads to entire contents of the file editor being replaced with one word- Error
维护者通常 1 天内回复
还没有人认领这个 Issue。
评估
- 难度
- 4/5
- 预计耗时
- 3-5 天
- 新手友好度
- 42/100
- Issue 类型
- 缺陷
- 描述清晰度
- 需要澄清
- 活跃度
- 停滞
- 技术栈
- java, javascript
- 领域
- devtools
调研方向
在同时包含 JavaScript 和 Java 文件的嵌套 Gradle 项目中重现重命名操作,包括报告中提到的两行 JavaScript 文件。将 Error Log、Problems view 和 language-server Console 与非嵌套项目进行比较;当重命名不再将打开的编辑器内容替换为“Error”,且修改后的内容无需重新打开文件即可保持可见时,即表示完成。
由索引模型根据 Issue 内容生成。
描述
I tried setting up an new project in my workspace and tried editing a JS file by refactoring (renaming) a variable which led to the entire contents of the file being replaced with just one word 'Error'. I would have to close the file and open it again to see its modified contents, which are correct.
What I've observed:
- I've observed that this only happens in a nested Gradle project which contains both Java and JavaScript files. I tried the same in a different project (not a Gradle project with sub-projects) and it worked without any issues.
- I created a new file in my project with just one small function with two lines and the same thing happened again.
- There are no unique errors reported in the 'Error Log' or 'Problems' view when comparing the two projects (one where the issue occurs and the other where it doesn't).
- I enabled printing language server logs to the 'Console' view and observed that there was no mention of words 'error' or 'parse' in the Console.
- I predicted it would be an issue with JSDT, so I downloaded Spring Tools Eclipse IDE which doesn't contain JSDT and I still get the same issue.
Any help would be appreciated.
Thank you for developing this project.
- 主要语言
- Java
- 星标
- 203
- 派生
- 76
- 平均合并
- 1 天 5 小时
- 30 天内合并 PR
- 30
环境准备
- 没有 Dockerfile 或 Docker Compose 文件
- 没有 Pull Request 模板
- 阅读贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
eclipse-wildwebdeveloper/wildwebdeveloper 的其他 Issue
-
Markdown and Astro language servers do not start when the project path contains a non-ASCII character or a space可能已有人在做 @RoiSoleil 今天认领。 未关闭
难度 2/5 1-3 小时 新手友好度 78/100
eclipse-wildwebdeveloper/wildwebdeveloper#2277 ·
维护者通常 1 天内回复
-
难度 3/5 1-2 天 新手友好度 65/100
eclipse-wildwebdeveloper/wildwebdeveloper#2236 ·
维护者通常 1 天内回复
-
难度 4/5 3-5 天 新手友好度 45/100
eclipse-wildwebdeveloper/wildwebdeveloper#2177 ·
维护者通常 1 天内回复
-
enhancement
难度 5/5 一周以上 新手友好度 25/100
eclipse-wildwebdeveloper/wildwebdeveloper#2122 · 2 条评论 ·
维护者通常 1 天内回复
-
enhancement
难度 4/5 3-5 天 新手友好度 35/100
eclipse-wildwebdeveloper/wildwebdeveloper#2070 · 1 条评论 ·
维护者通常 1 天内回复
查看 eclipse-wildwebdeveloper/wildwebdeveloper 的全部 Issue
相似的 Issue
-
难度 1/5 1 小时以内 新手友好度 80/100
itwanger/toBeBetterJavaer#218 ·
-
难度 2/5 1-3 小时 新手友好度 78/100
johanhaleby/occurrent#1462 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 66/100
SasanLabs/VulnerableApp#912 ·
维护者通常 1 天内回复
-
area/build area/events area/storage area/storage/kafkasql area/storage/sql
难度 2/5 1-3 小时 新手友好度 78/100
Apicurio/apicurio-registry#11079 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 75/100
OpenAEV-Platform/openaev#9139 ·
维护者通常 1 天内回复