hiha2828
hiha2828

Reputation: 153

Vs code auto indenting not working for python

I’m new to visual studio code, just switched from sublime text 3. I was writing a simple if statement and when I write else: like that, on ST3 it would move the else to under if but this doesn’t happen with vscode. I’ve tried everything and looked everywhere but doesn’t seem to work. Any ideas of why? Or does vscode really lack this basic fundamental feature?

Upvotes: 2

Views: 3262

Answers (1)

Brett Cannon
Brett Cannon

Reputation: 16020

This is a known issue that requires a non-trivial implementation of a custom indentation provider.

Upvotes: 3

Related Questions