eclipse-wildwebdeveloper / eclipse-wildwebdeveloper/wildwebdeveloper
Javascript: Jump to declaration still not at JSDT's level
まだ誰も着手していません。
- 主要言語
- Java
- スター
- 201
- フォーク
- 76
- 平均マージ
- 4日 7時間
- マージ済み PR(30日)
- 21
説明
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
コントリビューションガイド
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
調査の方向性
Eclipse で提供された JavaScript の例を再現し、test() の呼び出しで F3 を実行します。同じファイル内、および同じプロジェクト内の JavaScript ファイル間での動作を、説明されている JSDT の動作と比較します。Jump to declaration が操作を適用できないと報告するのではなく、test 関数の宣言に移動すれば完了です。
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- javascript
- 領域
- developer-experience, tooling
- issue の種類
- バグ
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 活発さ
- 停滞
- 明瞭さ
- おおむね明確
- 初心者へのやさしさ
- 35/100