Highlighting left bar and code refactoring