question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Add path of function in pytest format to the clipboard from breadcrumb

See original GitHub issue
  • We currently have Copy Relative Path as a menu option when you right click on a file.
  • And we have breadcrumbs

i would love it if i could copy a function from within the breadcrumb and have it be in the pytest format: path/to/module.py::Class::function

image

It would be a nice, nice-to-have.

Issue Analytics

  • State:open
  • Created a year ago
  • Reactions:16
  • Comments:5 (4 by maintainers)

github_iconTop GitHub Comments

2reactions
brettcannoncommented, Oct 24, 2022

@kingbuzzman chances are we are not going to start working on this in the next 60 days, so it doesn’t make a huge difference. But I can go ahead and mark this as accepted for consideration.

Thank you to everyone who upvoted this issue! Since the community showed interest in this feature request we will leave this issue open as something to consider implementing at some point in the future.

We do encourage people to continue 👍 the first/opening comment as it helps us prioritize our work based on what the community seems to want the most.

0reactions
kingbuzzmancommented, Oct 24, 2022

@karthiknadig What happens if it’s already over 7 up votes? Do we need to wait 60 days nonetheless?

Read more comments on GitHub >

github_iconTop Results From Across the Web

Usage and Invocations — pytest documentation
This will run tests which contain names that match the given string expression (case-insensitive), which can include Python operators that use filenames, class ......
Read more >
Changing standard (Python) test discovery - Pytest
Default behavior of pytest is to ignore duplicate paths specified from the command line. Example: ; To collect duplicate tests, use the --keep-duplicates...
Read more >
Basic patterns and examples — pytest documentation
For this to work we need to add a command line option and provide the cmdopt through a fixture function: # content of...
Read more >
How to invoke pytest — pytest documentation
Another example specifying a test method in the command line: ... directly, except that calling via python will also add the current directory...
Read more >
Copy path (bread crumb) to clipboard : IDEA-137271 - YouTrack
It would be very useful to copy the path (bread crumb) to the JSON clipboard (maybe Yaml, XML). In JSON, separate each element...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found