php - file code formatting lost when upload to server -


i using netbeans

product version: netbeans ide 8.0 (build 201403101706) java: 1.8.0_11; java hotspot(tm) 64-bit server vm 25.11-b03 runtime: java(tm) se runtime environment 1.8.0_11-b12 

when deploy file server lost code formatting. lets take following snapshot of file, has code formatting, indents spaces etc

this before uploading server

but when upload server lost code formatting

after uploaded server

it happens php , js files , change cause problems me


when open file using dreamweaver , save , upload file remains same, happens in netbeans, don't know why, read code formatting setting in netbeans nothing helped me

you can set project level end line format right clicking on project properties > line endings


Comments

Popular posts from this blog

javascript - Jquery show_hide, what to add in order to make the page scroll to the bottom of the hidden field once button is clicked -

javascript - Highcharts multi-color line -

javascript - Enter key does not work in search box -