Fork me on GitHub

Is it possible to use structural editing to convert nested inline code to a threaded form? It only seems to work one s-expression at a time and that's not very useful so maybe I'm missing how it's supposed to work

👀 1

When I select the whole form it says it needs to be in a list to work


how I use the feature is that I put the caret to the innermost form (i.e. what I want to be the first arg in the thread) and then repeatedly execute "thread form" until the threading macro is where I want it to be

💯 2

exactly! think of it as picking up the end of the thread and start pulling it.