eclipse-wildwebdeveloper / eclipse-wildwebdeveloper/wildwebdeveloper
Javascript: Jump to declaration still not at JSDT's level
Chưa có ai nhận issue này.
- Ngôn ngữ chính
- Java
- Star
- 201
- Fork
- 76
- Merge trung bình
- 4 ngày 7 giờ
- Pull request đã merge (30 ngày)
- 21
Mô tả
Hi,
I've been stuck with Eclipse Luna for years now, because of it being (along with Mars) the last version where JSDT worked fine (syntax coloring unbroken).
Your tool seems finally to get close to JSDT in certain aspects, surpass it in others.
But really: the most useful feature in a tool like this (even more important than syntax coloring) is the Jump to declaration ! How can anyone work without it when the project becomes more and more complex ?
And WWD doesn't come close the JSDT regarding Jump to declaration. Or I'm missing something. It works in the same file, when there are prototype functions, but look at this example:
(function ()
{
var global = this || window;
var _Ctrls = null;
_Ctrls = global.Ctrls =
{
test: function()
{
//////
},
test2: function()
{
_Ctrl.test();
}
};
})
Typing F3 (Jump to declaration) on the test() call would give a message like "The operation is not applicable to the current selection etc..."
In JSDT it would take me to the test function declaration. It would even take me to it when called in another javascript file in the same project !
Can anyone tell if this a final behavior or is there a chance to fix it ?
Regards
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.
Hướng nghiên cứu
Tái hiện ví dụ JavaScript được cung cấp trong Eclipse và gọi F3 trên lệnh gọi test(). So sánh hành vi trong cùng một tệp và giữa các tệp JavaScript trong cùng một dự án với hành vi JSDT được mô tả. Được xem là hoàn tất khi Jump to declaration đi đến khai báo hàm test thay vì báo rằng thao tác không áp dụng được.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Đánh giá
- Công nghệ
- javascript
- Lĩnh vực
- developer-experience, tooling
- Loại issue
- Lỗi
- Độ khó
- 4/5
- Thời gian dự kiến
- 3-5 ngày
- Mức độ hoạt động
- Đình trệ
- Độ rõ ràng
- Khá rõ ràng
- Mức phù hợp với người mới
- 35/100