palantir / eclipse-typescript

An Eclipse plug-in for developing in the TypeScript language.
Apache License 2.0
339 stars 74 forks source link

Feature Request: Open Type #142

Open hpoul opened 10 years ago

hpoul commented 10 years ago

Would love to use 'Open Type' (like for java classes ctrl+shift+t) to open type script classes/interfaces/..

Haven't found that enhancement in this list, and i don't think it is supported right now?

derekcicerone-zz commented 10 years ago

Yup, same here - I'm not sure if language services supports it though unfortunately.

hpoul commented 10 years ago

hmm.. doesn't look too good, i've looked at how TypEcs implements it's Open Type dialog, it seems they are indexing all typescript files themselves: https://bitbucket.org/axmor/typecs/src/a1b119c47200b1178e74caae361e720619745bad/src/com.axmor.eclipse.typescript.core/src/com/axmor/eclipse/typescript/core/index/TypeScriptIndexer.java?at=default so i assume there is no easy way built into the language services to get a list of all available types in a directory or something :-/

(actually I somehow also expected eclipse to provide more tools to implement a "open type" dialog.. but it seems they had to use lucene to index it themselves, and the dialog also seems pretty hand made.. https://bitbucket.org/axmor/typecs/src/a1b119c47200b1178e74caae361e720619745bad/src/com.axmor.eclipse.typescript.editor/src/com/axmor/eclipse/typescript/editor/handlers/OpenTypeHandler.java?at=default )

punya commented 10 years ago

:+1: