CSL Preview for Visual Studio CodeA Visual Studio Code extension that permits to easily see previews of how Citation Style Language (CSL) code is structuring bibliographic data. It is strongly based in Zotero preview, available at Zotero style code editor. FeaturesShow CSL PreviewShow CSL Preview command can be fired by Visual Studio Code Command Palette or pressing the icon placed in the right top of text editor. Once the command is run, the user should select which bibliographic data source will be used by CSL Preview and then the preview window will be shown at right side of the active text editor. Bibliographic data displayed can be supplied from the standard extension data, from an user entried DOI, or from a used entried JSON file path. If the CSL code being edited presents errors that turn it inappropriate to structure bibliographic data, an CSL-validator output will be shown at the preview window informing the errors in the CSL code. When this command is fired with a text editor which already has an preview window it will turn the preview window active. Please, notice that Show CSL Command is available only when editor language is set to XML. When a .csl file is open, the editor language is automatically changed to XML. Refresh CSL PreviewThe CSL preview is not live time updated during code editing. However the preview can be quickly refreshed using the Refresh CSL Preview command, available in command palette, preview windows, and text editor windows (when the active text editor has an active preview window). Choose LocaleThe user can select the locale displayed in preview using the command Choose Locale or clicking in locale status bar item, which presents the locale being displayed in the preview. The full set of locales available at CSL locales repository is available. Known IssuesThere is no know issues at the moment. If you experience trobles when using the extension, please report it on extension GitHub repository. Release Notes0.2.2
0.2.1New functionality: Auto refresh preview
0.2.0New functionality additions:
0.1.0Initial release of CSL Preview for Visual Studio Code Initial features:
Enjoy! |