GEdit/Python execution plugin?

后端 未结 8 1699
一向
一向 2021-02-03 13:41

I\'m just starting out learning python with GEdit plus various plugins as my IDE.

Visual Studio/F# has a feature which permits the highlighting on a piece of text in th

8条回答
  •  情话喂你
    2021-02-03 14:31

    For python, You can use "external tools plugin":

    #!/bin/sh
    python3 "$GEDIT_CURRENT_DOCUMENT_PATH"
    

    Option of external tool: Save: Current Document Input: Current Document Output: Display in bottom panel

    Language: Python or Python3

    Don't forget the quotes around $GEDIT_CURRENT_DOCUMENT_PATH....

提交回复
热议问题