• Intro to AutoHotkey HotStrings with AutoHotkey Intermediate AutoHotkey GUIs are Easy with AutoHotkey Intro to DOS & AutoHotkey

How to trim whitespace in SciTE: #1 hack to clean your code!

trim whitespace in SciTE

How to Automatically trim whitespace in SciTE upon file save is super-easy!   A minor tweak to the trim whitespace in SciTEuser.properties will tell SciTE to, automatically, trim spaces, tabs, etc. from the end of each line.

The following example is what I added to have it apply to my AutoHotkey files (which have an extension of .ahk).  If you have file patterns you can achieve the same goal by using something like this:

strip.trailing.spaces.$(file.patterns.yaml)=0

strip.trailing.spaces.*.ahk=1

How to trim whitespace in SciTE upon file save

AutoHotkey Bottle 4

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.

  • Intro to AutoHotkey HotStrings with AutoHotkey Intermediate AutoHotkey GUIs are Easy with AutoHotkey Intro to DOS & AutoHotkey