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 for Python fails when using decorators #158529

Closed
rrmistry opened this issue Aug 18, 2022 · 3 comments
Closed

Sticky scroll for Python fails when using decorators #158529

rrmistry opened this issue Aug 18, 2022 · 3 comments
Labels
*duplicate Issue identified as a duplicate of another issue(s)

Comments

@rrmistry
Copy link

Does this issue occur when all extensions are disabled?:
Yes (stickyScroll seems to stop working, at least for Python, when extensions are disabled)

Version: 1.70.2 (system setup)
Commit: e4503b30fc78200f846c62cf8091b76ff5547662
Date: 2022-08-16T05:35:13.448Z
Electron: 18.3.5
Chromium: 100.0.4896.160
Node.js: 16.13.2
V8: 10.0.139.17-electron.0
OS: Windows_NT x64 10.0.22622

Steps to Reproduce:

  1. Open https://vscode.dev/github/righteouslabs/pandas-etl/pandas_etl/etl.py
  2. Navigate to pandas_etl/etl.py
  3. Scroll past line 100

When using decorators, the code stickyScroll feature grabs the decorator but not the object (i.e. class or function)

E.g.

@classtrace                 # <<<<<<<<<
class Pipeline(object):
    """
    ETL Pipeline class
    """
Expected Actual
@gjsjohnmurray
Copy link
Contributor

/duplicate and already fixed in Insiders, ready for next month's general release of 1.71.

Please search existing issues before opening new ones.

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

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!

@VSCodeTriageBot VSCodeTriageBot closed this as not planned Won't fix, can't repro, duplicate, stale Aug 18, 2022
@rrmistry
Copy link
Author

linking to duplicate issues:
#157180
#157200

@github-actions github-actions bot locked and limited conversation to collaborators Oct 2, 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

3 participants