code: function(editor, openWindowFn) {
    this.editor = editor;
    this.openWindowFn = openWindowFn;
    this.supportedEditors = this._getSupportedEditors();
    if (this.editor && !this._isSupportedEditor(this.editor)) {
      throw new Error(this.editor+' was not found in list of supported editors. Please check your global settings to ensure the self.editor path for '+this.editor+' is configured correctly.');
    }
  }
docs: Service to handle interaction with the self.editor (sublime, atom, etc.)
  @param {String} self.editor - name of the self.editor