Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 358311 - Service API cleanup
Summary: Service API cleanup
Status: RESOLVED FIXED
Alias: None
Product: Orion
Classification: ECD
Component: Client (show other bugs)
Version: 0.3   Edit
Hardware: PC All
: P3 normal (vote)
Target Milestone: 0.3 RC1   Edit
Assignee: Mark Macdonald CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-09-20 17:54 EDT by Mark Macdonald CLA
Modified: 2011-10-11 15:40 EDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Mark Macdonald CLA 2011-09-20 17:54:09 EDT
The APIs of the editor-related services [1] should be cleaned up.
Should use consistent parameter names across services (eg. reason vs. label, and column vs. character) but don't break compatibility with service implementations that were written for 0.2.http://wiki.eclipse.org/Orion/Documentation/Developer_Guide/Plugging_into_the_editor


[1] http://wiki.eclipse.org/Orion/Documentation/Developer_Guide/Plugging_into_the_editor
Comment 1 Mark Macdonald CLA 2011-09-30 12:38:59 EDT
http://git.eclipse.org/c/orion/org.eclipse.orion.client.git/commit/?id=108f4c457a6c05a3f5bb534bbb09355ff7510e07

Changed format of "problems" array returned by orion.edit.validator services. 
- Renamed reason to description
- Renamed character to start

The old names are still tolerated, but jslintPlugin and docs have been updated to refer to the new names.