Description, because “alt text” can’t show it well:

			{
				emit differentFiles (ckFile.absoluteFilePath(),
					otherFile.absoluteFilePath(),
					FileCompareWorker::FileComparisonParams{FileComparisonParams::FileNameMatch,
						(ckFile.size() > otherFile.size()) ? FileComparisonParams::File1IsLarger
							: FileComparisonParams::File2IsLarger});
			}

After Alignment

			{
				emit differentFiles (ckFile.absoluteFilePath(),
					otherFile.absoluteFilePath(),
					FileCompareWorker::FileComparisonParams{FileComparisonParams::FileNameMatch,
						(ckFile.size() > otherFile.size()) ? FileComparisonParams::File1IsLarger
														   : FileComparisonParams::File2IsLarger});
			}
  • Flipper@feddit.org
    link
    fedilink
    arrow-up
    11
    arrow-down
    4
    ·
    1 day ago

    You shouldn’t use tabs for alignment. It breaks for everyone with a different tab size.

    • mmddmm@lemm.ee
      link
      fedilink
      arrow-up
      10
      arrow-down
      1
      ·
      1 day ago

      You shouldn’t align code anyway.

      If it’s important to have stuff on the same column, make it an indentation level and add a line break where it starts.

    • ulternoOP
      link
      fedilink
      English
      arrow-up
      4
      ·
      edit-2
      1 day ago
      1. I am using tabs for INDENTATION. I don’t want alignment.
      • I have tried my best to remove all alignment operations of clang-format
      1. What do you use tabs for?
        • ulternoOP
          link
          fedilink
          English
          arrow-up
          0
          ·
          14 hours ago

          If that’s supposed to be a pun, I didn’t get it.