• @simonced
      link
      English
      162 months ago

      So I have to use the same width as you? What if I want 3 spaces for a tab?

    • Kairos
      link
      fedilink
      5
      edit-2
      2 months ago

      I use tabs for indentation then spaces after that if I need to offset a line by a specific amount of chars, such as a multi-line output or something.

      Edit: to be specific: https://pastebin.com/un6iUmEp . Notice how line 3 has one tab, then several spaces before the first non-whitespace character.

      • @SilverCode@lemm.ee
        link
        fedilink
        9
        edit-2
        2 months ago

        I like to use asterisk spacing.

        void main() {
        /****/for (int i=0; i <10; ++I) {
        /********/printf("hello world\n");
        /********/printf("%d\n", i);
        /****/}
        }