diff options
author | Jonah Graham | 2018-11-22 23:46:49 +0000 |
---|---|---|
committer | Jonah Graham | 2018-11-23 07:52:26 +0000 |
commit | ff75ae80fa44dfc925064f7ca0169ac80997bc77 (patch) | |
tree | 7db3666d26eeae703d9bc650d5d4540bc71406fb /dsf/org.eclipse.cdt.dsf.ui/plugin.properties | |
parent | be35c7327d2a6168718afea45181a058a7d414fa (diff) | |
download | org.eclipse.cdt-ff75ae80fa44dfc925064f7ca0169ac80997bc77.tar.gz org.eclipse.cdt-ff75ae80fa44dfc925064f7ca0169ac80997bc77.tar.xz org.eclipse.cdt-ff75ae80fa44dfc925064f7ca0169ac80997bc77.zip |
Bug 540373: Cleanup: Remove trailing whitespace in properties files
Command used:
# Remove space at eol in comments
find . ! -path "./.git/*" -type f -name *.properties -exec sed -i -E 's/^(#.*)[ \t]+$/\1/' {} +
# Remove space at eol in blank lines
find . ! -path "./.git/*" -type f -name *.properties -exec sed -i -E 's/^[ \t]+$//' {} +
# Replace escaped spaces at eol with unicode
find . ! -path "./.git/*" -type f -name *.properties -exec sed -i -E 's/([^\\])\\ $/\1\\u0020/' {} +
# Replace unescaped spaces at eol with unicode
find . ! -path "./.git/*" -type f -name *.properties -exec sed -i -E 's/([^\\]) $/\1\\u0020/' {} +
# Replace escaped tabs at eol with unicode
find . ! -path "./.git/*" -type f -name *.properties -exec sed -i -E 's/([^\\])\\\t$/\1\\u0009/' {} +
# Replace unescaped tabs at eol with unicode
find . ! -path "./.git/*" -type f -name *.properties -exec sed -i -E 's/([^\\])\t$/\1\\u0009/' {} +
# Stage all changes
git add -A .
# trim any remaining whitespace and then identify and fixup
# manually
# Only dsf/org.eclipse.cdt.dsf.ui/src/org/eclipse/cdt/dsf/debug/ui/viewmodel/MessagesForDebugVM.properties
# needed this due to missing newline at end of the file
find . ! -path "./.git/*" -type f -name *.properties -exec sed -i -E 's/[ \t]+$//' {} +
Change-Id: I858f16891fe001f4f7e62d5a4f904146e891cd39
Diffstat (limited to 'dsf/org.eclipse.cdt.dsf.ui/plugin.properties')
-rw-r--r-- | dsf/org.eclipse.cdt.dsf.ui/plugin.properties | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/dsf/org.eclipse.cdt.dsf.ui/plugin.properties b/dsf/org.eclipse.cdt.dsf.ui/plugin.properties index 0d3b87af0bd..b5a30947906 100644 --- a/dsf/org.eclipse.cdt.dsf.ui/plugin.properties +++ b/dsf/org.eclipse.cdt.dsf.ui/plugin.properties @@ -55,7 +55,7 @@ action.refresh.label=Refresh popup.addExpression.label=Add Watch Expression... popup.resumeAtLine.label=Resume At Li&ne -popup.moveToLine.label=&Move To Line +popup.moveToLine.label=&Move To Line\u0020 popup.runToLine.label=Run To &Line menu.addGroup.label=Add Expression Group @@ -69,11 +69,11 @@ command.refreshAll.description=Refresh all data in debug views # Preferences -StaleData.foreground.label=Stale data foreground color -StaleData.foreground.description=This color is used to indicate that a given element of data in a view is stale. User should refresh the view to see current data. The foreground color is used only when the view is showing data in columns. +StaleData.foreground.label=Stale data foreground color\u0020 +StaleData.foreground.description=This color is used to indicate that a given element of data in a view is stale. User should refresh the view to see current data. The foreground color is used only when the view is showing data in columns.\u0020 -StaleData.background.label=Stale data background color -StaleData.background.description=This color is used to indicate that a given element of data in a view is stale. User should refresh the view to see current data. The background color is used only when the view is in no-columns mode. +StaleData.background.label=Stale data background color\u0020 +StaleData.background.description=This color is used to indicate that a given element of data in a view is stale. User should refresh the view to see current data. The background color is used only when the view is in no-columns mode.\u0020 debugUpdateModes.label = Debug Update Modes |