import { Position , Range , Selection , window } from 'vscode' ; import { VersionedTextDocumentIdentifier } from 'vscode-languageclient' ; import langService from './services/langService' ; export async function executeCodeModCommand ( ) { if ( ! window . activeTextEditor ) { return ; } const document = window . activeTextEditor . document ; const documentRef = { uri : document . uri . toString ( ) , version : document . version , } ; const selection = window . activeTextEditor . selection ; }