Skip to content

Commit

Permalink
Removed @link from parameters
Browse files Browse the repository at this point in the history
Signed-off-by: GitHub <noreply@github.com>
  • Loading branch information
JonasHelming authored Oct 20, 2020
1 parent a0e9de1 commit 61b9740
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions packages/core/src/browser/keybinding.ts
Original file line number Diff line number Diff line change
Expand Up @@ -168,7 +168,7 @@ export class KeybindingRegistry {
*
* Keybindings registered later have higher priority during evaluation.
*
* @param binding the {@link common.Keybinding} to be registered
* @param binding the keybinding to be registered
*/
registerKeybinding(binding: common.Keybinding): Disposable {
return this.doRegisterKeybinding(binding);
Expand All @@ -177,7 +177,7 @@ export class KeybindingRegistry {
/**
* Register multiple default keybindings to the registry
*
* @param bindings An array of {@link common.Keybinding} to be registered
* @param bindings An array of keybinding to be registered
*/
registerKeybindings(...bindings: common.Keybinding[]): Disposable {
return this.doRegisterKeybindings(bindings, KeybindingScope.DEFAULT);
Expand All @@ -186,7 +186,7 @@ export class KeybindingRegistry {
/**
* Unregister all keybindings from the registry that are bound to the key of the given keybinding
*
* @param binding a {@link common.Keybinding} specifying the key to be unregistered
* @param binding a keybinding specifying the key to be unregistered
*/
unregisterKeybinding(binding: common.Keybinding): void;
/**
Expand Down Expand Up @@ -268,8 +268,8 @@ export class KeybindingRegistry {

/**
* Checks whether a colliding {@link common.Keybinding} exists in a specific scope.
* @param binding the {@link common.Keybinding} to check
* @param scope the {@link KeybindingScope} to check
* @param binding the keybinding to check
* @param scope the keybinding scope to check
* @returns true if there is a colliding keybinding
*/
containsKeybindingInScope(binding: common.Keybinding, scope = KeybindingScope.USER): boolean {
Expand All @@ -291,7 +291,7 @@ export class KeybindingRegistry {
/**
* Get a user visible representation of a {@link common.Keybinding}.
* @returns an array of strings representing all elements of the {@link KeySequence} defined by the {@link common.Keybinding}
* @param keybinding the {@link common.Keybinding}
* @param keybinding the keybinding
* @param separator the separator to be used to stringify {@link KeyCode}s that are part of the {@link KeySequence}
*/
acceleratorFor(keybinding: common.Keybinding, separator: string = ' '): string[] {
Expand All @@ -302,7 +302,7 @@ export class KeybindingRegistry {
/**
* Get a user visible representation of a {@link KeySequence}.
* @returns an array of strings representing all elements of the {@link KeySequence}
* @param keySequence the {@link KeySequence}
* @param keySequence the keysequence
* @param separator the separator to be used to stringify {@link KeyCode}s that are part of the {@link KeySequence}
*/
acceleratorForSequence(keySequence: KeySequence, separator: string = ' '): string[] {
Expand Down Expand Up @@ -595,7 +595,7 @@ export class KeybindingRegistry {

/**
* Sets a new keymap replacing all existing {@link common.Keybinding}s in the given scope.
* @param scope the {@link KeybindingScope}
* @param scope the keybinding scope
* @param bindings an array containing the new {@link common.Keybinding}s
*/
setKeymap(scope: KeybindingScope, bindings: common.Keybinding[]): void {
Expand Down Expand Up @@ -629,7 +629,7 @@ export class KeybindingRegistry {
/**
* Get all {@link common.Keybinding}s for a {@link KeybindingScope}.
* @returns an array of {@link common.ScopedKeybinding}
* @param scope the {@link KeybindingScope} to retrieve the {@link common.Keybinding}s for.
* @param scope the keybinding scope to retrieve the {@link common.Keybinding}s for.
*/
getKeybindingsByScope(scope: KeybindingScope): ScopedKeybinding[] {
return this.keymaps[scope];
Expand Down

0 comments on commit 61b9740

Please sign in to comment.