This commit is contained in:
Leandro Afonso
2025-09-27 18:39:59 +01:00
commit f0cdef9259
1220 changed files with 77975 additions and 0 deletions

View File

@@ -0,0 +1,12 @@
[General]
actionName=externaltool_ClangFormatFullFile
arguments=-i %{Document:FileName}
category=Tools
cmdname=clang-format-file
executable=clang-format
name=Clang Format Full File
output=Ignore
reload=true
save=CurrentDocument
trigger=None
workingDir=%{Document:Path}

View File

@@ -0,0 +1,13 @@
[General]
actionName=externaltool_ClangFormatSelectedText
arguments=-assume-filename=%{Document:FileName}
category=Tools
cmdname=clang-format-selection
executable=clang-format
input=\s%{Document:Selection:Text}
name=Clang Format Selected Text
output=ReplaceSelectedText
reload=false
save=None
trigger=None
workingDir=%{Document:Path}

View File

@@ -0,0 +1,12 @@
[General]
actionName=externaltool_C++CompileRun
arguments=-c 'g++ "%{Document:FilePath}" -o "%{Document:FileBaseName}" && "./%{Document:FileBaseName}"'
category=Tools
executable=sh
icon=text-x-c++src
name=Compile and Run cpp
output=DisplayInPane
reload=false
save=CurrentDocument
trigger=None
workingDir=%{Document:Path}

View File

@@ -0,0 +1,14 @@
[General]
actionName=externaltool_GoFmt
arguments=%{Document:FileName}
category=Go
cmdname=gofmt-full-file
executable=gofmt
icon=text/x-go
mimetypes=text/x-go
name=Go Fmt Full File
output=ReplaceCurrentDocument
reload=false
save=CurrentDocument
trigger=None
workingDir=%{Document:Path}

View File

@@ -0,0 +1,14 @@
[General]
actionName=externaltool_GoImports
arguments=%{Document:FileName}
category=Go
cmdname=goimports-full-file
executable=goimports
icon=text-x-go
mimetypes=text/x-go
name=GoImports Full File
output=ReplaceCurrentDocument
reload=false
save=CurrentDocument
trigger=None
workingDir=%{Document:Path}

View File

@@ -0,0 +1,12 @@
[General]
actionName=externaltool_GoogleSelectedText
arguments="https://www.google.com/search?q=%{PercentEncoded:%{Document:Selection:Text}}"
category=Tools
cmdname=google
executable=xdg-open
icon=globe
name=Google Selected Text
output=Ignore
reload=false
save=None
trigger=None

View File

@@ -0,0 +1,11 @@
[General]
actionName=externaltool_InsertUUID
arguments=%{UUID}
category=Tools
cmdname=uuid
executable=echo
name=Insert UUID
output=InsertAtCursor
reload=false
save=None
trigger=None

View File

@@ -0,0 +1,14 @@
[General]
actionName=externaltool_JSONFormatFullFile
arguments="."
category=Tools
cmdname=json-format-file
executable=jq
icon=application-json
input=%{Document:Text}
name=JSON Format Full File
output=ReplaceCurrentDocument
reload=false
save=CurrentDocument
trigger=None
workingDir=%{Document:Path}

View File

@@ -0,0 +1,12 @@
[General]
actionName=externaltool_Prettier
arguments=%{Document:FileName}
category=Tools
cmdname=prettier-format-full-file
executable=prettier
name=Prettier Format Current File
output=ReplaceCurrentDocument
reload=false
save=CurrentDocument
trigger=None
workingDir=%{Document:Path}

View File

@@ -0,0 +1,13 @@
[General]
actionName=externaltool_QtQuick2Previewqmlscene
arguments=%{Document:FileName}
category=Qt
cmdname=qml-preview
executable=qmlscene
mimetypes=text/x-qml
name=Qt Quick 2 Preview (qmlscene)
output=Ignore
reload=false
save=CurrentDocument
trigger=None
workingDir=%{Document:Path}

View File

@@ -0,0 +1,13 @@
[General]
actionName=externaltool_RunShellScript
arguments=-e sh -c "cd %{Document:Path} && pwd && chmod -vc a+x %{Document:FileName} && ./%{Document:FileName} ; echo Press enter to continue. && read null"
category=Tools
cmdname=run-script
executable=konsole
icon=system-run
name=Run Shell Script
output=Ignore
reload=false
save=CurrentDocument
trigger=None
workingDir=%{Document:Path}

View File

@@ -0,0 +1,14 @@
[General]
actionName=externaltool_RustFmt
arguments=%{Document:FileName}
category=Tools
cmdname=rustfmt-full-file
executable=rustfmt
icon=text-x-rust
mimetypes=text/x-rust
name=Rust Fmt Full File
output=Ignore
reload=true
save=CurrentDocument
trigger=None
workingDir=%{Document:Path}

View File

@@ -0,0 +1,12 @@
[General]
actionName=externaltool_KDEAPI
arguments="https://api.kde.org/search.html?query=%{Document:Selection:Text}"
category=Tools
executable=xdg-open
icon=kde
name=Search KDE API
output=Ignore
reload=false
save=None
trigger=None
workingDir=%{Document:Path}

View File

@@ -0,0 +1,12 @@
[General]
actionName=externaltool_QtAPI
arguments="https://doc.qt.io/qt-5/search-results.html?q=%{Document:Selection:Text}"
category=Tools
executable=xdg-open
icon=qtcreator
name=Search Qt API
output=Ignore
reload=false
save=None
trigger=None
workingDir=%{Document:Path}

View File

@@ -0,0 +1,13 @@
[General]
actionName=externaltool_XMLFormatFullFile
arguments=--format "%{Document:FileName}"
category=Tools
cmdname=xml-format-file
executable=xmllint
icon=application-xml
name=XML Format Full File
output=ReplaceCurrentDocument
reload=false
save=CurrentDocument
trigger=None
workingDir=%{Document:Path}

View File

@@ -0,0 +1,12 @@
[General]
actionName=externaltool_gitblame
arguments=gui blame --line=%{Document:Cursor:Line} %{Document:FileName}
category=Git
cmdname=git-blame
executable=git
name=git blame
output=Ignore
reload=false
save=CurrentDocument
trigger=None
workingDir=%{Document:Path}

View File

@@ -0,0 +1,12 @@
[General]
actionName=externaltool_gitcola
arguments=-r %{Document:Path}
category=Git
cmdname=git-cola
executable=git-cola
icon=git-cola
name=git-cola
output=Ignore
reload=false
save=None
trigger=None

View File

@@ -0,0 +1,12 @@
[General]
actionName=externaltool_gitk
category=Git
cmdname=gitk
executable=gitk
icon=git-gui
name=gitk
output=Ignore
reload=false
save=None
trigger=None
workingDir=%{Document:Path}