Skip to content

Needs a space after : before the type to activate #3

Description

@judfs

The extension does not work unless there is a space after the : that separates the variable name and the type name.

html = str
html_doc:html = """
<!DOCTYPE html>
"""
html_doc: html = """
<!DOCTYPE html>
"""

image

I was ready to assume the extension simply didn't work and was about to uninstall it, after already trying restarting vscode and opening and closing the file, but I happened to hit my format shortcut just before giving up on it.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions