IBM® watsonx™ Code AssistantOverviewIBM® watsonx™ Code Assistant is an innovative, generative AI coding companion that offers robust, contextually aware assistance for popular programming languages including Go, C, C++, Java, JavaScript, Python, TypeScript, and more. Seamlessly integrated into your IDE, you can accelerate your productivity and simplify coding tasks, all with trust, security, and compliance. Get code suggestions
Use chat conversations: Use natural language prompts in chat conversation to generate code suggestions.
Code completion: Complete code in the editor. Start typing a line of code, and watsonx Code Assistant adds a code suggestion to complete the line that you typed.
Reference code: Use a code reference to ask questions or refine a specific file, class, function, or method in your workspace. As part of your chat message, type the @ symbol to see a list of files, classes, and methods from your workspace. Generate unit tests
Create unit tests to evaluate your code functions. ![]() Document code
Generate comment lines that document what your code does. ![]() Explain code
Use generative AI to analyze and summarize your code to understand what the code does. ![]() Translate code from one language to another
Convert code. In a chat conversation, use the syntax ![]() Modernize enterprise Java applicationsThe additional IBM® watsonx™ Code Assistant for Enterprise Java Applications extension adds features for Java application upgrades and modernization, and enhanced code explanation and unit test generation. ![]() SetupSetting up your watsonx Code Assistant service in IBM CloudProvision a watsonx Code Assistant service instance on IBM Cloud for your organization to get the best performance and the full set of features. For more information, see Setting up your watsonx Code Assistant service in IBM Cloud. Using watsonx Code Assistant Individual with a local IBM Granite modelYou can use watsonx Code Assistant Individual to access a local IBM Granite model. For more information, see Using watsonx Code Assistant Individual with a local IBM Granite model. Securing your setupIBM watsonx Code Assistant does not provide any additional security controls. For more information, see Secure your setup. Product documentationFor more information, see the IBM watsonx Code Assistant documentation. |