1. Theme
Describes how to use TextMate to format and edit various code files in Pycharm
2. Preparation work
(1) has downloaded the relevant bundled software, such as GitHub or subversion
(2) Pycharm version is 2.7 or higher
(3)textmate bundles Support plug-in is working properly. Open the Settings dialog box, under the IDE Settings node, click the Plugins page and check the corresponding plugin checkbox:
3, import bundle software Collection
Suppose you want to use the highlight syntax to edit the shell script file, you need to download the shell script TextMate Bundle First, and then import.
Click the Settings button on the main toolbar, click TextMate Bundles under the IDE Settings node, click the Green plus sign in the textmate bundles area to locate the path to be loaded:
Click the OK button, and the Shell script appears in the binding list and the local path is visible:
The default theme scheme is Mac Classic, and you can click the corresponding form to make changes:
4. Increase file type
Most textmate bindings themselves have added a lot of file extensions, and of course we can continue to add it.
In the Settings dialog box click File Types, in the recognized file Types area of the page, scheduled to the Files supported via textmate bundles option, at the bottom of the Registered Patterns , displays all the file types supported by the current binding. Click the green plus sign to perform the add operation in the Add Wildcard dialog box.
Click the OK button to close the Settings dialog box.
5, testing
Here's a test script: