Chakroun-Anas / turbo-console-log

591 stars 141 forks source link

Keep used whitespace instead of always inserting space #158

Open MarkusDeutschmann opened 2 years ago

MarkusDeutschmann commented 2 years ago

Changfe the functionality to just keep the used whitespace in the selected line (the line before the insert). With that in case tabs are used indentation the will be used insead of inserting always spaces and break the indentation character. As I see it may fix the issue #87. Also updated dependencies (minor) and had to change the first 2 unit test as vscode was not loading fast enougth (needed to add a short delay for first test) and needed to adjust the position of the selection for both.