StringResourceVisualizer icon indicating copy to clipboard operation
StringResourceVisualizer copied to clipboard

Investigate use of Editor Snapshots to improve performance

Open mrlacey opened this issue 7 years ago • 5 comments

Look to improve performance when updating the UI through the use of snapshots. See https://docs.microsoft.com/en-us/visualstudio/extensibility/inside-the-editor?view=vs-2017#a-closer-look-at-the-text-model-and-the-text-view

Also various entries in https://github.com/Microsoft/VSSDK-Extensibility-Samples/

mrlacey avatar Dec 02 '18 19:12 mrlacey

Also, investigate using e.NewOrReformattedLines in ResourceAdornmentManager.LayoutChangedHandler rather than iterating through all lines every time.

mrlacey avatar Dec 22 '18 19:12 mrlacey

As the extension fails to load in VS2017 (see #39 ), I tried it in VS2019 and here I get perf warnings

string_vis_extension_18s_delay

is this related to this issue?

MagicAndre1981 avatar Aug 30 '21 07:08 MagicAndre1981

As the extension fails to load in VS2017 (see #39 ), I tried it in VS2019 and here I get perf warnings

string_vis_extension_18s_delay

is this related to this issue?

It's possibly related. I haven't been able to track down the cause of the perf warning.

mrlacey avatar Aug 30 '21 13:08 mrlacey

Sorry for the delayed response. Recent illness has stopped me from working on anything but I hope to get to this eventually.

mrlacey avatar Oct 11 '21 11:10 mrlacey

Sorry for the delayed response. Recent illness has stopped me from working on anything but I hope to get to this eventually.

ok, hope you get well soon

MagicAndre1981 avatar Oct 12 '21 05:10 MagicAndre1981