TextTransformThis shall be a simple extension to provide basic text transformations (like to uppercase, to lowercase) - which are still not included in vscode itself. Because providing just this would be to simple the extension is extensible itself so further, also asynchronous and more complex transformations can easily be added. Therefore text transformation handlers can be registered at the core of the extension. The core then takes care of the registration at the vscode extension system on the one hand and the handling of the selections on the other hand. Currently there are three transformations included:
* a word is always starting after a common whitespace character + at the start of the selection How to contribute a new transformationWriting a new transformation is easy as pie - you just have to implement the abstract class ´´Transformation´´ and register it afterwards. Handling of (multiple) selections and async processing comes for free! Step 1: Inherit from ``Transformation```
Step 2:
In
Step 3:
In
Step 4: Test your code and open a pull request! |