Renaming a variable leads to entire contents of the file editor being replaced with one word- Error
Maintainer thường phản hồi trong vòng 1 ngày
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 4/5
- Thời gian dự kiến
- 3-5 ngày
- Mức phù hợp với người mới
- 42/100
- Loại issue
- Lỗi
- Độ rõ ràng
- Cần làm rõ
- Mức độ hoạt động
- Đình trệ
- Công nghệ
- java, javascript
- Lĩnh vực
- devtools
Hướng nghiên cứu
Tái hiện thao tác đổi tên trong một dự án Gradle lồng nhau chứa cả tệp JavaScript và Java, bao gồm tệp JavaScript hai dòng được báo cáo. So sánh Error Log, Problems view và language-server Console với một dự án không lồng nhau; được xem là hoàn tất khi thao tác đổi tên không còn thay thế nội dung của trình soạn thảo đang mở bằng “Error” và nội dung đã sửa đổi vẫn hiển thị mà không cần mở lại tệp.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
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.
- Ngôn ngữ chính
- Java
- Star
- 203
- Fork
- 76
- Merge trung bình
- 1 ngày 5 giờ
- Pull request đã merge (30 ngày)
- 30
Chuẩn bị môi trường
- Không có Dockerfile hay tệp Docker Compose
- Không có mẫu pull request
- Đọc hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của eclipse-wildwebdeveloper/wildwebdeveloper
-
Markdown and Astro language servers do not start when the project path contains a non-ASCII character or a spaceCó thể đã có người làm @RoiSoleil đã nhận hôm nay. Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
eclipse-wildwebdeveloper/wildwebdeveloper#2277 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 65/100
eclipse-wildwebdeveloper/wildwebdeveloper#2236 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 45/100
eclipse-wildwebdeveloper/wildwebdeveloper#2177 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
SQL Language serverĐang mởenhancement
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 25/100
eclipse-wildwebdeveloper/wildwebdeveloper#2122 · 2 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Support for marko languageĐang mởenhancement
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 35/100
eclipse-wildwebdeveloper/wildwebdeveloper#2070 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
Tất cả issue của eclipse-wildwebdeveloper/wildwebdeveloper
Issue tương tự
-
面渣逆袭Spring事务传播机制勘误Đang mở
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 80/100
itwanger/toBeBetterJavaer#218 ·
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
johanhaleby/occurrent#1462 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Enhancing the Issue TemplateĐang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 66/100
SasanLabs/VulnerableApp#912 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
area/build area/events area/storage area/storage/kafkasql area/storage/sql
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
Apicurio/apicurio-registry#11079 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 75/100
OpenAEV-Platform/openaev#9139 ·
Maintainer thường phản hồi trong vòng 1 ngày