eclipse-typescript icon indicating copy to clipboard operation
eclipse-typescript copied to clipboard

Feature Request: Open Type

Open hpoul opened this issue 11 years ago • 3 comments

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?

hpoul avatar Jun 04 '14 08:06 hpoul

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

derekcicerone-zz avatar Jun 04 '14 16:06 derekcicerone-zz

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 )

hpoul avatar Jun 04 '14 21:06 hpoul

:+1:

punya avatar Oct 02 '14 16:10 punya