[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    kdebase/kate/data
From:       Jan Villat <jan.villat () net2000 ! ch>
Date:       2004-06-05 23:11:53
Message-ID: 20040605231153.6F2661265A () office ! kde ! org
[Download RAW message or body]

CVS commit by villat: 

New external tool: "Run Script"
 - make the current file executable
 - cd into the current directory
 - execute the current file
With default shortcut Ctrl+Shift+X (X for 'execute')
CCMAIL: 61099-done@bugs.kde.org


  M +10 -1     externaltools   1.2


--- kdebase/kate/data/externaltools  #1.1:1.2
@@ -1,7 +1,8 @@
 [Global]
-tools=externaltool_CVSLogforCurrentDocument,externaltool_CervisiaDirectoryofCurrentDo \
cument,externaltool_CompareCurrentDocumenttoCVS,externaltool_CompareDirectoryofCurrent \
DocumenttoCVS,externaltool_EmailCVSDiffforCurrentDocument,---,externaltool_GoogleSelection
 +tools=externaltool_CVSLogforCurrentDocument,externaltool_CervisiaDirectoryofCurrentD \
ocument,externaltool_CompareCurrentDocumenttoCVS,externaltool_CompareDirectoryofCurren \
tDocumenttoCVS,externaltool_EmailCVSDiffforCurrentDocument,---,externaltool_RunScript,---,externaltool_GoogleSelection
  
 [Shortcuts]
 externaltool_CompareCurrentDocumenttoCVS=Shift+F11
+externaltool_RunScript=Ctrl+Shift+X
 
 [externaltool_CVSLogforCurrentDocument]
@@ -45,4 +46,12 @@
 name=Google Selection
 
+[externaltool_RunScript]
+acname=externaltool_RunScript
+command=cd "%directory" && chmod u+x "%filename" && konsole -e "./%filename"
+executable=konsole
+icon=run
+mimetypes=
+name=Run Script
+
 [externaltool_CompareDirectoryofCurrentDocumenttoCVS]
 acname=externaltool_comparedirectoryofcurrentdocumenttoCVS


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic