Details
-
Suggestion
-
Resolution: Fixed
-
P3: Somewhat important
-
Qt Creator 4.11.2, Qt Creator 4.15.0, Qt Creator 11.0.3
-
None
Description
indentation of json files in Qt-Creator does not work properly. Indentation does not follow the contents' hierarchy.
- Opening a curly brace does not add the relative closing one as for cpp files.
- A carriage return after an opened curly brace should indent with an additional tab
E.g. current
{ "foo" : "bar"
desired:
{ "foo" : "bar"
3. A double carriage return goes back to the first column of the file.
4. Auto-indent hotkey is broken and completely removes any preexisting indentation.