3/24/2023 0 Comments Word counter extension![]() ![]() Now that you have confirmed that the extension is running properly, you can keep the extension development window open if you like. You should find the "Hello World" command in the Command Palette (press kb()) and when you select it, you will see an information box at the top of the window saying "Hello World". As you saw in the previous "Hello World" walkthrough, VS Code opens another window (the window) in which your extension will be loaded. You can now open VS Code as described in the generator output: cd WordCountīefore we go on, we can run the extension to make sure everything works as expected by pressing kb(). For now, simply fill in the fields the same way you see them completed in the image below (putting in your own name as the publisher). ![]() This will open up the extension generator - we will base this example on the TypeScript New Extension option. Disposing Extension Resources - release resources like event subscriptions or UI handlesįirst make sure you have the latest VS Code extension generator installed then run it: npm install -g yo generator-code.Subscribing to Events - updating the Status Bar based on editor events. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |