-
Notifications
You must be signed in to change notification settings - Fork 52
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How do I install a new JSON file for my API into an already installed module? #428
Comments
I'm not sur to understand what you wish, but perhaps https://github.com/angelozerr/tern.java/wiki/Tern-IDE-Extension#ternmoduleinstalls is what you are searching. |
I already have created a module for tern to consume. The module provides the API definition in JSON format. The module is currently a .zip folder with the name tern-mystuff. It has a JSON file with the API called mystuff.json. Now, during the installation, the module gets installed. What I want to do is update the API provided by a new JSON file when an updated API becomes available (basically, I want to dynamically update the API provided by the JSON file) by replacing the old mystuff.json with a new version of mystuff.json. |
I don't understand what you expect about tern.java? Which feature do you need? An new extension point? Perhaps it's the same issue than #323 ? |
Ok, so the issue 323 is somewhat different. Basically what I want to ask: is there any way to update the JSON type definition once the tern plugin is already loaded? How to re-load it? I believe this functionality is not available (from my understanding), if it is, then kindly point me to the right direction. |
So, in my environment, a module which is a ZIP file is already loaded. Now, later on, I get an updated JSON with new API information from somewhere. How do I install the new JSON to replace the old one in the module that was already loaded?
What public API calls can I use?
The text was updated successfully, but these errors were encountered: