codeque-co / codeque

Find and lint complex code patterns effortlessly
https://codeque.co
Other
134 stars 6 forks source link

Ability to edit files in results #42

Open paustint opened 2 months ago

paustint commented 2 months ago

Since there is not a replace command available, it would be really convinient if I could edit to files directly in the displayed results.

date-fns just released a large breaking change where import parseISO from 'date-fns/parseISO'; needs to be a named export import {parseISO} from 'date-fns/parseISO'; and there are 113 occurrences in the codebase, so this is an annoying task.

It would be useful to make edits without having to open each file up one by one in separate tabs 113 times. (replacement would be ideal - but that would be very difficult for most use-cases)


my use-case is solved via native VSCode regex replacement, but for cases where that is not supported, inline editing would be really nice image

jayu commented 2 months ago

Hey, thanks for that idea! I was thinking to introduce this at some point.

I'm working on replace functionality right now, I will be launching it soon, but it will be a paid feature.

If you are interested please join CodeQue newsletter to get discount for early adopters 😊 I will be lunching this internally first.

https://jayu.dev/newsletter