ts2asl icon indicating copy to clipboard operation
ts2asl copied to clipboard

feature: Use source comment to set step name (if given), rather than paraphrasing the source code

Open dmeehan1968 opened this issue 1 year ago • 0 comments

e.g.

// Update User
asl.sdk(DynamoDB).updateItem(...)

The AST appears to include the preceeding comment as part of the block, but would need a regex or similar to extract any pertinent part, as it might be multiline or irrelevant. Possible that a token could be used, either jsdoc style or something like // Name: xxx. The same could be said for the comment.

dmeehan1968 avatar Oct 26 '23 12:10 dmeehan1968