add basic support for editing scala files