Commit Graph
3290 Commits
Author SHA1 Message Date
bigguy345 7aeb003806 Merge branch 'dev' into syntax-highlighter-unified 2026-01-05 17:03:01 +02:00
bigguy345 68681931f8 Animation Data Store (for cross event/frame data handling) 2026-01-05 16:53:58 +02:00
bigguy345 a33acee117 Added Animation task consumers (much better than animation events) 2026-01-05 16:49:48 +02:00
bigguy345 3929888f60 Removed redundant JS type resolution code and improved logic 2026-01-05 05:43:30 +02:00
bigguy345 5720b3a081 Added @type JSDOC stub auto generation for fields 2026-01-05 05:42:12 +02:00
bigguy345 cd942fea30 Inferred type of 'any' vars upon their first assignment
i.e.:
var npc
npc = event.getNpc()

npc becomes ICustomNpc
2026-01-05 05:25:39 +02:00
bigguy345 761b59479e lil tweak 2026-01-05 05:08:00 +02:00
bigguy345 35ca7ca479 Completely functional JSDoc parsing/stub auto generation for functions and field types, parameters and their return types, and function return types 2026-01-05 05:07:50 +02:00
bigguy345 565d52729d Added "any" type for JS which is universally compatible with any type, defaulted var declaration type to it 2026-01-05 03:09:22 +02:00
bigguy345 6bc932719f Checked duplicate methods for JS 2026-01-05 02:57:12 +02:00
bigguy345 b6d0d77445 Fixed = sign missing in JS var declaration assignment 2026-01-05 02:55:56 +02:00
bigguy345 662d874f2f Added documentation for JS fields/functions 2026-01-05 02:47:55 +02:00
bigguy345 ad5528c25a Skipped method calls in method declarations 2026-01-05 02:14:36 +02:00
bigguy345 87931e6c34 Prioritized JS members by inheritance depth (child class members first) 2026-01-05 02:04:58 +02:00
bigguy345 4d78c6bb2e Removed duplicate return type for JS method AutocompleteItem 2026-01-05 01:48:31 +02:00
bigguy345 9c222b89d4 proper JS type names in HoverInfo/Autocomplete
instead of "InitEvent", now its "INpcEvent.InitEvent"
2026-01-05 01:36:36 +02:00
bigguy345 92a196d296 Expanded parser scope + added class parsing 2026-01-05 01:12:17 +02:00
bigguy345 150ffbc896 Improved resolveInheritance logic 2026-01-05 01:11:46 +02:00
bigguy345 5f4bc813db Umm forgot some stuff from last commit 2026-01-05 01:11:27 +02:00
bigguy345 eea82a6c47 Recursively loaded all .d.ts files from assets/customnpcs/api/ 2026-01-04 23:35:59 +02:00
bigguy345 f8802114b5 Fixed indexOutOfbounds crash 2026-01-04 23:33:56 +02:00
bigguy345 b267ebecb2 More JSAutocompleteProvider cleanup 2026-01-04 22:48:23 +02:00
bigguy345 bbe6d9bb77 JSAutoCompleteProvier revamp:
-Type resolution now happens directly in ScriptDocument

 -Extends JavaAutocompleteProvider

 -Removed redundant code/logic
2026-01-04 22:41:00 +02:00
bigguy345 1221badc69 Unified Java/JS handling into ScriptDocument. much better now. 2026-01-04 22:13:47 +02:00
bigguy345 f9babf040d temp JS/java merger 2026-01-04 21:41:39 +02:00
bigguy345 b3d49945f7 Fixed broken .d.ts parsing pattern, bec files like IPlayer.d.ts weren't being parsed at all 2026-01-04 21:06:55 +02:00
bigguy345 61a363fdba A bunch of JS parser fixes and improvements 2026-01-04 20:56:11 +02:00
bigguy345 50bcbb5872 Bunch of JS fixes 2026-01-04 20:03:25 +02:00
bigguy345 c56a8ee7d9 Added ScriptType enums to autocmpletion 2026-01-04 19:41:39 +02:00
bigguy345 0d45d636b8 Used correct enum class name 2026-01-04 19:41:28 +02:00
bigguy345 a36cc044bd Shoved object methods all the way down in autocomplete menu 2026-01-04 19:15:32 +02:00
bigguy345 080b41a3b9 Accounted for method parameter count in UsageTracker 2026-01-04 19:07:17 +02:00
bigguy345 34379929a5 Inherited Object methods deprioritized: Methods from Object class that are NOT overridden are now pushed to the bottom of the autocomplete list 2026-01-04 18:52:39 +02:00
bigguy345 6d150a9d22 Truncated AutocompleteItems text 2026-01-04 18:47:14 +02:00
bigguy345 db3a7de926 Drawn static/final denoters to AutocompleteItems 2026-01-04 18:21:29 +02:00
bigguy345 461e45c2eb ClassIndex Package exclusions 2026-01-04 18:03:57 +02:00
bigguy345 5bc3e5451a Lowered static penalty for strong prefix matches (so it pops to the top) 2026-01-04 17:53:16 +02:00
bigguy345 6e602c45a9 Penalized auto complete static members when in a non-static context 2026-01-04 17:50:27 +02:00
bigguy345 7b7667f2c5 Autocomplete suggestions UsageTracker implementation 2026-01-04 17:35:25 +02:00
bigguy345 a496061455 Added auto complete strict matching for non-member access first word.
i.e "Event" can only show words that start with Event, not contains it
2026-01-04 16:00:48 +02:00
bigguy345 ac92210771 Implemented AUTO IMPORT SUGGESTION COMPLETIONS 2026-01-04 03:59:51 +02:00
bigguy345 04a0fbc84d CRAZY !!! ClassIndex for class auto-import suggestions by matching prefix
i.e. Typing "Ent" suggests "net.Minecraft.entity.Entity" and all other classes that start with Ent
2026-01-04 03:48:10 +02:00
bigguy345 acae8d84d0 Removed duplicate enums 2026-01-04 03:44:07 +02:00
bigguy345 5332774c3d Made ENUM constants highest priority in autocomplete dropdown menu 2026-01-04 02:39:39 +02:00
bigguy345 ff7fbd411d Smart tab completion: replace till next separator 2026-01-04 02:39:27 +02:00
bigguy345 02ce0912c7 Got backspace + autocomplete (CTRL SPACE) working, now functions when cursor mid sentence/word 2026-01-04 02:22:23 +02:00
bigguy345 9886dae519 Moved fullScreenButton rendering into GuiScriptTextArea 2026-01-04 02:13:33 +02:00
bigguy345 ef51f4acd8 Fixed buttons drawn under AutoComplete drop down being clickable through it 2026-01-04 01:56:13 +02:00
bigguy345 a4112008bd OOps wrong logic 2026-01-04 01:49:01 +02:00
bigguy345 bf858a7a1a Removed AutoComplete list limit 2026-01-04 01:27:14 +02:00