Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 481606 - Add notifications to file client (file modified, created, deleted)
Summary: Add notifications to file client (file modified, created, deleted)
Status: CLOSED DUPLICATE of bug 488582
Alias: None
Product: Orion
Classification: ECD
Component: Client (show other bugs)
Version: 11.0   Edit
Hardware: PC Windows 7
: P2 normal (vote)
Target Milestone: ---   Edit
Assignee: Silenio Quarti CLA
QA Contact:
URL:
Whiteboard:
Keywords:
: 481605 (view as bug list)
Depends on:
Blocks:
 
Reported: 2015-11-06 10:17 EST by Silenio Quarti CLA
Modified: 2016-02-29 09:43 EST (History)
4 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Silenio Quarti CLA 2015-11-06 10:17:28 EST
There are at least several cases where this support is needed:

- detected modifications in the .tern-project file
- detected and update tern when JS files are changed outside of the editor (search/replace UI)
- update the navigator/editor

Currently, the host page uses an event dispatcher in fileCommands.js to update the navigator/editor when there are FS changes.  This only catches the cases when those commands are used.

Another complication is that the JS plugin loads it's own version of the file client so even in the same page we cannot use a simple event dispatcher.

We should also consider changes across multiple pages and browsers. If we want to support that we will require support in the server.
Comment 1 Silenio Quarti CLA 2015-11-06 10:26:35 EST
*** Bug 481605 has been marked as a duplicate of this bug. ***
Comment 2 Silenio Quarti CLA 2016-02-29 09:43:10 EST

*** This bug has been marked as a duplicate of bug 488582 ***