title: Extending Existing Eclipse Editors
body: <p>Is this possible?</p>
  
  <p><strong>Here is the problem I am trying to solve:</strong></p>
  
  <p>I have 3 configuration files one .ini, one .config, and one .json</p>
  
  <p>Then I have a bunch of SQL files that have sort-of a customized version of sql in them.</p>
  
  <p>I need to do some syntax validation on these files, and I also added syntax highlighting.  In the performSave function I made a call to the validator.</p>
  
  <p>It would be nice to have this update dynamically as you typed, but I couldn't figure that part out just yet.</p>
  
  <p>My problem is this: most of these config files and sql files have our own special brand of syntax, but the JSON file is just a regular old json file so it seems silly to create my own editor and re implement syntax coloring for something so widely in use.  I was hoping that I could just extend a current existing editor already in eclipse then just add my hooks where I need them.</p>
  
  <p><strong>Heres what I have done so far:</strong></p>
  
  <p>I created some Eclipse plugins for work ing with these files.  Most notably I have created a .sql editor, a .config editor, and a .ini editor.  So for the most part I know how to create an editor and do my syntax coloring and problem marking etc.  I would just like to ride the coat tails of someone who has already created a JSON editor so that all I need to add is my validation calls.</p>
  
  <p>If you have any insight into extending an existing editor that would be great.</p>
  
  <p>Also any help with where to put my validator call to mark up files while they are being created except on a save would be awesome too.</p>
  
  <p>-Best,
  Jeff</p>