Do not select files that are already selected.
Move editor configuration based on file extension into service.

Service disables autocomplete, ghosting when selected file changes.