This is too complex which involves in doing many steps. Here is the simplest solution: Right click on the left side of the code editor, select 'Show Line Numbers'