Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJonah Graham2018-11-22 23:46:49 +0000
committerJonah Graham2018-11-23 07:52:26 +0000
commitff75ae80fa44dfc925064f7ca0169ac80997bc77 (patch)
tree7db3666d26eeae703d9bc650d5d4540bc71406fb /visualizer/org.eclipse.cdt.visualizer.examples
parentbe35c7327d2a6168718afea45181a058a7d414fa (diff)
downloadorg.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 'visualizer/org.eclipse.cdt.visualizer.examples')
-rw-r--r--visualizer/org.eclipse.cdt.visualizer.examples/src/org/eclipse/cdt/visualizer/examples/problemvisualizer/Messages.properties6
1 files changed, 3 insertions, 3 deletions
diff --git a/visualizer/org.eclipse.cdt.visualizer.examples/src/org/eclipse/cdt/visualizer/examples/problemvisualizer/Messages.properties b/visualizer/org.eclipse.cdt.visualizer.examples/src/org/eclipse/cdt/visualizer/examples/problemvisualizer/Messages.properties
index dc1a497f55d..2792951308d 100644
--- a/visualizer/org.eclipse.cdt.visualizer.examples/src/org/eclipse/cdt/visualizer/examples/problemvisualizer/Messages.properties
+++ b/visualizer/org.eclipse.cdt.visualizer.examples/src/org/eclipse/cdt/visualizer/examples/problemvisualizer/Messages.properties
@@ -14,6 +14,6 @@
ProblemCountVisualizer_Name=ProblemCounter
ProblemCountVisualizer_DisplayName=Problem Count
ProblemCountVisualizer_Description=Visualizer displaying the count of errors/warnings/info
-ProblemCountVisualizer_Errors=Errors:
-ProblemCountVisualizer_Warnings=Warnings:
-ProblemCountVisualizer_Infos=Infos:
+ProblemCountVisualizer_Errors=Errors:\u0020
+ProblemCountVisualizer_Warnings=Warnings:\u0020
+ProblemCountVisualizer_Infos=Infos:\u0020

Back to the top