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

Sticky Scroll: Python function decerators stick instead of the function declaration #157288

Closed
faresbakhit opened this issue Aug 5, 2022 · 3 comments
Assignees
Labels
*duplicate Issue identified as a duplicate of another issue(s)

Comments

@faresbakhit
Copy link

Testing #156175

code_sticky_scroll_python_decorator_issue

I'm not sure if this a problem on vscode's side or pylance's side so here's also the extensions versions:

  • VS Code Version: 1.70.0
  • Python Extension Version: v2022.12.0
  • Pylance Extension Version: v2022.8.10
@dfarley1
Copy link

dfarley1 commented Aug 5, 2022

I'm seeing a potentially related issue in C/C++ code where the function declaration is split across multiple lines. Given the following code snippet:

static void
foo( ... a long list
     ... of args)
{
    do_something();
}

I would expect to see foo( ... as the stickied label but instead I see static void. I'm not sure how/if multiple argument lines would be dealt with; probably just ellipses them away for now?

@IllusionMH
Copy link
Contributor

/duplicate of #157180

@vscodenpa vscodenpa added the *duplicate Issue identified as a duplicate of another issue(s) label Aug 5, 2022
@vscodenpa
Copy link

Thanks for creating this issue! We figured it's covering the same as another one we already have. Thus, we closed this one as a duplicate. You can search for similar existing issues. See also our issue reporting guidelines.

Happy Coding!

@github-actions github-actions bot locked and limited conversation to collaborators Sep 19, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
*duplicate Issue identified as a duplicate of another issue(s)
Projects
None yet
Development

No branches or pull requests

5 participants