1. Theme
Describes how to format and edit various code files using TextMate in Pycharm
2. Preparatory work
(1) The bundled software has been downloaded, such as GitHub or subversion
(2) Pycharm version 2.7 or higher
(3)textmate bundles Support plugin is working properly. Open the Settings dialog box, under the IDE Settings node, click the Plugins page, tick the corresponding plug-in check box:
3. Import bundled Software collection
Suppose you want to use the highlight syntax to edit a shell script file, you need to download the shell script TextMate Bundle First, and then import it.
On the main toolbar, click the Settings button, click TextMate Bundles under the IDE Settings node, click the Green plus sign in the textmate Bundles area to locate the path to load:
Click the OK button, the Shell script appears in the binding list and the local path is visible:
The default theme scenario is Mac Classic, and you can click the corresponding form to make changes:
4. Add File type
Most textmate bindings themselves have added a lot of file extensions, and of course we can continue to add them.
In the Settings dialog box, click File Types, in the recognized file Types area of the page, set to the Files supported via textmate Bundles option, under the In Registered Patterns , all file types supported by the current binding are displayed. 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 is a test script:
The most complete pycharm tutorial (max)--pycharm extension features bundled plug-ins textmate