Showing validation error with underline in editor
Added preferences initializer.