icreon-accelerator-utility
August 27, 2024 · View on GitHub
Extension would provide below given features:
-
Perform code auditing against below given checklist items.
- Finding vulnerable and outdated npm packages.
- Finding unused and duplicate code and analyze the quality of code.
- Finding EsLint issues, licensed files and used npm packages.
-
Provide UI to write unit test cases for all the files in selected folder using ChatGPT.
- Developer will be able to choose the model.
- Test files will be created/updated automatically, reducing manual effort of copying the test cases.
-
Provide UI to search any prompt using ChatGPT.
- Developer will be able to choose the model.
-
Provide UI to search for npm packages and install them from the IDE itself.
- Developers will be able to search npm package and install them as ‘DEV' or 'PROD’ dependency, reducing the manual effort of searching & installing packages.
- NPM package details page, along with basic details, will also provide vulnerability details against each version and feature to scan any version for vulnerabilities.
- It will maintain search history.
-
Provide a UI with list of already defined solutions for common functionalities (like AzureAD integration in ReactJs).
- Developer will be able to explore & integrated the solution with a single click.
-
Provide a UI displaying the current project summary with below information.
- Tech Stack Used: Framework, language, style language, Webserver information (if available).
- Configuration Status: ESLint, Unit tests, Content Security Policy (CSP) configurations status.
- Scripts Added: Developer can run any script command from UI.
- Additionally, displayed list of standard VSCode extension, that may be useful for developers. Can be installed from the UI.
Installation
- Install Visual Studio Code 0.10.1 or higher.
- Launch VS Code.
- Launch the command palette by using Ctrl-Shift-P (Windows, Linux) or Cmd-Shift-P (OSX).
- Type in Install Extension and select 'Extensions : Install Extensions'.
- Type Icreon Accelerator: Utilities.
- Choose the extension from the drop down.
- Reload Visual Studio Code.
Usage
From Context Menu
- Right click on package-lock.json file in File Explorer.
- Select 'Icreon Accelerator: Utilities' from the context menu.
For Writing Unit Test Cases
- Right click on folder in File Explorer.
- Select 'Icreon Accelerator: Add Unit Tests' from the context menu.