pythonvisual-studio-2017pycharmexternal-tools

PyCharm equivalent of Visual Studio $(ItemPath) for External Tools


Visual Studio 2017 has broken me, and I am defecting to PyCharm.

However we have a number of very useful external tools set up. One of which looks like this:

Title: PEP8 Current Module
Command: (some path to Python27\python.exe
Arguments: $(SolutionDir)\dev_tools\pep8.py $(ItemPath)
Initial Directory : $(SolutionDir)

What can I put in to the Arguments in PyCharm Create Tool dialog to achieve the same thing?


Solution

  • The PyCharm equivalent to $(ItemPath) is the FilePath macro.