psi icon indicating copy to clipboard operation
psi copied to clipboard

Renaming Streams in PsiStudio

Open NathanielKBlan opened this issue 2 years ago • 1 comments

Hi, I was wondering if there is any way to rename streams within PsiStudio.

NathanielKBlan avatar Apr 08 '22 00:04 NathanielKBlan

There is not currently a way to rename streams in place, without copying to a new store. And there is not an easy way to achieve this in PsiStudio, without writing some custom code.

The easiest path might be to write a little app that simply loads the store and persists all the streams to a new store, changing any names that you wish along the way. You can then load the new store in PsiStudio.

Another potential path would be to define a new BatchProcessingTask that rewrites stream names as you wish. You could then point PsiStudio to the assembly containing that task, and then execute the task on your data within PsiStudio. This approach isn't well documented, so let me know if you're interested in this path, and I can help guide.

sandrist avatar Apr 08 '22 23:04 sandrist