Skip to content

Unpacking Arguments not detected on new lines #132

Closed

Description

@gtalarico
  • Editor name and version: VS Code 1.22.2
  • Platform: MacOs 10.13
  • Color scheme: Monokai w/ Custom
  • MagicPython version: The one shipped with VS Code 1.22.2. Commit:
    "b453f26"

Actual behavior

keyword.operator.unpacking.arguments.python is not detected on a new line

Expected behavior

Should be detected in new lines

Steps to reproduce:

some_long_line_________________________________________ = foo('a', 'b', *items, **kwargs)
# In this case, *items is detected properly

some_long_line_________________________________________ = foo('a', 'b'
                                                              *items,
                                                              **kwargs)
# here, both arg and kwargs are not detected properkly

Screenshot

image

Scope - Correct

image

Scope - Incorrect

image

Activity

  1. 1st1 commented on Apr 27, 2018

    @1st1
    Member

    You're missing a comma in your second example.

  2. 1st1 commented on Apr 27, 2018

    @1st1
    Member

    A comma before *items

  3. gtalarico commented on Apr 27, 2018

    @gtalarico
    Author

    You are right I missed a comma on the example but that was just a terrible coincidence :)
    The issue is still present

    image

  4. 1st1 commented on Apr 27, 2018

    @1st1
    Member
  5. 1st1 commented on Oct 4, 2018

    @1st1
    Member

    The fixed version will be released soon!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions