Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
This article describes several Java-focused tools that are available through GitHub Copilot modernization. These tools provide more flexibility for day-to-day development and code maintenance. You can invoke them directly in Copilot Chat by using the # prefix.
Validation
#appmod-validate-cves-for-javaScans your project for known Java-related Common Vulnerabilities and Exposures (CVEs) and validates that critical vulnerabilities are addressed.
Sample prompt:
Check if there's any CVE issues in this Java project using #appmod-validate-cves-for-java
Unit testing
#appmod-generate-tests-for-javaUses AI-based code understanding to automatically create unit tests for your Java code.
Sample prompt:
Generate unit tests for this Java project using #appmod-generate-tests-for-java
These tools help streamline the Java development lifecycle. They make it easier to adopt best practices for upgrades, testing, and security validation, regardless of whether you're in an upgrade session.