Such as how to use Emacs external editor with Pycharm extension function
This article introduces the relevant knowledge of "how to use the Emacs external editor of Pycharm extension function". Many people will encounter such a dilemma in the operation of actual cases, so let the editor lead you to learn how to deal with these situations. I hope you can read it carefully and be able to achieve something!
1. Theme
Describes how to define Emacs as an Pycharm external editor.
2. Preparatory work
(1) Pycharm version 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, and confirm the installation of Emacs.
First, on the External tools page, click the green plus sign to open the Create/Edit tool dialog box 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 here in the Editors menu group, or you can put it in the main menu bar
(3) uncheck Open console
(4) define the location of Emacs binaries, which can be entered manually or browsed.
(5) enter the default open file path $FilePath$ in the Parameters field.
(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 the open a file in the PyCharm editor dialog box, and from the Tools menu, select Editors → Emacs:
5. Specify keyboard shortcuts
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:
Open the Enter keyboard shortcut dialog box, where you enter the Ctrl+Alt+Shift+E combination:
There is no prompt conflict, click the OK button, and the shortcut key setting is complete:
This is the end of the content of "how to use the Emacs external Editor of Pycharm extensions". Thank you for reading. If you want to know more about the industry, you can follow the website, the editor will output more high-quality practical articles for you!