Default values not applying #1333
-
I am trying to add a default value to a property, as implemented in #1165 and tested in However, trying the same approach on 2.1.0 returns the parsing error
I am trying to embed documentation into my grammar that I can use in a hoverProvider to explain terms/syntax. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 3 replies
-
@larsbaunwall The change is assigned to milestone v3, which will be released some time later this month. The feature isn't available for general use yet.
Regarding that: I wouldn't recommend using default values for that. Documentation on grammar rules can be extracted from the |
Beta Was this translation helpful? Give feedback.
@larsbaunwall The change is assigned to milestone v3, which will be released some time later this month. The feature isn't available for general use yet.
Regarding that: I wouldn't recommend using default values for that. Documentation on grammar rules can be extracted from the
CommentProvider
even when the grammar has been serialized. Just use the normal JSDoc syntax (/** ... */
) to write your documentation.