Workflow: how to avoid dummy_pt_objects.py in IDE search results?
I always click the first result, which is often a dummy. Has anyone found a pycharm workaround?Some way to specify paths that search should ignore?image1392×292 43.4 KB
2020-10-07T21:33:40Z
Great question, Sam!right click on dummy_objects.py and click “mark as plain text”h/tphpstorm docs(works in pycharm).
2020-11-15T20:04:43Z
When working in pycharm with transformers as an External Library, I couldn’t get this to work (i.e. when I want to read the source code for a specific method from an external library managed by pip or conda).But the following fixed it:(pycharm) preferences >  file types > ignore files and folders > add “;dummy_*.py;”
2021-01-15T18:25:34Z
Has anyone gotten this working in vscode? Maybe@julien-c?
2021-01-15T18:43:59Z
I haven’t hit this issue but maybe just b/c my workflow does not lead me into it. Not sure 🤷
2021-01-19T21:08:02Z
Lol, I would love for VSCode to start trying to show me the origin of classes/functions.
2021-01-26T06:28:40Z
Cmd+Click or Find all references work reasonably well for me, isn’t that the case for you?
2021-01-26T13:02:30Z
I’ve mostly tried Go To Definition, which works erratically so stopped digging too much. Will try again when I’m at my machine with Find all references (in the remote extension, any of those commands takes a long time for no result).
2021-01-26T13:26:39Z
Also if I remember correctly there are two distinct backends for the python extension in vscode. One is experimental and doesn’t work well, while the mature one is working ok (but has native dependencies or is more ancient).
2021-02-26T20:46:19Z
For me, the setting is:Settings > Editor > File Types > Ignore Files and Folders > File name patterns [click ‘+’] > dummy_*.py