Giter Club home page Giter Club logo

Comments (10)

paulvi avatar paulvi commented on July 28, 2024

What is this issue about?

from tern.java.

angelozerr avatar angelozerr commented on July 28, 2024

My idea was to parse JS files with tern on background side with a monitor instead of parsing it when completion, hyperlink, etc are done.

from tern.java.

angelozerr avatar angelozerr commented on July 28, 2024

Done with async tern completion https://github.com/angelozerr/tern.java/wiki/New-and-Noteworthy-0.9.0#async-tern-completion

from tern.java.

paulvi avatar paulvi commented on July 28, 2024

Is it possible just to add more options into list when they arrive?

or make first line selection as "Retry" command

from tern.java.

angelozerr avatar angelozerr commented on July 28, 2024

Is it possible just to add more options into list when they arrive?

Asyn tern completion is done every time. When tern server starts quicly (not a lot of JS files), the completion shows the result directly otherwise it shows in the completion that tern server is working.

I'm not sure that it was your question?

from tern.java.

paulvi avatar paulvi commented on July 28, 2024

I just seen implementations where suggestion list content grows (user sees more options as they are added). So user does not need to press anything, just wait. When the full option list is shown above line "Processing..." disappears.

It is just other user experience.

from tern.java.

piotrtomiak avatar piotrtomiak commented on July 28, 2024

Was it eclipse? If so, looking at how it was done would be very interesting and I guess we could apply similar solution to tern.java.

from tern.java.

paulvi avatar paulvi commented on July 28, 2024

That IntelliJ-based Android Studio giving suggestions inside Java class.
Java inside IntelliJ IDEA CE is open source, but I won't think it is worth looking at.

BTW with Android API it is quite common to have data in a List that is displayed in Adapter, then underlying data is updated and UI elements are notified to be updated. Isn't it so with Eclipse APIs?

from tern.java.

angelozerr avatar angelozerr commented on July 28, 2024

Was it eclipse? If so, looking at how it was done would be very interesting and I guess we could apply similar solution to tern.java.

Today it seems that "asynchronous ContentAssist" is not possible with Eclipse. I have created an issue at https://bugs.eclipse.org/bugs/show_bug.cgi?id=463210

from tern.java.

paulvi avatar paulvi commented on July 28, 2024

yep, closed as duplicate of old Bug 251156 - [content assist] Asynchronous code completion

from tern.java.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.