Details
-
Bug
-
Resolution: Fixed
-
Not Evaluated
-
Qt Creator 10.0.0
-
None
-
- Ubuntu 20.04
- python3.10
- cmake-format 0.6.13
-
-
3a3bf41ee (master)
Description
cmake-format should automatically use the config file in the directory: "You may specify a path to one or more configuration files with the --config-file command line option. Otherwise, cmake-format will search the ancestry of each infilepath looking for a configuration file to use. If no configuration file is found it will use sensible defaults."
When running it from command line, it works, but when running it from QtCreator it is ignored.
I tested with a cmake-format.py file near a CMakeLists.txt, with this config:
with section("markup"):
enable_markup = False
This config disable the formatting of the comments.
Attachments
Issue Links
- is duplicated by
-
QTCREATORBUG-29222 Add customized config for cmake format
-
- Closed
-
For Gerrit Dashboard: QTCREATORBUG-28969 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
490677,7 | CMakePM: Add support for cmake-format config files | master | qt-creator/qt-creator | Status: MERGED | +2 | 0 |