p42ai / js-assistant

120+ refactorings and code-assists for Visual Studio Code
https://marketplace.visualstudio.com/items?itemName=p42ai.refactor
MIT License
119 stars 7 forks source link

Move In #44

Open hediet opened 1 year ago

hediet commented 1 year ago
this.debouncer.run(() => {

});
f|or (const handler of this._previewHandlers) {
    handler.handlePreview(state);
}

->

this.debouncer.run(() => {
    f|or (const handler of this._previewHandlers) {
        handler.handlePreview(state);
    }
});
lgrammel commented 1 year ago

There is I think a more general move in / move out class in addition to left/right/up/down (example: jsx attributes, blocks). I'll probably have a separate shortcut for this, possibly a modification of move up / down (adding another modifier key).