Macro to run before saving files

  • Thread starter Thread starter Daniel =?iso-8859-1?Q?Lidstr=F6m?=
  • Start date Start date
D

Daniel =?iso-8859-1?Q?Lidstr=F6m?=

Hi,

can I somehow assign a macro to be run just before I save my files? I would
like to remove trailing spaces and tabs before save. I already have a macro
to do so.

Version 7.1.3088
 
To save with spaces rather than tabs:
Tools->Options->Text Editor->All languages->Tabs->Insert Spaces
 
To save with spaces rather than tabs:
Tools->Options->Text Editor->All languages->Tabs->Insert Spaces

No, that doesn't work. Try this: insert a new .cs file. View hidden
characters (c-s-8). Make a change and save. As you see, the tabs inserted
are not changed to spaces. Why insert tabs into new files when I have
selected spaces??
 
Back
Top