VS Code is highly oriented to files and folders on disk. Script files are stored within the ZIP file, under /Scripts/. LibreOffice by default uses files in the OpenDocument format, which are ZIP files with text files as contents (they inspired Office Open XML). I realize it would require an extension installed into LibreOffice, but the issue here is what would be required on the VS Code side (built-in, or via an extension). The procedure for writing a debugger extension is well-defined I imagine it should be possible to write an extension to LibreOffice that would convert it into a debugger adapter. VS Code already has language support for Javascript (built-in) and Python (extension) creating language server extensions for other languages should be relatively straightforward. I think this would be greatly appealing to the LibreOffice project, providing a single advanced cross-platform code editor with Intellisense and debugging capabilities. Is it feasible to leverage VS Code for all of these scenarios? Python - no built in editing support files have to be added manually.Javascript - using a packaged instance of the Rhino Javascript environment.BeanShell - using a packaged BeanShell editor.StarOffice Basic - using the built-in Basic code editor. ![]() Currently, LibreOffice (and variants) allow embedding scripts/macros inside a document, in one of four languages, each with a different editor with very different UIs:
0 Comments
Leave a Reply. |