vscode-codeFragments icon indicating copy to clipboard operation
vscode-codeFragments copied to clipboard

[Feature Request] Add ability to edit fragments

Open dcinzona opened this issue 7 years ago • 2 comments

Instead of having to paste and then modify and create a new one, have the ability to edit code fragments via context menu.

dcinzona avatar Apr 13 '18 15:04 dcinzona

Hi @dcinzona,

Good idea!
I did some thinking on how this could be implemented. What would be ideal is to open the content of the fragment in a "virtual" document, and be able to save it after editing. As it turns out, this is not possible today with the VSCode extension API (although many people are asking for it, so it might be implemented), so I'll have to look for some alternative approach.

markvincze avatar Apr 22 '18 10:04 markvincze

Its a great extension, but a handicap is editing the fragments. Any inspiration form this extension? https://marketplace.visualstudio.com/items?itemName=JonasGann.fragment-editor

Or some way to open the json directly instead of exporting/importing?

rajnisheu avatar Oct 06 '19 12:10 rajnisheu