aboutsummaryrefslogtreecommitdiffstats
path: root/.qmlformat.ini
diff options
context:
space:
mode:
authorThomas Vanbesien <tvanbesi@proton.me>2026-02-25 16:11:53 +0100
committerThomas Vanbesien <tvanbesi@proton.me>2026-02-25 18:08:28 +0100
commit7bb49eabdf8d86567660c8825892eb323fa6e674 (patch)
treebbcfb9f80fa8373dc61e63cafef30e8a664cedea /.qmlformat.ini
parent9507f9779809bd077705d1ad54384f714b41c122 (diff)
downloadBobinkQtOpcUa-7bb49eabdf8d86567660c8825892eb323fa6e674.tar.gz
BobinkQtOpcUa-7bb49eabdf8d86567660c8825892eb323fa6e674.zip
Add .qmlformat.ini, qmlls support, and format QML files
- Enable QT_QML_GENERATE_QMLLS_INI for QML Language Server support - Add IMPORT_PATH to demo's qt_add_qml_module so .qmlls.ini includes the local build QML directory alongside the Qt system path - Add editor setup section to README with qmlls and qmlformat guidance - Add QML formatting section to French guide - Reformat demo QML files with .qmlformat.ini (line wrapping at 80 cols)
Diffstat (limited to '.qmlformat.ini')
-rw-r--r--.qmlformat.ini10
1 files changed, 10 insertions, 0 deletions
diff --git a/.qmlformat.ini b/.qmlformat.ini
new file mode 100644
index 0000000..f32994e
--- /dev/null
+++ b/.qmlformat.ini
@@ -0,0 +1,10 @@
+[General]
+IndentWidth=4
+MaxColumnWidth=80
+NewlineType=unix
+NormalizeOrder=true
+ObjectsSpacing=true
+FunctionsSpacing=true
+SemicolonRule=always
+SortImports=false
+UseTabs=false