aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/qmljstools/qmljsformatterselectionwidget.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Style Settings: Make Code Style preview more obviousMarcus Tillmanns2025-10-091-1/+2
| | | | | | Fixes: QTCREATORBUG-32956 Change-Id: I55aa01e7421cb1633072b046d2b4c42a2ce8a3cd Reviewed-by: hjk <hjk@qt.io>
* integrate qmlformat and improve formatter settings UXSemih Yavuz2025-04-141-0/+89
- Add reformat action to trigger full document formatting via qmlformat - Integrate reformat action into context menu and qmljstools menu - Remove custom formatter command from preferences, default to qmlformat when LSP formatting fails - Group tabSettings and other options under 'Built-In Formatter Settings' for clarity - Move formatter selection to Code Style page with a new radio button for selection - Ensure preview updates according to the selected formatter - Populate qmlformat configuration widget automatically for Qt's built-in code style option by running qmlformat --write-defaults. - TabSettings is a data structure being considered by the text editor while rewriting the formatted data. Overwrite tabSettings with the values in the .qmlformat.ini. - fix the issue of builtin formatter being not respecting the current codestyle's tab settings. Task-number: QTCREATORBUG-26602 Change-Id: I2ec1b4a69712eedfafab358aaabb25c6b43ffa8e Reviewed-by: hjk <hjk@qt.io> Reviewed-by: Sami Shalayel <sami.shalayel@qt.io>