aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/texteditor/texteditor.qbs
diff options
context:
space:
mode:
authorDavid Schulz <david.schulz@qt.io>2023-08-23 15:38:01 +0200
committerDavid Schulz <david.schulz@qt.io>2023-08-28 08:18:59 +0000
commitddb4aa01516972c9fd614b77a57a9218c7bf49ec (patch)
tree8ff711baabf44895105471647eb8a03c7c1d2aaf /src/plugins/texteditor/texteditor.qbs
parent28742774fecf696181c4b38e3dd5e52eb1311ce2 (diff)
TextEditor: add json indenter
Use an EditorFactory that sets up a custom indenter for json files. Change-Id: Id5ade9f9f551835131a62e381a972f0b6032e7c0 Reviewed-by: Christian Stenger <christian.stenger@qt.io>
Diffstat (limited to 'src/plugins/texteditor/texteditor.qbs')
-rw-r--r--src/plugins/texteditor/texteditor.qbs2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/plugins/texteditor/texteditor.qbs b/src/plugins/texteditor/texteditor.qbs
index fa8441f29e..0a424aeaa5 100644
--- a/src/plugins/texteditor/texteditor.qbs
+++ b/src/plugins/texteditor/texteditor.qbs
@@ -90,6 +90,8 @@ Project {
"icodestylepreferencesfactory.h",
"indenter.h",
"ioutlinewidget.h",
+ "jsoneditor.cpp",
+ "jsoneditor.h",
"linenumberfilter.cpp",
"linenumberfilter.h",
"marginsettings.cpp",