News for hackers. Stuff that matters.
Re:Comby - Structural code search and replace for every lang... by vanesa- on Tuesday May 17, 2022 @07:06PM (#31417295)
Sourcegraph Community Manager here. You can use the Sourcegraph extension for VSCode [1] that would allow you to have the structural search powered by Comby (or literal or regular expression search) inside of VSCode.

You can't do batch changes[2] inside of VSCode yet, only via the Sourcegraph CLI[3]. We're working on expanding this.

[1] https://marketplace.visualstudio.com/items?itemName=sourcegr... [2] https://docs.sourcegraph.com/batch_changes/explanations/intr... [3] https://docs.sourcegraph.com/cli

Re:Comby - Structural code search and replace for every lang... by kretaceous on Tuesday May 17, 2022 @08:03PM (#31417685)
Thanks for letting me know. I'll try it right away.
Re:Comby - Structural code search and replace for every lang... by horlux on Wednesday May 18, 2022 @04:34AM (#31420468)
anything similar for vim?
Re:Comby - Structural code search and replace for every lang... by vanesa- on Wednesday May 18, 2022 @09:25PM (#31429643)
We don't have an extension for Vim yet, but you can use Sourcegraph CLI[1] in your terminal. Feel free to file a feature request[2] though, which should help bump up the prioritization of a proper Vim extension.

[1] https://docs.sourcegraph.com/cli [2] https://github.com/sourcegraph/sourcegraph/issues/new?assign...