Commit Graph

13 Commits

Author SHA1 Message Date
catloversg
ade79c0f65 UI: Add option to autosave scripts on focus change (#2565) 2026-03-13 19:37:17 -07:00
catloversg
49e231fd41 DEPS: Update dependencies related to monaco (#2432) 2025-12-21 13:42:20 -08:00
Shy
4ad9a96788 MISC: Support css file type (#2378) 2025-11-05 14:05:31 -08:00
catloversg
0f9144a059 CODEBASE: Validate theme, editor theme, and styles (#1789) 2025-01-08 19:20:05 -08:00
catloversg
4bae9938bf BUGFIX: Editor shows "+1 overload" with all NS APIs (#1883) 2025-01-07 22:17:30 -08:00
catloversg
f6502dd490 CODEBASE: Fix lint errors 1 (#1732) 2024-11-03 22:35:14 -08:00
Tom Prince
935ac610d3 EDITOR: Support cross-language imports in editor. (#1518) 2024-08-01 23:59:31 -07:00
Tom Prince
02538d6953 EDITOR: Enable strict typechecking of typescript. (#1493)
* EDITOR: Tweak typescript language server configuration to match use.

- We allow importing files with `.ts`/`.tsx` extensions.
- We use an file-at-a-time transpiler, so we don't support features
  that require understanding the full type system.
- We use the classic `React.createElement` transform.
2024-07-23 21:28:05 -07:00
catloversg
864613c616 MISC: Support JSX, TS, TSX script files (#1216) 2024-07-14 14:47:10 -07:00
Tom Prince
b277975656 EDITOR: Provide type definitions for React and ReactDOM in in-game editor. (#1458)
* Fix the type declaration of `!!raw-loader!` modules.

Instead of declaring them to export an object with a single key
`default` which is a string, the modules have a default export, which
is a string.

Note, that this doesn't actually change the generated code, just the
types that typescript sees. The code worked before because the only
thing done to the values was to coerce the values to a string, which
turned into a no-op.

* Switch from using `raw-loader` to using a source asset module.

`raw-loader` was deprecated in webpack v5.
2024-07-07 00:08:33 -07:00
catloversg
3fac471d51 EDITOR: Add "arguments" to the keyword list (#1230) 2024-04-24 16:10:20 -04:00
Shy
d2dd6916b1 allow json (#1137)
Allow creating .json files.
Also added the json language server so syntax highlighting and validation works with the ingame editor
2024-03-06 15:52:32 -08:00
Snarling
87925f1900 EDITOR: Reorganization and minor efficiency improvements (#886) 2023-10-23 07:02:33 -04:00