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??
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top