Table of Contents

Class RefactoringTitles

Namespace
RDCore.SDK.Semantics.Refactoring
Assembly
RDCore.SDK.dll

What the platform's code actions are called, in the language of the reader.

public static class RefactoringTitles
Inheritance
RefactoringTitles
Inherited Members

Methods

DisableDiagnostic(RDCoreDiagnosticCode, SettingScope, CultureInfo?)

The title of the code action that disables the diagnostics of a code (Analysis.DisabledDiagnostics): Disable RDC01001 in every workspace, or Disable RDC01001 in this workspace.

public static string DisableDiagnostic(RDCoreDiagnosticCode code, SettingScope scope, CultureInfo? culture = null)

Parameters

code RDCoreDiagnosticCode

The code.

scope SettingScope

Where the code is disabled: the user's settings of the platform, or the workspace's.

culture CultureInfo

The language of the reader; the current UI culture by default.

Returns

string

References(int, CultureInfo?)

The title of the code lens that counts the references of a member: 3 references.

public static string References(int count, CultureInfo? culture = null)

Parameters

count int

The number of references.

culture CultureInfo

The language of the reader; the current UI culture by default.

Returns

string

Remarks

Each language says none, one and more its own way: French says 0 référence, English 0 references.

Rename(string, CultureInfo?)

The title of the code action that renames a symbol to a name the user chooses: Rename 'x'….

public static string Rename(string name, CultureInfo? culture = null)

Parameters

name string

The name the symbol is declared with.

culture CultureInfo

The language of the reader; the current UI culture by default.

Returns

string

RenameInStringDescription(string, CultureInfo?)

What the edits of RenameInStringLabel(CultureInfo?) are, less prominently than the label (LSP 3.17 ChangeAnnotation.description): why the user is asked.

public static string RenameInStringDescription(string name, CultureInfo? culture = null)

Parameters

name string

The name the symbol is declared with.

culture CultureInfo

The language of the reader; the current UI culture by default.

Returns

string

RenameInStringLabel(CultureInfo?)

The label of a rename's edits of the strings a library calls the symbol by (RenameEdit.IsInString): Called by its name in a string. A client that takes change annotations shows it with the edits it asks its user to confirm (LSP 3.17 ChangeAnnotation.label).

public static string RenameInStringLabel(CultureInfo? culture = null)

Parameters

culture CultureInfo

The language of the reader; the current UI culture by default.

Returns

string

RenameInStringLeave(CultureInfo?)

The answer to RenameInStringQuestion(string, int, string, CultureInfo?) that renames the symbol and leaves the strings as they are.

public static string RenameInStringLeave(CultureInfo? culture = null)

Parameters

culture CultureInfo

The language of the reader; the current UI culture by default.

Returns

string

RenameInStringQuestion(string, int, string, CultureInfo?)

What the user of a client that does not take change annotations is asked, before a rename's edits of the strings a library calls the symbol by are sent to it: 'Foo' is called by its name in 2 strings, the first at Module1 4:12. Rename it there too?

public static string RenameInStringQuestion(string name, int count, string where, CultureInfo? culture = null)

Parameters

name string

The name the symbol is declared with.

count int

How many strings the rename edits.

where string

Where the first of them is, as the client names a position.

culture CultureInfo

The language of the reader; the current UI culture by default.

Returns

string

RenameInStringRename(CultureInfo?)

The answer to RenameInStringQuestion(string, int, string, CultureInfo?) that renames the name in the strings too.

public static string RenameInStringRename(CultureInfo? culture = null)

Parameters

culture CultureInfo

The language of the reader; the current UI culture by default.

Returns

string

RenameLateBoundDescription(string, string, bool, CultureInfo?)

What the edits of RenameLateBoundLabel(string, bool, CultureInfo?) are, less prominently than the label (LSP 3.17 ChangeAnnotation.description): why the user is asked.

public static string RenameLateBoundDescription(string name, string className, bool isBacked, CultureInfo? culture = null)

Parameters

name string

The name the symbol is declared with.

className string

The name of the class the symbol is a member of.

isBacked bool

Whether what is known of the objects backs the member.

culture CultureInfo

The language of the reader; the current UI culture by default.

Returns

string

RenameLateBoundLabel(string, bool, CultureInfo?)

The label of a rename's edits of the members accessed late-bound that may be the symbol (RenameEdit.IsLateBound), which a client that takes change annotations shows with the edits it asks its user to confirm (LSP 3.17 ChangeAnnotation.label): Late-bound: the object holds a Class1 where what is known of the object backs the member (RenameEdit.IsBacked), Late-bound: the object may hold a Class1 where nothing rules it out.

