You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
"""Returns a list of languages that are considered a superset of <language>, including <language> itself. Eg `javascript` will be included in the list when <language> is `typescript`.
Note that the order of languages returned here is very important: more general must precede more specific, so that specific langs can properly override general languages.
This was made in an effort to make the snippet files as small as possible. In hindsight this was a bad decision. First of all is not at all obvious to users which languages are inherited and there is no simple way for them to extend this list. I recommend that we remove this and update the snippet files to just explicitly include all languages that are needed.
Today in snippets we inherit snippet from one language to another. For example typescript inherits all javascript snippets.
This behavior is defined here:
community/core/snippets/snippets.py
Lines 126 to 147 in b57dac8
This was made in an effort to make the snippet files as small as possible. In hindsight this was a bad decision. First of all is not at all obvious to users which languages are inherited and there is no simple way for them to extend this list. I recommend that we remove this and update the snippet files to just explicitly include all languages that are needed.
@phillco @pokey @nriley @knausj85
The text was updated successfully, but these errors were encountered: