SPGoding
SPGoding
> What would be extremely useful for a mod is to be able to read modded commands and provide them to the language server for autocomplete and such. Thanks for...
> Oh that's already supported? That's quite useful. How do I load my modded commands? Sorry I wasn't being clear. v4 is still under development and hasn't been released yet....
I failed to see why this would be useful.
@SPGoding I fail to see why you failed to see that.
There is a "Start new translation" button on the component page for admins to add new languages. You could also create a new language file manually (for example, under `src/locales`...
Setting the environment variable `SNAPSHOT_UPDATE=1` when running `npm test` should update the snapshot but i just delete the relevant snapshot files too lol
`isEndOffset` parameter is added in c84d6ae5d1fe94a01f6c72d127ba4563b4336af4 along with test cases for `IndexMap.merge()`. Those tests are still passing so i guess it's not impacted? Not sure why i added that parameter...
> Do you have an example of when/where we'd want to use it practically? (/ already do) Ideally it should be used in every type guard for an AST node....
Also potential bike-shedding on the type name `PotentiallyReadonly`: would `InheritReadonly` be a more fitting name, since what the type does is basically inheriting the readonly-ness of `INPUT` on `TARGET`?
I changed the name to `InheritReadonly` and changed all applicable `Object.freeze()`s to `namespace`s.