Idex 983 Use codemirror as default editor

Depends on IDEX-982 being merged.
I updated the pull request to use a custom annotation instead of @Named


2014-08-05 11:17 GMT+02:00 Vitalii Parfonov <notifications@github.com>:

> In
> codenvy-ide-jseditor/src/main/java/com/codenvy/ide/jseditor/client/defaulteditor/DefaultEditorProvider.java:
>
> > +import com.codenvy.ide.jseditor.client.editortype.EditorTypeRegistry;
> > +import com.codenvy.ide.util.loging.Log;
> > +import com.google.inject.Inject;
> > +
> > +
> > +public class DefaultEditorProvider implements EditorProvider {
> > +
> > +    private final EditorTypeMapping  editorTypeMapping;
> > +    private final EditorTypeRegistry editorTypeRegistry;
> > +    private final FileType           plainTextFileType;
> > +    private final EditorType         defaultEditorType;
> > +
> > +    @Inject
> > +    public DefaultEditorProvider(final EditorTypeMapping editorTypeMapping,
> > +                                 final EditorTypeRegistry editorTypeRegistry,
> > +                                 final @Named(JsEditorExtension.PLAIN_TEXT_FILETYPE_INJECT_NAME) FileType plainTextFileType,
>
> Custom annotation will be better
>
> —
> Reply to this email directly or view it on GitHub
> <https://github.com/codenvy/ide/pull/153/files#r15801907>.
>