-1

So I use NetBeans 8.1 for Windows, and a coworker uses vi/vim on the Ubuntu Command Line. We share code on the same projects with git.

Apparently, Netbeans and vi treat spacing, tabs, etc and formatting differently. How can I set Netbeans to treat spaces/tabs the same as vi? Let's face it vi people are set in their ways and won't be the ones to adapt -- I mean, they are using vi still ;)

FYI, the code we are using is PHP / Javascript.

TheLettuceMaster
  • 15,594
  • 48
  • 153
  • 259

1 Answers1

1

First, it's "vi", not "VI".

Second, he is probably using Vim and not vi.

Third, both of you should simply use EditorConfig.

romainl
  • 186,200
  • 21
  • 280
  • 313