Open
Description
Summary of the new feature
'As a developer I want a script segment to be extracted out as a function so that function can be used in other scripts files as well.'
Proposed technical implementation details (optional)
This is common functionality provided in VS code
https://code.visualstudio.com/docs/editor/refactoring
https://refactoring.com/catalog/extractFunction.html