How to set up filter for isort as external tool in PyCharm ??

Submitted 4 years, 4 months ago
Ticket #320
Views 747
Language/Framework Python
Priority Low
Status Closed

unable to set up filter so that file paths are links.

Submitted on Dec 08, 20
add a comment

1 Answer

Verified

tl;dr use $FILE_PATH$(?<=\.py)( |$) as filter.

So (^|[\W])(?<file>(?:\p{Alpha}\:|/)[0-9 a-z_A-Z\-\\./]+)(?<=\.py) is regexp used for $FILE_PATH

you need to modify isort output format to something with clear filepath boundaries, or use something more fancy in regexp like positive look behind, which would make your filter look like this: $FILE_PATH$(?<=\.py)( |$)

Submitted 4 years, 4 months ago


Latest Blogs