aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/texteditor/CMakeLists.txt
Commit message (Collapse)AuthorAgeFilesLines
* Core: move CodecSelector dialog to CoreDavid Schulz2020-04-151-1/+0
| | | | | | Task-number: QTCREATORBUG-23835 Change-Id: I824ae9650c244fffc064ade718fc788fc2908ada Reviewed-by: hjk <hjk@qt.io>
* TextEditor: Use simple text indentation as defaultEike Ziller2020-03-041-1/+0
| | | | | | | | | | | | | Simple indentation based on the previous line was already available in the NormalIndenter class. Merge that up the hierarchy chain into TextIndenter which is the base for other text-based indenters, and make that the default indenter for text editor factories. Text editor factories that don't have a special indenter get at least basic indentation support for free that way. Change-Id: Ib977a990f10a99bead82bc8a8348c02a106665f1 Reviewed-by: David Schulz <david.schulz@qt.io>
* Editor: add formatter supportDavid Schulz2020-01-221-0/+1
| | | | | Change-Id: I65590273b2541e08a39970cd9bb4739a5634b2f7 Reviewed-by: Christian Stenger <christian.stenger@qt.io>
* TextEditor: Dissolve TextEditorOptionsPage intermediate hierarchy levelhjk2020-01-161-1/+0
| | | | | | | | It's effectively setting only three properties nowadays, not enough to justify a case of reuse-by-inheritance anymore. Change-Id: I947fbc51e76c8d908da662dd58dce91614c28e08 Reviewed-by: David Schulz <david.schulz@qt.io>
* CMake build: Add ability to disable building of individual pluginsEike Ziller2019-05-231-3/+4
| | | | | | | | | | | | | | Adds a cache entry "BUILD_PLUGIN_${NAME}", defaulting to ON which can be set to OFF to disable building of a plugin. Adds a extend_qtc_plugin function that should be used to add properties to a plugin after add_qtc_plugin, instead of the standard CMake functions target_... . The new function results in a no-op if the plugin was disabled. Change-Id: I57f6799620aea0aaa8b56acead4815ccced95911 Reviewed-by: Cristian Adam <cristian.adam@qt.io> Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
* Qt Creator CMake portCristian Adam2019-05-171-0/+107
Based on Tobias Hunger's work from a few months ago. The CMake configuration needs libclang and Qt paths specified as CMAKE_PREFIX_PATH. Auto tests are run with "ctest". At the moment the pass rate is 87%. Change-Id: Iba98e39bf22077d52706dce6c85986be67a6eab0 Reviewed-by: Alessandro Portale <alessandro.portale@qt.io> Reviewed-by: Tobias Hunger <tobias.hunger@qt.io> Reviewed-by: Eike Ziller <eike.ziller@qt.io>