SharePoint / SharePoint/sp-dev-docs
How can I integrate AI tools with Visual Studio Code to enhance and accelerate SPFx development?
@Ashlesha-MSFT is already working on this.
Since May 19, 2026.
- Dominant language
- PowerShell
- Stars
- 1.4k
- Forks
- 1.1k
- Avg merge
- 4d 12h
- Merged PRs (30d)
- 12
Description
What type of issue is this?
Question
What SharePoint development model, framework, SDK or API is this about?
💥 SharePoint Framework
Target SharePoint environment
SharePoint Online
What browser(s) / client(s) have you tested
- 💥 Internet Explorer
- 💥 Microsoft Edge
- 💥 Google Chrome
- 💥 FireFox
- 💥 Safari
- mobile (iOS/iPadOS)
- mobile (Android)
- not applicable
- other (enter in the "Additional environment details" area below)
Additional environment details
browser version - 47.0.7727.56
SPFx version - 1.21.1
Node.js version - 22.14.0
PnP JS - 4.17.0
Issue description
Hello Everyone,
I am currently working on an SPFx project with React, and the project is running smoothly.
I am currently working with a Microsoft 365 E5 license along with Microsoft Copilot. For development, I use Visual Studio Code and Azure DevOps as my code repository. I have already implemented automation test cases using Playwright for the project.
Going forward, I would like to integrate AI to further enhance the project’s functionality. Specifically, I aim to leverage AI for code review during commits, improve and maintain existing automation test cases, and implement comprehensive unit test coverage.
To improve development efficiency, I have been exploring AI integration options and found that Microsoft Copilot, along with Claude, can work within Visual Studio Code to significantly boost SPFx development productivity with AI-powered capabilities.
Could anyone please guide me on how to effectively integrate and use Copilot with Visual Studio Code for SPFx development?
Thanks in advance.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.