tern.java icon indicating copy to clipboard operation
tern.java copied to clipboard

Ctrl+O

Open angelozerr opened this issue 9 years ago • 3 comments

It should be cool if tern.java could provide Ctrl+O like JSDT.

For that JSDT should gives the capability to override Ctrl+O.

angelozerr avatar Sep 25 '15 12:09 angelozerr

I believe a better approach would be that JSDT allows Tern to contribute to Ctrl+O by relyin the Common Navigator Framework to compute what to show. Ref: https://bugs.eclipse.org/bugs/show_bug.cgi?id=479132

I'm working on making Tern.java rely on the suggested JSDT patch to contribute. I'll investigate whether this approach also allow to contribute to Ctrl+O

mickaelistria avatar Oct 08 '15 08:10 mickaelistria

It seems that Ctrl+O and JSDT Outline are filled with the same tree content. Is Ctrl+O uses JSDT Outline? If it that id JSDT provides the capability to override JSDT Outline with Tern Outline https://github.com/angelozerr/tern.java/wiki/Tern-Outline-support, we need do nothing.

angelozerr avatar Oct 08 '15 08:10 angelozerr

The quickoutline needs a similar change as Outline in JSDT to be extensible.

mickaelistria avatar Oct 08 '15 08:10 mickaelistria