0

Is there any package that covers indentation with space like visual studio?

like,

if(a==b)  ==> if(a<space>==<space>b)

for(int i=0;i<N;i++) ==> for(int i<space>=<space>0;<space>i<space><<space>N;<space>i++)

similar question is already asked but it was uploaded almost 2 years ago, then I re-ask it. (Automatically insert a space in some C expressions)

thank you in advance :-)

2

See electric-operator - minor mode to automatically add spacing around operators

  • Is there any package similar to this? This package can generate space while typing. but I want to add spaces whenever I do indentation. – edward0im Oct 12 at 16:53

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.