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 /launch | |
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 'launch')
2 files changed, 6 insertions, 6 deletions
diff --git a/launch/org.eclipse.cdt.docker.launcher/src/org/eclipse/cdt/internal/docker/launcher/messages.properties b/launch/org.eclipse.cdt.docker.launcher/src/org/eclipse/cdt/internal/docker/launcher/messages.properties index 8f973da3004..4a9999226d8 100644 --- a/launch/org.eclipse.cdt.docker.launcher/src/org/eclipse/cdt/internal/docker/launcher/messages.properties +++ b/launch/org.eclipse.cdt.docker.launcher/src/org/eclipse/cdt/internal/docker/launcher/messages.properties @@ -40,7 +40,7 @@ ContainerTab_Ports_Group_Name=Ports ContainerTab_Specify_Ports_Label=Manually specify ports and only publish selected entries to the host: ContainerTab_Publish_All_Ports_Label=Publish all default exposed ports for image to random ports on the host ContainerTab_Option_Group_Name=Additional Options -ContainerTab_Connection_Selector_Label=Connection: +ContainerTab_Connection_Selector_Label=Connection:\u0020 ContainerTab_Image_Selector_Label=Image: ContainerTab_Port_Column=Container Port ContainerTab_Type_Column=Type diff --git a/launch/org.eclipse.cdt.launch/src/org/eclipse/cdt/launch/internal/ui/LaunchMessages.properties b/launch/org.eclipse.cdt.launch/src/org/eclipse/cdt/launch/internal/ui/LaunchMessages.properties index 026aac01f87..2cffe910b03 100644 --- a/launch/org.eclipse.cdt.launch/src/org/eclipse/cdt/launch/internal/ui/LaunchMessages.properties +++ b/launch/org.eclipse.cdt.launch/src/org/eclipse/cdt/launch/internal/ui/LaunchMessages.properties @@ -30,12 +30,12 @@ AbstractCLaunchDelegate_Project_NAME_does_not_exist=Project {0} does not exist. AbstractCLaunchDelegate_Project_NAME_is_closed=Project {0} is closed AbstractCLaunchDelegate_Debugger_Process=Debugger Process AbstractCLaunchDelegate_building_projects=Building prerequisite project list -AbstractCLaunchDelegate_building=Building +AbstractCLaunchDelegate_building=Building\u0020 AbstractCLaunchDelegate_searching_for_errors=Searching for compile errors -AbstractCLaunchDelegate_searching_for_errors_in=Searching for compile errors in +AbstractCLaunchDelegate_searching_for_errors_in=Searching for compile errors in\u0020 AbstractCLaunchDelegate_20=Building prerequisite project list AbstractCLaunchDelegate_Program_is_not_a_recognized_executable=Program is not a recognized executable. -AbstractCLaunchDelegate_BuildBeforeLaunch=Build before launch - +AbstractCLaunchDelegate_BuildBeforeLaunch=Build before launch -\u0020 AbstractCLaunchDelegate_PerformingBuild=Performing required build... AbstractCLaunchDelegate_PerformingIncrementalBuild=Performing incremental workspace build... AbstractCLaunchDelegate_Refresh=Refresh @@ -166,7 +166,7 @@ WorkingDirectoryBlock_10=Working directory does not exist WorkingDirectoryBlock_Use_default=Use de&fault WorkingDirectoryBlock_17=Variabl&es... WorkingDirectoryBlock_1=File S&ystem... -WorkingDirectoryBlock_Exception_occurred_reading_configuration_15=Exception occurred reading configuration: +WorkingDirectoryBlock_Exception_occurred_reading_configuration_15=Exception occurred reading configuration:\u0020 Launch_common_Exception_occurred_reading_configuration_EXCEPTION=Exception occurred reading configuration {0} Launch_common_DebuggerColon=Debugger: @@ -187,7 +187,7 @@ LocalCDILaunchDelegate_7=Core file does not exist or is not readable. LocalCDILaunchDelegate_8=Error starting process. LocalCDILaunchDelegate_9=Eclipse runtime does not support working directory. LocalCDILaunchDelegate_10=Failed to set program arguments, environment or working directory. -MultiLaunchConfigurationDelegate_0=Launching +MultiLaunchConfigurationDelegate_0=Launching\u0020 MultiLaunchConfigurationDelegate_Cannot=Cannot launch ''{0}'' in the ''{1}'' mode MultiLaunchConfigurationDelegate_Loop=Infinite loop detected for ''{0}'' configuration MultiLaunchConfigurationDelegate_Action_None=None |