Closed p-spacek closed 8 months ago
after applying PR https://github.com/redhat-developer/yaml-language-server/pull/901 (- (array item) suggestion was missing for some specific situations, for example: enums.)
- (array item) suggestion was missing for some specific situations, for example: enums.
the inserted text - (array item) includes also a new line symbol the problem was there before that PR, but it's possible to reproduce it by the test case mentioned inside the PR:
- (array item)
https://user-images.githubusercontent.com/38421337/252634068-a856895b-f708-4dc9-917f-7b97a7b9988b.png
{ type: 'object', properties: { references: { type: 'array', items: { enum: ['item1', 'item2'] } } } }
the yaml after insert should looks like
stories: - item1 -
so no extra new line
stories: - item1 - # extra line
probably all
closing this, it's not worth bothering with it, I think...
Describe the bug
after applying PR https://github.com/redhat-developer/yaml-language-server/pull/901 (
- (array item) suggestion was missing for some specific situations, for example: enums.
)the inserted text
- (array item)
includes also a new line symbol the problem was there before that PR, but it's possible to reproduce it by the test case mentioned inside the PR:https://user-images.githubusercontent.com/38421337/252634068-a856895b-f708-4dc9-917f-7b97a7b9988b.png
Expected Behavior
the yaml after insert should looks like
so no extra new line
Current Behavior
Environment
probably all