Originally posted by solzard March 8, 2021
I always use PyCharm, Jetbrain's Python IDE, and try to make my newly-installed VSCode similar to that one.
VSCode is much lighter and faster, but one thing VSCode annoys me is it doesn't autocomplete : in the end of lines.
When writing def or for statement, PyCharm autocomplete : and moves to the indented next line using a shortcut called complete current statement.
VSCode lacks :, so I have to go back and type it manually.
As I've googled so far, it seems there's no config or extension for this.
Is such a feature supported in VSCode?
# ←: current cursor before using the shortcut
def main(←)
# PyCharm
def main():
[move to here]
# VSCode
def main()
[move to here & lack a colon]
```</div>
Discussed in microsoft/vscode-python#15606
Originally posted by solzard March 8, 2021
I always use PyCharm, Jetbrain's Python IDE, and try to make my newly-installed VSCode similar to that one.
VSCode is much lighter and faster, but one thing VSCode annoys me is it doesn't autocomplete
:in the end of lines.When writing
deforforstatement, PyCharm autocomplete:and moves to the indented next line using a shortcut calledcomplete current statement.VSCode lacks
:, so I have to go back and type it manually.As I've googled so far, it seems there's no config or extension for this.
Is such a feature supported in VSCode?