From 590d83282217d6d4c0d1279a961407cba980d9dc Mon Sep 17 00:00:00 2001 From: Sergey Prigogin Date: Tue, 26 Apr 2016 13:53:52 -0700 Subject: [PATCH] Bug 492491 - IWYU hyperlink in Include Pragmas preference page has moved Change-Id: Iddb08db3427592f4725a9c54747971b9efe2d97a --- .../core/dom/ast/IASTPreprocessorIncludeStatement.java | 2 +- .../org/eclipse/cdt/core/index/IIndexInclude.java | 2 +- .../eclipse/cdt/core/parser/IncludeExportPatterns.java | 2 +- .../org/eclipse/cdt/core/CCorePreferenceConstants.java | 10 +++++----- .../ui/preferences/IncludePragmasPreferencePage.java | 2 +- .../ui/preferences/PreferencesMessages.properties | 2 +- 6 files changed, 10 insertions(+), 10 deletions(-) diff --git a/core/org.eclipse.cdt.core/parser/org/eclipse/cdt/core/dom/ast/IASTPreprocessorIncludeStatement.java b/core/org.eclipse.cdt.core/parser/org/eclipse/cdt/core/dom/ast/IASTPreprocessorIncludeStatement.java index 27f1237424d..7c3a6c06062 100644 --- a/core/org.eclipse.cdt.core/parser/org/eclipse/cdt/core/dom/ast/IASTPreprocessorIncludeStatement.java +++ b/core/org.eclipse.cdt.core/parser/org/eclipse/cdt/core/dom/ast/IASTPreprocessorIncludeStatement.java @@ -109,7 +109,7 @@ public interface IASTPreprocessorIncludeStatement extends IASTPreprocessorStatem /** * Returns {@code true} if the included file is exported by the including header. * - * @see "https://code.google.com/p/include-what-you-use/wiki/IWYUPragmas" + * @see "https://github.com/include-what-you-use/include-what-you-use/blob/master/docs/IWYUPragmas.md" * @since 5.5 */ public boolean isIncludedFileExported(); diff --git a/core/org.eclipse.cdt.core/parser/org/eclipse/cdt/core/index/IIndexInclude.java b/core/org.eclipse.cdt.core/parser/org/eclipse/cdt/core/index/IIndexInclude.java index 62afd49299d..fbb4dd45b15 100644 --- a/core/org.eclipse.cdt.core/parser/org/eclipse/cdt/core/index/IIndexInclude.java +++ b/core/org.eclipse.cdt.core/parser/org/eclipse/cdt/core/index/IIndexInclude.java @@ -116,7 +116,7 @@ public interface IIndexInclude { /** * Returns {@code true} if the included file is exported by the including header. - * @see "https://code.google.com/p/include-what-you-use/wiki/IWYUPragmas" + * @see "https://github.com/include-what-you-use/include-what-you-use/blob/master/docs/IWYUPragmas.md" * @since 5.5 */ boolean isIncludedFileExported() throws CoreException; diff --git a/core/org.eclipse.cdt.core/parser/org/eclipse/cdt/core/parser/IncludeExportPatterns.java b/core/org.eclipse.cdt.core/parser/org/eclipse/cdt/core/parser/IncludeExportPatterns.java index e0f5ded669c..99e7327888b 100644 --- a/core/org.eclipse.cdt.core/parser/org/eclipse/cdt/core/parser/IncludeExportPatterns.java +++ b/core/org.eclipse.cdt.core/parser/org/eclipse/cdt/core/parser/IncludeExportPatterns.java @@ -16,7 +16,7 @@ import java.util.regex.PatternSyntaxException; /** * Container for include export patterns, for example "IWYU pragma: export", * "IWYU pragma: begin_exports" and "IWYU pragma: end_exports". - * @see "https://code.google.com/p/include-what-you-use/wiki/IWYUPragmas" + * @see "https://github.com/include-what-you-use/include-what-you-use/blob/master/docs/IWYUPragmas.md" * * @since 5.5 */ diff --git a/core/org.eclipse.cdt.core/src/org/eclipse/cdt/core/CCorePreferenceConstants.java b/core/org.eclipse.cdt.core/src/org/eclipse/cdt/core/CCorePreferenceConstants.java index 6fb07719b59..a321941aa63 100644 --- a/core/org.eclipse.cdt.core/src/org/eclipse/cdt/core/CCorePreferenceConstants.java +++ b/core/org.eclipse.cdt.core/src/org/eclipse/cdt/core/CCorePreferenceConstants.java @@ -182,7 +182,7 @@ public class CCorePreferenceConstants { /** * Preference key for the regular expression pattern that, when appears in a comment on the same * line as include statement, indicates that the included header file is exported. - * @see "https://code.google.com/p/include-what-you-use/wiki/IWYUPragmas" + * @see "https://github.com/include-what-you-use/include-what-you-use/blob/master/docs/IWYUPragmas.md" * * @since 5.5 */ @@ -197,7 +197,7 @@ public class CCorePreferenceConstants { /** * Preference key for the regular expression pattern that, when appears in a comment, marks * the beginning of a sequence of include statements that export the included header files. - * @see "https://code.google.com/p/include-what-you-use/wiki/IWYUPragmas" + * @see "https://github.com/include-what-you-use/include-what-you-use/blob/master/docs/IWYUPragmas.md" * * @since 5.5 */ @@ -212,7 +212,7 @@ public class CCorePreferenceConstants { /** * Preference key for the regular expression pattern that, when appears in a comment, marks * the end of a sequence of include statements that export the included header files. - * @see "https://code.google.com/p/include-what-you-use/wiki/IWYUPragmas" + * @see "https://github.com/include-what-you-use/include-what-you-use/blob/master/docs/IWYUPragmas.md" * * @since 5.5 */ @@ -228,7 +228,7 @@ public class CCorePreferenceConstants { * Preference key for the regular expression pattern that, when appears in a comment on the same * line as include statement, indicates that the included header file is private and that * another header file should be included instead. - * @see "https://code.google.com/p/include-what-you-use/wiki/IWYUPragmas" + * @see "https://github.com/include-what-you-use/include-what-you-use/blob/master/docs/IWYUPragmas.md" * * @since 5.7 */ @@ -244,7 +244,7 @@ public class CCorePreferenceConstants { * Preference key for the regular expression pattern that, when appears in a comment on the same * line as include statement, indicates that the include statement should be preserved when * organizing includes. - * @see "https://code.google.com/p/include-what-you-use/wiki/IWYUPragmas" + * @see "https://github.com/include-what-you-use/include-what-you-use/blob/master/docs/IWYUPragmas.md" * * @since 5.9 */ diff --git a/core/org.eclipse.cdt.ui/src/org/eclipse/cdt/internal/ui/preferences/IncludePragmasPreferencePage.java b/core/org.eclipse.cdt.ui/src/org/eclipse/cdt/internal/ui/preferences/IncludePragmasPreferencePage.java index 33e43451f27..9c2bd73fcf6 100644 --- a/core/org.eclipse.cdt.ui/src/org/eclipse/cdt/internal/ui/preferences/IncludePragmasPreferencePage.java +++ b/core/org.eclipse.cdt.ui/src/org/eclipse/cdt/internal/ui/preferences/IncludePragmasPreferencePage.java @@ -18,7 +18,7 @@ import org.eclipse.cdt.internal.ui.ICHelpContextIds; /* * The preference page for configuring include-related pragmas. - * @see "https://code.google.com/p/include-what-you-use/wiki/IWYUPragmas" + * @see "https://github.com/include-what-you-use/include-what-you-use/blob/master/docs/IWYUPragmas.md" */ public class IncludePragmasPreferencePage extends ConfigurationBlockPropertyAndPreferencePage { public static final String PREF_ID= "org.eclipse.cdt.ui.preferences.IncludePragmasPreferencePage"; //$NON-NLS-1$ diff --git a/core/org.eclipse.cdt.ui/src/org/eclipse/cdt/internal/ui/preferences/PreferencesMessages.properties b/core/org.eclipse.cdt.ui/src/org/eclipse/cdt/internal/ui/preferences/PreferencesMessages.properties index 5ca24098dfa..87ea9c1c666 100644 --- a/core/org.eclipse.cdt.ui/src/org/eclipse/cdt/internal/ui/preferences/PreferencesMessages.properties +++ b/core/org.eclipse.cdt.ui/src/org/eclipse/cdt/internal/ui/preferences/PreferencesMessages.properties @@ -521,7 +521,7 @@ IncludeOrderBlock_down= D&own IncludeOrderBlock_order_of_includes= O&rder of Include Statements: IncludePragmasPreferencePage_title= Include Pragmas -IncludePragmasBlock_description=Include pragmas are special comments that affect behavior of Organize Includes command. A description of include pragmas can be found in IWYU Pragmas. Include patterns can be customized by defining regular expressions matching each of the pragmas. +IncludePragmasBlock_description=Include pragmas are special comments that affect behavior of Organize Includes command. A description of include pragmas can be found in IWYU Pragmas. Include patterns can be customized by defining regular expressions matching each of the pragmas. IncludePragmasBlock_link_tooltip=Wiki page describing include-what-you-use pragmas IncludePragmasBlock_export_pattern= E&xport: IncludePragmasBlock_begin_exports_pattern= &Begin Exports: