> For the complete documentation index, see [llms.txt](https://docs.poshtools.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.poshtools.com/powershell-pro-tools-documentation/visual-studio-code/rename-symbols.md).

# Rename Symbols

You can press F2 on variables within Visual Studio Code to rename them across the workspace or function you are working in.&#x20;

## Variables

### Global Scope

Renaming variables that appear at the top level scope will rename them across the workspace.&#x20;

![](/files/-Ma-Z0JEx1YO27lBZTE5)

### Function Scope

Function scoped variables will only be renamed within the function you are working with.&#x20;

![](/files/-Ma-Z784fvzHEU1gEBS8)