public static string RenameLateBoundLabel(string className, bool isBacked, CultureInfo? culture = null)

Parameters

className string

The name of the class the symbol is a member of.

isBacked bool

Whether what is known of the objects backs the member.

culture CultureInfo

The language of the reader; the current UI culture by default.

Returns

string

RenameLateBoundLeave(CultureInfo?)

The answer to RenameLateBoundQuestion(string, string, bool, int, string, CultureInfo?) that renames the symbol and leaves the late-bound accesses as they are.

public static string RenameLateBoundLeave(CultureInfo? culture = null)

Parameters

culture CultureInfo

The language of the reader; the current UI culture by default.

Returns

string

RenameLateBoundQuestion(string, string, bool, int, string, CultureInfo?)

What a client that does not take change annotations asks its user before the rename edits the members accessed late-bound that may be the symbol: 'Foo' is accessed late-bound on objects that hold a Class1, in 2 places, the first at Module1 4:12. Rename it there too?

public static string RenameLateBoundQuestion(string name, string className, bool isBacked, int count, string where, CultureInfo? culture = null)

Parameters

name string

The name the symbol is declared with.

className string

The name of the class the symbol is a member of.

isBacked bool

Whether what is known of the objects backs the member.

count int

How many late-bound accesses the rename edits.

where string

Where the first of them is, as the client names a position.

culture CultureInfo

The language of the reader; the current UI culture by default.

Returns

string

RenameLateBoundRename(CultureInfo?)

The answer to RenameLateBoundQuestion(string, string, bool, int, string, CultureInfo?) that renames the late-bound accesses too.

public static string RenameLateBoundRename(CultureInfo? culture = null)

Parameters

culture CultureInfo

The language of the reader; the current UI culture by default.

Returns

string

RenameOutsideCallersCancel(CultureInfo?)

The answer to RenameOutsideCallersQuestion(string, CultureInfo?) that renames nothing: the whole rename is canceled.

public static string RenameOutsideCallersCancel(CultureInfo? culture = null)

Parameters

culture CultureInfo

The language of the reader; the current UI culture by default.

Returns

string

RenameOutsideCallersDescription(string, CultureInfo?)

What the edits of RenameOutsideCallersLabel(CultureInfo?) are, less prominently than the label (LSP 3.17 ChangeAnnotation.description): why the user is asked, and that declining them cancels the rename.

public static string RenameOutsideCallersDescription(string name, CultureInfo? culture = null)

Parameters

name string

The name the procedure is declared with.

culture CultureInfo

The language of the reader; the current UI culture by default.

Returns

string

RenameOutsideCallersLabel(CultureInfo?)

The label of the edits of a rename of a Public procedure of a standard module, which something outside the code may call by its name (a list of macros, a button, another project): May be called by its name from outside the code. A client that takes change annotations shows it with the edits it asks its user to confirm (LSP 3.17 ChangeAnnotation.label); declining them cancels the rename.

public static string RenameOutsideCallersLabel(CultureInfo? culture = null)

Parameters

culture CultureInfo

The language of the reader; the current UI culture by default.

Returns

string

RenameOutsideCallersQuestion(string, CultureInfo?)

What the user of a client that does not take change annotations is asked, before the edits of a rename of a Public procedure of a standard module are sent to it: 'Foo' is a Public procedure of a standard module: […] Rename it anyway?

public static string RenameOutsideCallersQuestion(string name, CultureInfo? culture = null)

Parameters

name string

The name the procedure is declared with.

culture CultureInfo

The language of the reader; the current UI culture by default.

Returns

string

RenameOutsideCallersRename(CultureInfo?)

The answer to RenameOutsideCallersQuestion(string, CultureInfo?) that renames the procedure.

public static string RenameOutsideCallersRename(CultureInfo? culture = null)

Parameters

culture CultureInfo

The language of the reader; the current UI culture by default.

Returns

string

RenameTo(string, string, CultureInfo?)

The title of the code action that renames a symbol to a name it suggests: Rename 'strName' to 'Name'.

public static string RenameTo(string name, string newName, CultureInfo? culture = null)

Parameters

name string

The name the symbol is declared with.

newName string

The name it is renamed to.

culture CultureInfo

The language of the reader; the current UI culture by default.

Returns

string

SettingListNotTaken(CultureInfo?)

Why the language server does not change a list of the client's settings: the client does not accept such changes from it (ListSettingValue).

public static string SettingListNotTaken(CultureInfo? culture = null)

Parameters

culture CultureInfo

The language of the reader; the current UI culture by default.

Returns

string