Snippet maintenance - create/update

Hi there,

I consider snippets powerful and time savers. It could contain repeating building blocks handy available.

Unfortunately current implementation of snippet maintenance is odd - there is no support in Studio so the only way is to prepare the snippet as workflow under existing project and then move it to appropriate folder. In such case the snippet (workflow) will carry all the dependencies of parent project.

Would it be possible to integrate snippet management into Studio?

Thx,
Josef

@J0ska

Check this, maybe publishing your snippets as uipath libraries could help. You can even share it through orchestrator.

2 Likes

Hi,
Thx for reply.

I know about Libraries. But it is rather replacement of custom activities, i.e. building block that performs defined action. While Snippet I consider as a template/skeleton which might be further modified - like the “For Each File” snipped.

Cheers,
Josef

@Florent_Salendres you were asking on a different thread for workflow templates. What do you think about @J0ska idea of revamping Snippets section?

1 Like

Hi @MirceaGrigore

Snippet and template are two different concept aslo Visual studio so I would be rather keen of keeping them separated, which are both good productivity increase tools if used wisely, using different approach!

https://docs.microsoft.com/en-us/visualstudio/ide/code-snippets?view=vs-2017

https://docs.microsoft.com/en-us/visualstudio/ide/creating-project-and-item-templates?view=vs-2017

Snippet are meant for small adding in a workflow (no file) and template for starting / adding a new file(s) to a project.

Cheers

2 Likes

Hi @J0ska

Studio has a Snippet panel which allows you to add custom folders. These do not have to be (and probably shouldn’t) part of your project.

Please feel free to elaborate. I will mark it as Completed until then :slight_smile:

Hi @loginerror,
My point is about no support for creating/editing snippets from Studio.

Suggested enhancements:
1/ Extract as Snippet - similar to Extract as Workflow
2/ Edit snippet - allow edit existing snippet, currently it is only possible Open in read only mode

Cheers

1 Like

Thanks, that is nice and clear now :slight_smile: