Commit df1f87f8 authored by Dominik Haumann's avatar Dominik Haumann

Compile default external tools into the plugin as resource

Path is: :/externaltools/tools.cfg
parent 765d3af5
......@@ -3,4 +3,7 @@
<qresource prefix="/kxmlgui5/externaltools">
<file>ui.rc</file>
</qresource>
<qresource prefix="/externaltools">
<file>tools.cfg</file>
</qresource>
</RCC>
[Global]
tools=10
tools=9
version=1
[Tool 0]
actionName=externaltool_RunShellScript
arguments=-e sh -c "cd %{Document:Path} && pwd && chmod -vc a+x %{Document:FileName} && ./%{Document:FileName} ; echo Press any key to continue. && read -n 1"
......@@ -33,21 +32,6 @@ reload=false
save=None
workingDir=
[Tool 10]
actionName=externaltool_TestExternalTools
arguments=
category=Tools
cmdname=external-tool-test
executable=tac
icon=
input=Document:FileBaseName: %{Document:FileBaseName}\nDocument:FileName: %{Document:FileName}\nDocument:FilePath: %{Document:FilePath}\nDocument:FileExtension: %{Document:FileExtension}\nDocument:Text: %{Document:Text}\nDocument:Path: %{Document:Path}\nDocument:NativeFilePath: %{Document:NativeFilePath}\nDocument:NativePath: %{Document:NativePath}\nDocument:Cursor:Line: %{Document:Cursor:Line}\nDocument:Cursor:Column: %{Document:Cursor:Column}\nDocument:Cursor:XPos: %{Document:Cursor:XPos}\nDocument:Cursor:YPos: %{Document:Cursor:YPos}\nDocument:Selection:Text: %{Document:Selection:Text}\nDocument:Selection:StartLine: %{Document:Selection:StartLine}\nDocument:Selection:StartColumn: %{Document:Selection:StartColumn}\nDocument:Selection:EndLine: %{Document:Selection:EndLine}\nDocument:Selection:EndColumn: %{CurrentDocument:Selection:EndColumn}\nDocument:RowCount: %{CurrentDocument:RowCount}\nDate:dd.MM.yyyy: %{Date:dd.MM.yyyy}\nDate:Locale: %{Date:Locale}\nDate:ISO: %{Date:ISO}\nTime:hh:mm:ss.zzz: %{Time:hh:mm:ss.zzz}\nTime:Locale: %{Time:Locale}\nTime:ISO: %{Time:ISO}\nENV:KATE_PID: %{ENV:KATE_PID}\nUUID: %{UUID}\n
mimetypes=
name=Test External Tools
output=DisplayInPane
reload=false
save=None
workingDir=
[Tool 2]
actionName=externaltool_gitcola
arguments=-r %{Document:Path}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment