Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Multiline tuples don't fold #2779

Closed
MJKirk opened this issue May 6, 2022 · 1 comment
Closed

Multiline tuples don't fold #2779

MJKirk opened this issue May 6, 2022 · 1 comment
Assignees
Labels
bug Something isn't working fixed in next version (main) A fix has been implemented and will appear in an upcoming version

Comments

@MJKirk
Copy link

MJKirk commented May 6, 2022

Environment data

  • Language Server version: 2022.4.3
  • OS and version: linux x64
  • Python version (and distribution if applicable, e.g. Anaconda): 3.8.10
  • python.analysis.indexing: null
  • python.analysis.typeCheckingMode: off

Expected behaviour

Multiline tuples will be fold-able, just like multiline lists.

Actual behaviour

They are not

Code Snippet / Additional information

long_list = [
    1,
    2,
    3,
    4,
    5,
]

long_tuple = (
    1,
    2,
    3,
    4,
    5,
)

should be foldable to

long_list = [...

long_tuple = (...

but only the list can be folded.

@github-actions github-actions bot added the triage label May 6, 2022
@debonte debonte self-assigned this May 6, 2022
@judej judej added the bug Something isn't working label May 9, 2022
@github-actions github-actions bot removed the triage label May 9, 2022
@debonte debonte added the fixed in next version (main) A fix has been implemented and will appear in an upcoming version label May 24, 2022
@debonte
Copy link
Contributor

debonte commented May 25, 2022

This issue has been fixed in version 2022.5.3, which we've just released. You can find the changelog here: CHANGELOG.md

@debonte debonte closed this as completed May 25, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working fixed in next version (main) A fix has been implemented and will appear in an upcoming version
Projects
None yet
Development

No branches or pull requests

3 participants