strager
strager
@collidedscope Do you want to make a Pull Request for your patch?
@KenAKAFrosty Do you still plan to work on this task?
- [ ] Add a locale drop-down menu (JS) - [ ] Detect viewer's locale automatically to pre-select the language (JS) - [ ] Plumb locale to C/WASM API (C++,...
When I created this task, I meant it for just the demo: https://quick-lint-js.com/demo/
Any progress on this task? Do you need help? I filed #664 for the documentation. I'll make this task (#433) for the web demo.
> Are you still looking for help with this one? Yes. I think @cramerRF isn't working on this task, so you can take it on. If you want compensation (20...
> If you have any tips on how I can get started I would really appreciate it. Start by [running the website on your machine](https://github.com/quick-lint/quick-lint-js/tree/5c1666e466c44aeecfc618f8492f36def2f01616/website#developing). (Make sure to build quick-lint-js...
I added a `qljs_web_demo_set_locale` function in the C API. This is callable from JavaScript (`DocumentForWebDemo#setLocale`). I also added `qljs_list_locales` which is also callable from JavaScript (`Process#listLocales`). Because all the C++/WebAssembly...
We'd need to do two things in `variable_analyzer`: * track the type of declared identifiers (we already sorta do this with `variable_init_kind`), and * track the usage style of variables...
We can do something similar with code like `if (f == 42) {}`.