code2latexEver wanted to include your code into a TeX document, but you're too lazy to relearn how to or format it properly so it displays exactly like you want it to?
FeaturesThis extension provides two commands, which only really matter if you have muliple cursors (for single cursor slections, both are equivalent):
The extension preserves the whitespace and formatting of your code exactly as it is displayed in VSCode, without alteration. The output LaTeX code is presented in a new editor window, where you can easily copy, edit and save the code as you would normally.
To use the extension, select some text (multiple cursor selction supported as well), open the command panel ( RequirementsWhile the extension itself doesn't have any requirements, to execute the generated TeX you'll need to have the Extension SettingsThere aren't any configurable settings at the moment, but there might be more options for formatting and color theming etc. in the future. (submit a PR if you'd like to!) Release Notes1.0.0Initial release of Enjoy, and please leave a review if you find this useful! :) |