import * as vscode from 'vscode' ; param context export function registerInternalCommands ( context ) { context . subscriptions . push ( vscode . commands . registerTextEditorCommand ( 'msbuildProjectTools.internal.moveAndSuggest' , moveAndSuggest ) ) ; } param editor param edit param moveTo param moveBy param moveCount async function moveAndSuggest ( editor , edit , moveTo , moveBy , moveCount ) { if ( ! moveTo || ! moveBy || ! moveCount ) return ; await vscode . commands . executeCommand ( 'cursorMove' , { value : moveCount , to : moveTo , by : moveBy } ) ; await vscode . commands . executeCommand ( 'editor.action.triggerSuggest' ) ; }