eclipse-wildwebdeveloper / eclipse-wildwebdeveloper/wildwebdeveloper
Javascript: Jump to declaration still not at JSDT's level
Nadie ha tomado este issue todavía.
- Lenguaje dominante
- Java
- Estrellas
- 201
- Forks
- 76
- Merge medio
- 4 d 7 h
- PR fusionados (30 d)
- 21
Descripción
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
Guía de contribución
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Línea de trabajo
Reproduzca el ejemplo de JavaScript proporcionado en Eclipse e invoque F3 sobre la llamada a test(). Compare el comportamiento dentro de un mismo archivo y entre archivos JavaScript del mismo proyecto con el comportamiento de JSDT descrito. Se considera terminado cuando Jump to declaration llega a la declaración de la función test en lugar de indicar que la operación no es aplicable.
Escrito por el modelo de indexación a partir del texto del issue.
Evaluación
- Stack tecnológico
- javascript
- Área
- developer-experience, tooling
- Tipo de issue
- Error
- Dificultad
- 4/5
- Tiempo estimado
- 3-5 días
- Estado de actividad
- Estancado
- Claridad
- Bastante claro
- Aptitud para principiantes
- 35/100