9
nickj
1y

tabs vs spaces
i hate it when i cant find where i used spaces instead of tabs. just a simple mistake and it doesnt work

me: *codes makefile in codenvy*
terminal: *** missing separator. Stop.

me: *rewrites code exactly the same way in Notepad++*
me: *copy paste code to codenvy*
terminal: *compiles whole project*

wow. just wow.

Comments
  • 2
    Notepad++ has a setting to make white space characters visible. So you can see tabs, spaces, LF and CR characters
  • 1
    @Lahsen2016 BUT IDK WHERE :( i changed them to tabs but no luck
  • 0
    @illusion466 I've solved more than one line-ending-related bug thanks to that notepad++ feature
  • 2
    Not 100% sure but on this topic, does sublime still have the tabs to spaces conversion feature?
  • 1
    @Torean sublime text 3 does, i think
  • 0
    @nickj toolbar icon that looks like paragraph symbol should do the trick.
  • 0
    Ctrl + F and search for four spaces in a row.
Your Job Suck?
Get a Better Job
Add Comment