Closed
Description
From @nseba on November 17, 2017 9:34
It would be very useful if refactoring actions such as declare member variable, implement interface/abstract class etc. would take into account the relevant ts-lint rules. At a minimum the following rules can be enforced:
member-access
- add explicitpublic | private
modifier to newly generated membersmember-ordering
- add the members in their right place (for example public fields after existing public fields, methods after existing public methods etc.)promise-function-async
- automatically add theasync
modifier.quotemark
- use the right quotes/single quotes for automatic import declarations
As a small side note implementing abstract base class refactoring should also add automatically the async
modifier if it exists on the abstract member.
Copied from original issue: microsoft/vscode#38603