text: const vscode = require('vscode');
  const generate = require("../utilities/lorem_ipsum");
  
  async function execute() {
      var count = await vscode.window.showInputBox({ ignoreFocusOut: true, placeHolder: 'Number of words to generate', validateInput });
      count = parseInt(count);
      if (!count) return;
  
      const editor = vscode.window.activeTextEditor;
      editor.edit(edit => edit.insert(editor.selection.active, generate(count).join` `));
  
      console.log(new Date().toISOString(), 'Generated', count, 'words');
  };
  
  const validateInput = value => isNaN(value) ? 'Please enter a number' : value > 100000 ? 'Number too high' : null;
  
  module.exports = { name: "word", execute };