I wouldn't object. You can usually view HTML versions of Jupyter notebooks in VR3 anyway. Jupyter is so evolved by now that it would be a losing battle to try to support all its capabilities, but outside of Jupyter. You can make your own (non-Jupyter but something like) notebooks to some extent with VR3, and I have found capability that useful.
oh! I remember now noticing about an older json export functionality, and forgot to ask about it... i would go in the same direction as you proposed.indeed the .leojs file format is somewhat more straightforward and complete as a JSON export format in itself.so i support removing the older json exporter (along with the jupyter one too: one less for me to mirror in leointeg/leojs ! )
There may be a possibility for round-tripping VR3 "notebooks" with Jupyter. For example, there is Jupytext. See also discussion on Github nbconvert issue 452. It might turn out that small enhancements to VR3 could support round-tripping between VR3 and Jupyter notebooks.
Of course, .ipynb files are not worth to support.
But it's bit sad to see that the JSON file is not supported, after all, json and yaml are two main configuration file formats.
Sometimes, I have to read hundred lines of JSON file, often tortured by indentation.
I wonder if there are any workarounds or indirect ways to help me improve the readability of JSON in the current situation, thanks in advance
Of course, .ipynb files are not worth to support.
I don't recall a proposal to abandon .json files. Can you refresh my memory?
I don't recall a proposal to abandon .json files. Can you refresh my memory?I read it in this thread:> The present importer for (special-format!) .json files is dangerously incorrect. It must either be rewritten or retired. I much prefer the latter option. Reading (and round-tripping) a full file format requires low-level outline operations that could corrupt the original outline. Imo, the risks far outweigh the rewards, which are likely to be nil :-)
In most cases reading a .json file into a single file is a good enough start. You can then convert the node to @clean and reorganize as you like.
In most cases reading a .json file into a single file is a good enough start. You can then convert the node to @clean and reorganize as you like.OK, it seems like a reasonable solution. Thanks Edward
In most cases reading a .json file into a single file is a good enough start. You can then convert the node to @clean and reorganize as you like.OK, it seems like a reasonable solution. Thanks Edward
As you re-organize a file like this, remember that the extract minibuffer command makes the process much easier. Add a line to the top of a block you want to extract, select the whole block, and the extract command will pull all those lines into a new node whose headline will be the line you added. The new node will be indented in the outline if the selected block was indented.
As you re-organize a file like this, remember that the extract minibuffer command makes the process much easier. Add a line to the top of a block you want to extract, select the whole block, and the extract command will pull all those lines into a new node whose headline will be the line you added. The new node will be indented in the outline if the selected block was indented.Amazing !!!I was planning to use `w.getSelectedText().strip()` to reinvent my wheel...
Once again, you saved me time, at least half an hour... Thanks!Hi, Thomas, I believe your daily workflow is an invaluable asset, as well as Edward....
This FAQ entry describes in detail how I use clones. I don't understand why more Leonistas don't follow my example :-)
There's a large difference between Edward's work flow and mine - not that either of us has a single "work flow", I'm sure. He likes to use clones extensively - often extracting them with the cff command, I think. I tend to search using the Nav tab and mark nodes of interest - I have my own key bindings to do that, since the bindings of the EditPlus editor were so familiar to me from years of pre-Leo use (of course, once you have marked some nodes you can clone them all with the clone-marked-nodes command). Instead of cloning I jump between them with the forward-back arrows and the goto-next-marked command, which I have bound to F4. When I want to keep looking back at the content of a node, I will usually keep it visible using the Freewin plugin (that ability is the main reason I wrote the plugin).
There's a large difference between Edward's work flow and mine - not that either of us has a single "work flow", I'm sure. He likes to use clones extensively - often extracting them with the cff command, I think. I tend to search using the Nav tab and mark nodes of interest - I have my own key bindings to do that, since the bindings of the EditPlus editor were so familiar to me from years of pre-Leo use (of course, once you have marked some nodes you can clone them all with the clone-marked-nodes command). Instead of cloning I jump between them with the forward-back arrows and the goto-next-marked command, which I have bound to F4. When I want to keep looking back at the content of a node, I will usually keep it visible using the Freewin plugin (that ability is the main reason I wrote the plugin).Hi, Thomas, If I'm right, i.e., you mainly use mark, clone to understand the problem,and Edward mainly aggregates all relevant content through cff and then filters it, right?
Also I looked at the freewin plugin and I don't quite understand why you need this?Does this plugin look like a panel + viewrender combination?Its functionality could be replaced by the powerful 'free layout', wouldn't it?Or is there anything else I missed?
Sometimes I think of a FW window as a kind of index card open next to the work in progress. Also, a FW window is a basic editor that is live on line with the underlying node. So even if you have selected some other node in the tree, if you see something that you want to change (in the FW's host node), you can just edit it in the FW window and save with CTRL-s as usual. No need to navigate back to that original node to make the change and then navigate back.Suppose you are working with three or four nodes, and you have cloned them under an organizing node somewhere, Since they are close together, you can easily move from one to another. But you can't see more than one at a time. Or instead of (or in addition to) cloning the nodes, you could open several of them in FW windows, and arrange those next to Leo's window. Now you could look from one to another without losing sight of the ones you navigated away from. This image shows a comparison between some of the prototype FW code to the final plugin code. If you can't see them at the same time it's harder to understand the differences. (BTW, FW windows now do syntax coloring; this wasn't in place at the time of the screenshot).Here is the thread in which I introduced the FW plugin. One of my posts in the thread has some screenshots where I tried to show ways I used it.
Thank you for providing a detailed explanation. By the way, I discovered the `add-editor` command, although it is not as versatile as the FW.
I always had trouble using an added editor. I was forever switching one to the wrong node because I didn't notice it was focused before navigating in the tree. Then I'd be typing into the wrong node. IIRC, that was one of the drivers for me to write the FW plugin. Also, the added editors only apply within one outline, whereas a FW window continues to be visible even after you switch to another outline. Another impetus was that VR3 could be used in a free layout separate window but it can't edit its host node, and it's not node-locked.
I found the g.getGitIssues function yesterday, it seems very useful.I'm trying to add support to handle private repo issues.
I might be more receptive to this idea if we can come up with a way for a user to change in and out of the stay-on-top property and the opacity. It won't work as one-size-fits-all, in my experience.
Thanks, Edward, I'll check it later