How can I modify the code in taxonomy feature to include terms I have created a feature to export my taxonomy vocabulary.  How can I programatically modify it to add the terms as well ?
Features can't export (and import) terms without "extension".
You could use UUID Features:


  The UUID Features Integration module provides a mechanism for
  exporting content (nodes, taxonomy, fields) into a features module.