Rename Symbol
AlexHaxe edited this page Aug 1, 2022
·
6 revisions
Pages 36
Setup
Features
- Tasks
- Debugging
- Commands
- Dependency Explorer
- Auto Indentation
- Completion
- Postfix Completion
- Snippets
- Code Generation
- Signature Help
- Hover Hints
- Go to Definition
- Go to Type Definition
- Go to Implementations
- Peek Definition
- Find All References
- Rename Symbol
- Document Symbols
- Workspace Symbols
- Outline
- Folding
- Diagnostics
- Code Actions
- Code Lens
- Formatting
- Extension API
- Inlay Hints
Noteworthy Releases
Clone this wiki locally
"Rename Symbol" (F2) allows you to rename variables, fields, function parameters, types or packages. It's smart enough to deal with shadowing or conflicts with existing field names:
"Rename symbol" uses rename lib to provide all rename and file move information.
Known issues:
- you need to save all your files before a rename, otherwise positions will be off and your code might break
- rename will only look in folders specified via
haxe.renameSourceFolders
config option (defaults to["src, "source", "Source", "test", "tests"]
), if you use additional source folders, you need to add them, otherwise they won't be included when renaming
make sure you preview any changes before appling them.