The best fix would probably be to finetune the models so they can fix indentation, but a simple workaround would be to start generating a few characters earlier, especially if the previous characters were all tabs or spaces.I would like to have a setting to start predicting n spaces ...
2 spaces –for indentation Single quotes for strings –except to avoid escaping No unused variables –this one catches tons of bugs! No semicolons –It's fine. Really! More details Space after keywords if (condition) { ... } Space after function name function name (arg) { ... } ...
2 spaces– for indentation Single quotes for strings– except to avoid escaping No unused variables– this one catchestonsof bugs! No semicolons–It'sfine.Really! Never start a line with(,[, or` This is theonlygotcha with omitting semicolons –automatically checked for you!
2 spaces– for indentation Single quotes for strings– except to avoid escaping No unused variables– this one catchestonsof bugs! No semicolons–It'sfine.Really! Never start a line with(,[, or` This is theonlygotcha with omitting semicolons –automatically checked for you!
2 spaces –for indentation Single quotes for strings –except to avoid escaping No unused variables –this one catches tons of bugs! No semicolons –It's fine. Really! Never start a line with (, [, or ` This is the only gotcha with omitting semicolons – automatically checked for ...
2 spaces– for indentation Single quotes for strings– except to avoid escaping No unused variables– this one catchestonsof bugs! No semicolons–It'sfine.Really! Never start a line with(,[, or` This is theonlygotcha with omitting semicolons –automatically checked for you!
2 spaces– for indentation Single quotes for strings– except to avoid escaping No unused variables– this one catchestonsof bugs! No semicolons–It'sfine.Really! Never start a line with(,[, or` This is theonlygotcha with omitting semicolons –automatically checked for you!
2 spaces –for indentation Single quotes for strings –except to avoid escaping No unused variables –this one catches tons of bugs! No semicolons –It's fine. Really! More details Space after keywords if (condition) { ... } Space after function name function name (arg) { ... } ...
2 spaces –for indentation Single quotes for strings –except to avoid escaping No unused variables –this one catches tons of bugs! No semicolons –It's fine. Really! Never start a line with (, [, or ` This is the only gotcha with omitting semicolons – automatically checked for ...
2 spaces –for indentation Single quotes for strings –except to avoid escaping No unused variables –this one catches tons of bugs! No semicolons –It's fine. Really! More details Space after keywords if (condition) { ... } Space after function name function name (arg) { ... } ...