<link rel="stylesheet" href="/_merged_assets/_static/noscript.css">
Atom Community Logo Atom Community API Getting Started Toggle darkmode

Refactor GitHub

screenshot of refactor feature

API

RefactorProvider

Properties

grammarScopes

string[]

priority

number

Methods

rename

Parameters

editor
TextEditor
position
Point
newName
string

Returns

Promise<null|Map<string, TextEdit[]>>