2

Can I adjust the space setting of tab symbol in LiteIDE. The space is different with other editors. I tried to find it but cannot find out how to adjust the space.

Thanks.

Peter Hon
  • 321
  • 2
  • 6
  • 10
  • This question appears to be off-topic because it is about setting of an editor and unrelated to programming. – Volker Aug 21 '14 at 06:17

1 Answers1

3

That would be because go fmt no longer authorize modifying tab width: see revision 34dac78e0550, as discussed in LiteIDE issue 125:

cmd/gofmt: remove -tabwidth and -tabs flags

Having these flags misleads people into thinking they're acceptable for code that "must be gofmt'd".

If an organization wishes to use gofmt internally with different settings, they can fork gofmt trivially. But "gofmt" as used by the community with open source Go code should not support these old knobs.


That being said, the editor itself still authorizes custom tab width since 20121228-ver-x151:

Go to View > Options > LiteEditor > File Types

custom tab width

VonC
  • 1,262,500
  • 529
  • 4,410
  • 5,250