Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Qt Creator and other tools
  4. QtCreator QML formatter does not respect tab/space indentation settings
Qt 6.11 is out! See what's new in the release blog

QtCreator QML formatter does not respect tab/space indentation settings

Scheduled Pinned Locked Moved Solved Qt Creator and other tools
2 Posts 2 Posters 333 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • E Offline
    E Offline
    ebatsin
    wrote on last edited by
    #1

    I am trying to indent my QML files with tabs. In QtCreator settings (QtQuick section) I created a custom profile that uses "only tabulation" with a size of 4. The preview is correct and uses tabulations.

    When I code, my Tab key adds tabulations so that works, but when I launch the QML/JS reformatter all my tabs are replaced with spaces. Am I missing something or is it a bug?

    1 Reply Last reply
    0
    • sierdzioS Offline
      sierdzioS Offline
      sierdzio
      Moderators
      wrote on last edited by
      #2

      Looks like a bug to me, please report it.

      (Z(:^

      1 Reply Last reply
      1

      • Login

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • Users
      • Groups
      • Search
      • Get Qt Extensions
      • Unsolved