memo
memo copied to clipboard
Better logging for commands in general
For some reason this command isn't working for me
Paste html as markdown
And I went to read the source code and debug it
However, it's really hard to pin point where the issue is happening
https://github.com/svsool/memo/blob/525e777487aa7321c7cf2ff2d5548676371338e2/src/commands/pasteHtmlAsMarkdown.ts#L11-L35
When I issue the command nothing happens. There could be multiple reasons why thats not happening
- Is vscode bugged and not issuing the comamnd?
- Is editor a falsy value?
- Are selections empty?
I'm just going to manually use turndown for now but I hope you add more logging so its easier to troubleshoot
I mean I could clone it and go through the whole debugging myself but at the moment its just not worth the time
Maybe you could paste what you are trying to copy to reproduce the problem.
Also what version you are using and in which env.
Thanks
@svsool I followed the gif you shown
Using windows
lastest version of the extension in vscode
vs code is latest I believe
Btw, if you are trying to fix the problem I am encountering, you are missingn the point of the issue
Will you add logging options?