Comments (10)
What is this issue about?
from tern.java.
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.
Done with async tern completion https://github.com/angelozerr/tern.java/wiki/New-and-Noteworthy-0.9.0#async-tern-completion
from tern.java.
Is it possible just to add more options into list when they arrive?
or make first line selection as "Retry" command
from tern.java.
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.
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.
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.
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.
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.
yep, closed as duplicate of old Bug 251156 - [content assist] Asynchronous code completion
from tern.java.
Related Issues (20)
- java.lang.RuntimeException: java.lang.NullPointerException HOT 6
- Errors when selecting some JS modules in project properties
- No type hinting
- Trouble installing Tern 1.2.0 and 1.3.0 Snapshot on Eclipse Luna HOT 1
- Tern IDE not working with Spring's STS HOT 4
- Unable to install with eclipse neon.3 HOT 6
- Feature request: async/await support HOT 5
- how to remove the function reference of the content assist?
- Upgrade to tern 0.21
- The console does not appear in the Tern project property, HOT 1
- NullPointerException TernOutlineContentProvider.java:182 HOT 3
- How about embed the latest version of node.js?
- latest ESLint support. HOT 3
- Support for navigator.getUserMedia HOT 1
- “Error while launching client file ,Cannot find node install path node-native” wrt protractor in eclipse
- Error why installing tern eclipse plugin in eclipse photon
- nodeclipse auto-complete not working on installed packages (aws-sdk) // Tern.java?
- Can't install Tern Eclipse IDE on Eclipse 4.10
- add react module HOT 1
- tern of eclipse not dose work that calculating completion proposals… HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from tern.java.