This documentation applies to the on-premises installation of watsonx Code Assistant on IBM Software Hub. For IBM Cloud documentation, see Overview of watsonx Code Assistant.
Using watsonx Code Assistant
IBM watsonx Code Assistant is an innovative, generative AI coding companion that offers robust, contextually aware assistance for popular programming languages including C, C++, Go, Java, JavaScript, Python, and TypeScript. Seamlessly integrated into your IDE, you can accelerate your productivity and simplify coding tasks, all with trust, security, and compliance.
| Task | Description |
|---|---|
| Get code suggestions | Generate code suggestions by using chat conversations or completing code in the editor. |
| Explain code | Use generative AI to analyze and summarize your code to understand what the code does. |
| Document code | Generate comment lines that document what your code does |
| Generate unit tests | Generate unit tests for various programming languages from the chat, the CodeLens in the editor, or the context menu. |
| Translate code from one language to another | Use the /translate command in the chat window to translate code from one language to the other. |
| Modernize Java applications | You can modernize your WebSphere Application Server traditional application to Liberty. To modernize your application, you first upload a migration bundle or build and analyze your application, and then fix your application issues. |
| Upgrade the Java version for applications | To upgrade your Java code, you first build and analyze your application, and then fix any issues that are identified. Depending on the issues to fix, the ability to fix them can be automated, assisted, or self-directed. |