diff --git a/packages/editor/src/browser/editor-contribution.ts b/packages/editor/src/browser/editor-contribution.ts index e0d8deb15c910..73cc0e8057f2c 100644 --- a/packages/editor/src/browser/editor-contribution.ts +++ b/packages/editor/src/browser/editor-contribution.ts @@ -112,7 +112,8 @@ export class EditorContribution implements FrontendApplicationContribution, Comm text: languageName, alignment: StatusBarAlignment.RIGHT, priority: 1, - command: EditorCommands.CHANGE_LANGUAGE.id + command: EditorCommands.CHANGE_LANGUAGE.id, + tooltip: 'Select Language Mode' }); } @@ -125,7 +126,8 @@ export class EditorContribution implements FrontendApplicationContribution, Comm text: SUPPORTED_ENCODINGS[editor.getEncoding()].labelShort, alignment: StatusBarAlignment.RIGHT, priority: 10, - command: EditorCommands.CHANGE_ENCODING.id + command: EditorCommands.CHANGE_ENCODING.id, + tooltip: 'Select Encoding' }); } @@ -138,7 +140,9 @@ export class EditorContribution implements FrontendApplicationContribution, Comm this.statusBar.setElement('editor-status-cursor-position', { text: `Ln ${cursor.line + 1}, Col ${editor.getVisibleColumn(cursor)}`, alignment: StatusBarAlignment.RIGHT, - priority: 100 + priority: 100, + tooltip: 'Go To Line', + command: 'editor.action.gotoLine' }); } diff --git a/packages/monaco/src/browser/monaco-status-bar-contribution.ts b/packages/monaco/src/browser/monaco-status-bar-contribution.ts index 1e77eaf77f1c6..c28a8e3c2b204 100644 --- a/packages/monaco/src/browser/monaco-status-bar-contribution.ts +++ b/packages/monaco/src/browser/monaco-status-bar-contribution.ts @@ -71,7 +71,8 @@ export class MonacoStatusBarContribution implements FrontendApplicationContribut text: `${useSpaceOrTab}: ${tabSize}`, alignment: StatusBarAlignment.RIGHT, priority: 10, - command: EditorCommands.CONFIG_INDENTATION.id + command: EditorCommands.CONFIG_INDENTATION.id, + tooltip: 'Select Indentation' }); } } @@ -89,7 +90,8 @@ export class MonacoStatusBarContribution implements FrontendApplicationContribut text: `${text}`, alignment: StatusBarAlignment.RIGHT, priority: 11, - command: EditorCommands.CONFIG_EOL.id + command: EditorCommands.CONFIG_EOL.id, + tooltip: 'Select End Of Line Sequence' }); } }