liuderchi / ide-yaml

:atom: Atom-IDE support for YAML language
https://atom.io/packages/ide-yaml
20 stars 7 forks source link

Outline view is not usable for highly nested yaml #48

Open AqlaSolutions opened 4 years ago

AqlaSolutions commented 4 years ago
liuderchi commented 4 years ago

@AqlaSolutions Would you kindly provide an example yaml file to reproduce it?

AqlaSolutions commented 4 years ago
Lines:
- Tag: опенер
  IsStart: true
  Jump: &opener_jumps
  - Line: начало_ветки
    If: AnyReply
  - Line: опенер
    If: NotResponding
  - Line: not_resp_норм_пообщ
    If: NotResponding
  Group:
  - Text: Привет, у тебя очень интересный профиль. Твои фотографии очень настоящие.
    Id: l[0][4]
    Jump: &anchor_dis
    - Line: тебе_это_показалось
      Priority: 10
      ReturnTo: *opener_jumps

gives

I expect it to show


Lines
 v Tag:...
    v Jump:
      v ....
    v Group
         Text: ...
      v Jump
         Line: ...
liuderchi commented 4 years ago

@AqlaSolutions looks like it's feature provided by yaml-language-server. Will try to feedback to the language server team for options to control this behavior.