1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-07-24 17:35:35 +02:00
cdt/doc/org.eclipse.cdt.doc.user
Jonah Graham ff75ae80fa 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
2018-11-23 07:52:26 +00:00
..
.settings Bug 540373: Standard .settings auto applied 2018-11-22 21:47:02 +00:00
cheatsheets Replaced C/C++ Project view with Project Explorer view 2010-07-05 15:54:59 +00:00
concepts Bug 540371: Update to EPLv2 using releng/scripts/change_to_eplv2.sh 2018-11-22 20:31:51 +00:00
getting_started Bug 449596: Hello World tutorial shows non-existing command to build 2015-01-08 08:58:39 -05:00
images Bug 513589 - Add support to build CDT projects in a Docker Container 2017-10-22 05:38:51 -04:00
intro Bug 460370 - Remove reference to CDT project name in Welcome screen 2015-02-19 13:46:31 -05:00
META-INF Bug 540367 - Increment version numbers 2018-10-23 11:20:31 -04:00
reference Bug 513589 - Add support to build CDT projects in a Docker Container 2017-10-22 05:38:51 -04:00
tasks Bug 520340: enable CLI to CDT's code formatter 2017-11-02 07:03:22 -04:00
.gitignore Cleared up the target model making it a provider responsibility. 2014-07-01 19:47:36 -04:00
.project Upgrade to Eclipse 3.0. Includes: 2003-11-24 18:31:03 +00:00
about.html Bug 540371: Update to EPLv2 using releng/scripts/change_to_eplv2.sh 2018-11-22 20:31:51 +00:00
book.css Bug 341483 - [Accessibility] CDT documentation has accessibility issues 2011-03-31 13:59:18 +00:00
build.properties Bug 540371: Update to EPLv2 using releng/scripts/change_to_eplv2.sh 2018-11-22 20:31:51 +00:00
contexts_CDT.xml bug 422558: Managed build projects context help is broken 2014-01-07 10:21:18 -05:00
contexts_CDT_DEBUGGER.xml Bug 472765: User documentation for Path Mapping 2016-04-13 10:41:46 -05:00
contexts_CDT_DEBUGGER_DSFGDB.xml Bug 389527: Update DSF-GDB preference page help 2012-09-17 14:34:28 -04:00
contexts_CDT_DEBUGGER_MI.xml Fix for bug 209005 2007-11-13 16:53:07 +00:00
contexts_CDT_LAUNCH.xml Bug 446013 - Improvements to CDT launch configurations context help 2014-11-04 09:32:21 -05:00
contexts_CDT_make.xml bug 422558: Managed build projects context help is broken 2014-01-07 10:21:18 -05:00
customBuildCallbacks.xml Bug 540373: Normalize newlines with .gitattributes 2018-11-20 21:20:39 +00:00
help.css Bug 404695: Removing screenshots from menu docs 2013-04-03 13:05:02 -04:00
notices.html Bug 389951 - [Accessibility] CDT documentation has accessibility issues 2012-09-19 21:17:46 -04:00
plugin.properties Bug 540373: Cleanup: Remove trailing whitespace in properties files 2018-11-23 07:52:26 +00:00
plugin.xml Bug 446013 - Improvements to CDT launch configurations context help 2014-11-04 09:32:21 -05:00
pom.xml Bug 540367 - Increment version numbers 2018-10-23 11:20:31 -04:00
toc.xml bug 315992: What's New and Noteworthy in CDT 7.0? 2010-06-07 19:34:15 +00:00
topics_Concepts.xml bug 409392: Update context help and user documentation for new Scanner Discovery "Preprocessor Includes, Macros..." property/preference pages 2013-06-05 14:37:07 -04:00
topics_Getting_Started.xml Bug 341483 - [Accessibility] CDT documentation has accessibility issues 2011-03-31 13:59:18 +00:00
topics_Reference.xml Bug 484900: Remove CDI User Documentation 2016-12-05 21:46:22 +00:00
topics_Tasks.xml Bug 520340: enable CLI to CDT's code formatter 2017-11-02 07:03:22 -04:00