---
name: watsonx-code-assistant-wca-reference-methods-languages
title: Language support when you work with methods
description: When you reference a method, or use CodeLens on a method, watsonx Code Assistant supports certain code languages. Referencing a full file works for all languages.
last-updated: 2025-03-28
---

> ## Documentation Index
> The table of contents for this documentation set is at https://cloud.ibm.com/docs/watsonx-code-assistant?format=markdown
> The index for all IBM Cloud docs is at: https://cloud.ibm.com/docs/llms.txt
> Use these files to discover more information as needed.

# Language support when you work with methods
{: #wca-reference-methods-language}

[watsonx Code Assistant]{: tag-blue}

When you reference a method, or use CodeLens on a method, watsonx Code Assistant supports certain code languages. Referencing a full file works for all languages.
{: shortdesc}

The following languages are supported when you work with methods:

- `Bash`
- `C`
- `C++`
- `C#`
- `Go`
- `Groovy`
- `Java`
- `JavaScript`
- `Kotlin`
- `PHP`
- `Python`
- `Ruby`
- `Rust`
- `SQL`
- `TSX`
- `TypeScript`