ThFriedrich / lammps_vscode

VSCODE extension for language support of LAMMPS scripts
https://thfriedrich.github.io/lammps_vscode/
GNU General Public License v2.0
44 stars 14 forks source link

create outline #52

Closed thangckt closed 1 year ago

thangckt commented 1 year ago

Dear developers,

Can you let an ability to show an outline when opening the LAMMPS script in vscode. This will help to quickly navigate to a part of code in the case of long file. We can define a convention to specify the heading, for example ##!# ..., ##!## ...,

Thank you.

ThFriedrich commented 1 year ago

Hi @thangckt I've just pushed an update that provides Symbols, using the extension-specific folding start-marker('#[' = Start Marker, '#]' = End Marker) as reference point: image This provides an Outline as you probably expect. This feature will ship with the next release shortly. I'm gonna close this issue as I feel confident that implements what you're asking for. If there's anything more, feel free to reopen the issue. :)

Best Thomas

thangckt commented 1 year ago

It is looked great

Thank you @ThFriedrich