Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [flux-dev] QuickFix prototype in Github

Hey Jay,

this is awesome. Haven’t looked at the code yet, but I am curious to learn how you are doing the file rewrite. Wanna share and discuss details here?

Cheers,
-Martin

> 
> Hello, 
> 
> I have pushed a first cut prototype of a quickfix prototype here: https://github.com/jarthana/flux 
> 
> Even for a prototype, this is in initial stage and I have added only the JDT side of things. Just so people can try out this feature, I have put some stuff in the embeddededitor.js. 
> 
> Currently the way the feature can be used is: 
> 
> 1. Keep the cursor at the problem location and press F6 - this will display the suggested quick fixes as bullet list in a hover. 
> 2. Keep the cursor at the problem location and press Ctrl + F6 - This will compute the quick fixes and apply the first quick fix automatically and rewrite the file being edited. 
> 
> The way I see the above use cases being integrated eventually: The quick fix service will cache the last quick fixes it sent to the editor in user session. The quick fixes are recognized by an ID, which will be sent back to the JDT service when the user selects one of them in the editor. Upon receiving confirmation, the fix will be applied. 
> 
> I have also put up a demo of the prototype here: http://youtu.be/DfQTuX2Kd8c 
> 
> Regards, 
> Jay 
> _______________________________________________
> flux-dev mailing list
> flux-dev@xxxxxxxxxxx
> To change your delivery options, retrieve your password, or unsubscribe from this list, visit
> https://dev.eclipse.org/mailman/listinfo/flux-dev



Back to the top