Commit Graph
3243 Commits
Author SHA1 Message Date
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
bigguy345 297c8129de Autocomplete ignores whitespaces between cursor and receiver "Minecraft.getMinecraft(). " 2026-01-04 01:09:55 +02:00
bigguy345 b42cd4d1a3 Dismissed AutoCompleteManager on gui init/window resize 2026-01-04 01:02:47 +02:00
bigguy345 5163044494 Added args to autocomplete methods and highlighted them in dark gray 2026-01-04 00:55:50 +02:00
bigguy345 82632d9131 Made Autocomplete respect static/non static contexts 2026-01-04 00:42:00 +02:00
bigguy345 d1db2067f8 oops forgor 2026-01-04 00:41:33 +02:00
bigguy345 117f85096f Added mouse drag to autocomplete scroll bar 2026-01-04 00:40:46 +02:00
bigguy345 ea38cd23b6 Rendered Script Text Areas last thing in GuiNpcInterface 2026-01-04 00:23:47 +02:00
bigguy345 85d79dd786 Disabled script area textbox typing when a matching keycode KeyPreset is down 2026-01-03 14:49:05 +02:00
bigguy345 c4d5178472 Moved KeyPrest isDown handling to KeyState 2026-01-03 14:48:32 +02:00
bigguy345 2361246f0b LMAO Autocompletion Bar LMFAO 2026-01-03 14:23:35 +02:00
bigguy345 79d1b74a0f JS PARSER MK.I 2026-01-03 05:06:41 +02:00
bigguy345 6948690042 Proper enum formatting for hover info 2026-01-03 02:43:23 +02:00
bigguy345 cf4f4a48a0 Marked all un-marked identifiers as UNDEFINED 2026-01-03 02:39:48 +02:00
bigguy345 aeda4f0f39 Fixed parseLocalFields breaking with generics list List<String> 2026-01-03 02:35:46 +02:00
bigguy345 f3ba05068d Fixed IndexOutOfBounds 2026-01-03 02:05:43 +02:00
bigguy345 df8833103e Fixed IndexOutOfBounds 2026-01-03 02:02:54 +02:00
bigguy345 b613ec86fe drawn KEYWORD token color for primitive types in hover info 2026-01-03 02:00:23 +02:00
bigguy345 4146b156a2 Removed "final" and "extends Enum" from enum hover info 2026-01-03 01:50:08 +02:00
bigguy345 931858c554 Returned unresolved TypeInfo for types not found 2026-01-03 01:46:14 +02:00
bigguy345 bc6e9786da Fixed error hover info for enums being broken 2026-01-03 01:29:41 +02:00
bigguy345 1c3a11d433 Fixed parameters not highlighting for constructors 2026-01-03 01:29:15 +02:00