structure-codes / vscode-tree-language

Syntax highlighting support for .tree files
https://marketplace.visualstudio.com/items?itemName=CTC.vscode-tree-extension
MIT License
11 stars 1 forks source link

can not parse the last node of the tree file #15

Open Reihold-Chen opened 2 years ago

Reihold-Chen commented 2 years ago

hi, i find that the extension cannot parse the last node of the tree file image This plugin has greatly improved my productivity. Thank you for your work. : ) it will be wonderful if this bug can be fixed !

Hacksore commented 2 years ago

@Reihold-Chen can you please share the example tree text just for reference.

Reihold-Chen commented 2 years ago

@Reihold-Chen can you please share the example tree text just for reference.

Thank you for your reply. It is too long to paste here. you can get it from filetree_L3.tree

Hacksore commented 2 years ago

@Reihold-Chen I am guessing this is just caused by the way the tree was generated.

There is limited support for using native tree programs as the spacing is much out of our control.

It's advised to use the struct for the best results.

I'll let @alex-oser add more commentary if this is something he can solve.