iteratec / bdd-power-tools

A VS Code extension providing syntax highlighting and step completion for .feature files
MIT License
1 stars 4 forks source link

Kindly bundle up extension #11

Closed Ajwah closed 4 years ago

Ajwah commented 4 years ago

Perhaps I did something wrong; when building it on my local; I get the following:

~/projects/bdd-power-tools$ vsce package
This extension consists of 1862 files, out of which 736 are JavaScript files. For performance reasons, you should bundle your extension: https://aka.ms/vscode-bundle-extension . You should also exclude unnecessary files by adding them to your .vscodeignore: https://aka.ms/vscode-vscodeignore
 DONE  Packaged: ~/projects/bdd-power-tools/bdd-power-tools-1.1.0.vsix (1862 files, 13.24MB)

When I install that extension locally, then Code (Renderer) is hitting over 100% CPU.

I only have this when I build it myself. If I install the extension through VSCode Marketplace instead, then I do not run into this issue. I guess I must have done something wrong; but if not then perhaps it may be beneficial to look into this matter so this extension does not end up being a performance bottleneck.