eclipse-wildwebdeveloper / eclipse-wildwebdeveloper/wildwebdeveloper
Javascript: Jump to declaration still not at JSDT's level
Personne n'a encore pris cette issue.
- Langage dominant
- Java
- Étoiles
- 201
- Forks
- 76
- Merge moyen
- 4 j 7 h
- PR mergées (30 j)
- 21
Description
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
Guide de contribution
Ouvrir le guide de contribution
Par où commencer
- Lisez l'issue en entier, puis le guide de contribution du projet.
- Signalez en commentaire que vous la prenez — cela évite que deux personnes fassent le même travail.
- Forkez le dépôt et travaillez sur une branche.
- Ouvrez une pull request qui référence le numéro de l'issue.
Piste de recherche
Reproduisez l’exemple JavaScript fourni dans Eclipse et invoquez F3 sur l’appel test(). Comparez le comportement au sein d’un même fichier et entre les fichiers JavaScript d’un même projet avec le comportement de JSDT décrit. C’est terminé lorsque Jump to declaration atteint la déclaration de la fonction test au lieu d’indiquer que l’opération n’est pas applicable.
Rédigé par le modèle d'indexation à partir du texte de l'issue.
Évaluation
- Stack technique
- javascript
- Domaine
- developer-experience, tooling
- Type d'issue
- Bug
- Difficulté
- 4/5
- Temps estimé
- 3-5 jours
- Activité
- À l'abandon
- Clarté
- Plutôt claire
- Accessibilité débutants
- 35/100