Drag & Drop into VS Code
Hey Guys,
I've switched to VS Code as my primary LaTeX editor.
When using TexMaker I was able to drag&drop the citekey from zotero directly into my latex source.
Is it possible to obtain this functionality with VS Code?
If so, how can I configure Zotero to enable it?
I've switched to VS Code as my primary LaTeX editor.
When using TexMaker I was able to drag&drop the citekey from zotero directly into my latex source.
Is it possible to obtain this functionality with VS Code?
If so, how can I configure Zotero to enable it?
Somehow Zotero does not recognize VSCode as editor to perform a drag&drop to.
Right now the Drag & Drop only works with using Texmaker.
Notepad, Notepad++ and VSCode are not recognized as quick drop targets (see https://github.com/retorquere/zotero-better-bibtex/issues/1085)
How can I register an editor as quick drop target?
You should see the same behavior as when selecting text in Firefox and dragging that to a text field in another program. I'm not sure what you mean by that. Zotero only generates data in the format specified in the Quick Copy settings, so if you specified the citekey format it wouldn't generate a bibliography.
In any case, if drag and drop isn't working, you can just use the Quick Copy keyboard shortcut (C, for an export format) to copy and then paste into VS Code manually.
I did some investigation in the problem and it look like VS Code does not support Drag & Drop text from outside the editor. (see https://github.com/Microsoft/vscode/issues/42094)
To bypass the problem you can indeed just use the quick copy keyboard shortcut (crtl+shift+c) to copy the citation to your clipboard and paste it into the editor.
I will update this discussion as soon as VS Code supports drag&drop from the outside.
I've just released my Zotero extension for VS Code and I would love to hear your feedback and whether this solves your problem. Thank you :)
https://marketplace.visualstudio.com/items?itemName=mblode.zotero
https://zotero.org/support/plugins
Once this is resolved, I'll add it to the plugin page :)
Using the logo in some form is fine, but if you do we'd ask that you use a combo image, similar to what the Brackets integration does. Our guidelines say that the icon can be used to promote Zotero, but using it as the sole icon for another piece of software is a bit confusing.
Thanks, and sorry for the trouble.
I don't believe I have the admin privileges to update the https://www.zotero.org/support/plugins docs