     title = "#{deprecation.getOriginName()} is deprecated."
     stacktrace = stack.map(({functionName, location}) -> "#{functionName} (#{location})").join("\n")
     body = "#{deprecation.getMessage()}\n```\n#{stacktrace}\n```"
+    "#{repoUrl}/issues/new?title=#{encodeURI(title)}&body=#{encodeURI(body)}"
+
+  createSelectorIssueUrl: (packageName, deprecation, sourcePath) ->
+    return unless repo = atom.packages.getActivePackage(packageName)?.metadata?.repository
+    repoUrl = repo.url ? repo
+    repoUrl = repoUrl.replace(/\.git$/, '')
+
+    title = deprecation.message
+    body = "In #{sourcePath}: #{deprecation.message}"
     "#{repoUrl}/issues/new?title=#{encodeURI(title)}&body=#{encodeURI(body)}"
 
   updateCalls: ->

  updateSelectors: ->
    @refreshSelectorsButton.hide()
    @selectorList.empty()

    for packageName, deprecationsByFile of getSelectorDeprecations()
      @selectorList.append $$ ->

    @on 'click', '.deprecation-info', ->
      $(this).parent().toggleClass('collapsed')

    @on 'click', '.stack-line-location, .source-url', ->
      pathToOpen = @href.replace('file://', '')
      pathToOpen = pathToOpen.replace(/^\//, '') if process.platform is 'win32'
      atom.open(pathsToOpen: [pathToOpen])
