             Utils.createFile([assetDirectoryPath, CodeAnnotations.ASSET_NAMES_FILE], "{}")
             @assetDirectories.push(assetDirectory)
             @assetManagers[assetDirectoryPath] = new AssetManager(assetDirectoryPath)
-            @_initEditor(editor)
         return assetDirectory
 
     # get the name of the codeAnnotation at the given point

        editor.setCursorBufferPosition([point.row, line.length - 1])

        editorData = @_getEditorData(editor)

        line = editor.lineTextForBufferRow(point.row)
        # correct range to end of line

        assetDirectory = @_getAssetDirectoryForEditor(editor)
        if not assetDirectory?
            assetDirectory = @_initAssetDirectory(editor)
            @_initEditor(editor, editor.getPath())

        dialog = new CodeAnnotationNameDialog()
        dialog.attach().onSubmit (name) =>
