vscode-text-marker icon indicating copy to clipboard operation
vscode-text-marker copied to clipboard

Save file and transfer highlights

Open sleyden-nuance opened this issue 4 years ago • 2 comments

Hello,

I have a .json file in VSCode that I have highlighted appropriately and saved. When I give this file to my colleague and he installs the plugin - he can not see any of the highlights I have added - why is this? Is there anyway to save highlights to a file to be able to have your colleague see those highlights? Please let me know.

Thanks,

Scott

sleyden-nuance avatar Mar 19 '21 18:03 sleyden-nuance

Highlights are saved as textmarker.savedHighlights either in your user settings or workspace settings depending on your choice. Have you given that bit of the setting to your colleague and still he cannot see the highlight restored?

ryu1kn avatar Mar 20 '21 11:03 ryu1kn

Yes I was able to save the workspace settings for "textmarker.savedHighlights" and provide those settings to my colleagues and they were able to see the highlights. So each time I want to highlight selected code with a specific color and share with a colleague to perhaps change the highlight color or add more selected text highlights we must just share our workspace settings? Is there anyway to just provide highlights with file rather than have to give both the file and "settings.json file? Just seems like a lot of work to accomplish what I thought was a simple task.

sleyden-nuance avatar Mar 23 '21 18:03 sleyden-nuance