           default: true
           order: 5
   subscriptions: null
+  counter: 0
 
   activate: (state) ->
     # Events subscribed to in atom's system can be easily cleaned up with a CompositeDisposable


    targetPane = atom.config.get('edit-in-new-tab.targetPane')
    defaultTabName = atom.config.get('edit-in-new-tab.defaultTabName')

    if not defaultTabName
      newTabname = null
    else
      newTabName = defaultTabName.replaceAll("%origin%", atom.workspace.getActiveTextEditor().getFileName().toString())

    atom.workspace.open(newTabName, { split: targetPane })
      .then (newTab) ->

      order: 4
    defaultTabName:
      title: "Default Tab-name"
      description: "Define a default scheme for new tabs. Available placeholders: `%file%` for file-name, `%id%` for editor ID, and `%count%` to count tabs"
      type: "string"
      default: ""
      order: 5
