Commit b99cceb1 authored by Dominik Haumann's avatar Dominik Haumann

Merge branch 'add-json-xml-formatters' into 'master'

Add external tools for formatting XML and JSON content

See merge request kde/kate!45
parents 8351108c 3092e4f5
[Global]
tools=9
tools=11
version=1
[Tool 0]
......@@ -136,3 +136,33 @@ output=Ignore
reload=false
save=CurrentDocument
workingDir=%{Document:Path}
[Tool 9]
actionName=externaltool_JSONFormatFullFile
arguments='.' %{Document:FileName}
category=Tools
cmdname=json-format-file
executable=jq
icon=application-json
input=
mimetypes=
name=JSON Format Full File
output=ReplaceCurrentDocument
reload=false
save=CurrentDocument
workingDir=%{Document:Path}
[Tool 10]
actionName=externaltool_XMLFormatFullFile
arguments=--format %{Document:FileName}
category=Tools
cmdname=xml-format-file
executable=xmllint
icon=application-xml
input=
mimetypes=
name=XML Format Full File
output=ReplaceCurrentDocument
reload=false
save=CurrentDocument
workingDir=%{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