A plugin which adds the ability to move functions around the file and switch them (like you can already do with single lines).
This ability helps to reformat and organize your code.
The plugin exposes a few actions, and it binds these to keyboard shortcuts:
- Move function up (
control+shift+up
). - Move function down (
control+shift+up
). - Sort functions in a selection (or entire document/class if no are is selected).
A list of programming languages this plugin supports:
- Javascript
No requirements nor extension settings for now.
First major release. Enough functionality available for casual use and productivity from the extension.
Support only for the JavaScript language.
- [Add] Support for JS classes.
Add support for sorting functions, either in selection or entire document (Issue #5)
Add support for the export
keyword (Issue #4);
Add support for arrow functions (JavaScript).
Writing the basics.
This repository is under the MIT license.
Created and maintained by Alon Alexander.