microsoft / Power-Fx

Power Fx low-code programming language
MIT License
3.18k stars 321 forks source link

Adds expression re-writing capabilities in LSP InitialFixup method. #2453

Closed jas-valgotar closed 3 months ago

MikeStall commented 3 months ago
    private readonly Dictionary<string, CodeFixHandler> _handlers = new Dictionary<string, CodeFixHandler>();

Can fixup be here (instead of engine)?

EditorContextScope already has other state, like code fix handlers.


Refers to: src/libraries/Microsoft.PowerFx.LanguageServerProtocol/Public/EditorContextScope.cs:42 in 30406d6. [](commit_id = 30406d6a7951c5d9b955098b09d5d3bea2d5d3a9, deletion_comment = False)

LucGenetier commented 3 months ago

✅ No public API change.

LucGenetier commented 3 months ago

✅ No public API change.