Most complete Pycharm tutorial (42) -- Emacs external editor for Pycharm Extension
1. Subject
Describes how to define Emacs as a Pycharm external editor.
2. Preparations
(1) The Pycharm version is 2.7 or higher.
(2) download downloadedEmacs and install it correctly
3. Configure Emacs
Open the settings dialog box. Under the IDE settings node, open the External tools page to confirm the installation of Emacs.
First, on the External tools page, click the green plus sign to open the Create/Edit tool dialog box:
Do the following:
(1) enter the Tool Name (Emacs) and brief description (open Emacs)
(2) Specify the menu bar tool group that appears. Put it in the Editors menu group or in the main menu bar.
(3) deselect Open console check
(4) define the location of the Emacs binary file, which can be manually input or viewed and selected
(5) In the Parameters column, enter the default file path $ FilePath $
(6) specify a working directory (for example, $ ProjectFileDir $)
(7) Click OK
The setting takes effect.
4. Open the current file in Emacs
Click the Emacs command in the Editors node in the Tools menu bar:
Open a file in the PyCharm editor dialog box, select Editors> Emacs from the Tools menu:
5. Specify the shortcut key
Open the Settings dialog box, find the External Tools node in the drop-down list on the Keymap page, expand Editors, right-click the Emacs node, and select Add keyboard shortcut cut:
Open the Enter keyboard shortcut cut dialog box. Enter Ctrl + Alt + Shift + E combination here:
No conflict prompt. Click OK to complete the shortcut key settings: