Commit Graph
5008 Commits
Author SHA1 Message Date
bigguy345 bcef6ffd25 OMG THIS IS ALL SO VERY FUCKING IMPORTANT I THOUGHT I LOST ALL OF THIS FUUUUUCK THANK GOD 2026-03-19 20:00:37 +02:00
bigguy345 b7137d39cb Merge branch 'syntax-highlighter-tree' into syntax-highlighter-tree2
# Conflicts:
#	src/main/java/noppes/npcs/client/gui/util/script/interpreter/TreeSitterMarkBuilder.java
2026-03-14 13:20:39 +02:00
bigguy345 60bada9243 Package refactor 2026-03-14 13:18:11 +02:00
bigguy345 76c34fa098 More QueryPatterns tweaks 2026-03-14 11:52:01 +02:00
bigguy345 1e92906a43 Tweaked HighlightGroup + QueryPatterns 2026-03-14 11:26:06 +02:00
bigguy345 52e97578ae Disabled ScriptProfiler 2026-03-14 11:24:59 +02:00
somehussar f4e1e51d22 Fix type recognition in global scope 2026-03-14 09:38:03 +01:00
somehussar 5820be3f40 Fix mark refining 2026-03-14 08:42:05 +01:00
bigguy345 eb2982e77c SyntaxTreeDebugger 2026-03-14 08:03:29 +02:00
bigguy345 5a9a95e8da FAAAAAAAAAAAAAAAH 2026-03-14 07:34:24 +02:00
bigguy345 38be3c76b1 MEGA TRANSITION TO TREE SITTER PARSING (GROUNDWORK) 2026-03-14 07:34:10 +02:00
bigguy345 520c6fd907 tree-sitter shadowed with natives and Java/JS extensions 2026-03-14 04:32:18 +02:00
bigguy345 a59d2d0088 IMPORTANT PROFILER 2026-03-14 00:14:29 +02:00
bigguy345 9c82fabf1b DAWG EASIEST 3X OPTIMISATION OF MY LIFE 2026-03-13 23:36:59 +02:00
bigguy345 956410c345 feat: implement IntelliJ-style weigher chain for autocomplete ranking
- Add 8 independent weigher classes (MatchQuality, MemberKind, ContextFit, UsageFrequency, ImportStatus, Deprecated, InheritanceDepth, Alphabetical)
- Replace fragile penalty-based scoring with composable weigher chain architecture
- Expand MemberKind to 11 tiers: enum_const > local > instance_field > instance_method > type_class > type_enum > type_interface > static_field > static_method > keyword > snippet
- Reorder weighers for optimal UX: imported always ranks above unimported regardless of usage
- Fix unimported class penalty bug (was being overwritten by calculateMatchScore)
- Implement DeprecatedWeigher (deprecated flag now scored)
- Mark addScoreBoost() @Deprecated in favor of weigher chain
- Add getInheritanceDepth() getter to AutocompleteItem
- Update JSAutocompleteProvider to use 8-weigher chain with InheritanceDepthWeigher
- Comprehensive test coverage: 127+ test methods across weigher unit tests and integration tests
- Matches IntelliJ IDEA's weigher chain pattern (battle-tested production architecture)
2026-03-13 23:00:46 +02:00
bigguy345 81b3d1c2d3 Fixed autocomplete item package color for interfaces/enums 2026-03-13 20:47:54 +02:00
bigguy345 f25b9164d0 Added parameter autocomplete coloring 2026-03-13 20:01:10 +02:00
bigguy345 c0a022c5b5 Tightened excluded range checks in receiver chain resolution (fixes stupid . in comments fkin up next line bug) 2026-03-13 19:49:30 +02:00
bigguy345 ce8c9b3b94 oh shit 2026-03-13 19:40:06 +02:00
bigguy345 b6e3ee8404 Umm one is enough 2026-03-13 18:34:09 +02:00
bigguy345 85d4bb2628 man get this old washed shit outta my face 2026-03-13 18:33:27 +02:00
bigguy345 82128ce318 Proper Hover Info data for generic classes with type params 2026-03-13 18:33:03 +02:00
bigguy345 390b3446a3 Merge remote-tracking branch 'origin/syntax-highlighter-unified' into syntax-highlighter-unified
# Conflicts:
#	src/main/java/noppes/npcs/client/gui/util/script/interpreter/type/TypeInfo.java
2026-03-13 18:30:09 +02:00
bigguy345 f66d2f0193 GenericContext overhaul, removed redundant TypeSubstitutor 2026-03-13 18:29:06 +02:00
bigguy345 53446e06c6 unified TypeInfo API access to it uses exposed TypeInfo members instead of inner raw Class reflection calls 2026-03-13 18:20:44 +02:00
bigguy345 691a7fb2c7 unified TypeInfo API access to it uses exposed TypeInfo members instead of inner raw Class reflection calls 2026-03-13 17:47:29 +02:00
Kam 57e6934fe5 Merge branch 'dev' into syntax-highlighter-unified 2026-03-13 03:13:24 -04:00
bigguy345 335ffdd074 editor color scheme improvements 2026-03-13 06:41:22 +02:00
bigguy345 0906378894 JANINO FIXES 2026-03-13 06:21:07 +02:00
bigguy345 7282081832 Fixed x undefined when
//comment.
x = 10;
2026-03-13 06:06:00 +02:00
bigguy345 a3c7398628 Whole buncha ergonomic hover info tweaks 2026-03-13 05:52:41 +02:00
bigguy345 07594f574b Fixed autocomplete showing in comments 2026-03-13 04:56:07 +02:00
bigguy345 3b7798338f Proper TypeInfo.typeParam overload that is much needed + IntersectionTypeInfo for type parameter <T extends X & Interface1 & Interface2<T>> 2026-03-13 03:53:05 +02:00
bigguy345 eae5a08932 Made TokenType priority internal 2026-03-13 03:43:39 +02:00
bigguy345 547989a6d4 Smoothened script editor scrolling again (now that we have proper fonts) 2026-03-13 03:32:27 +02:00
bigguy345 f6f19c0e48 Improved font rendering for ITALIC and BOLD to remove glyph artifacts 2026-03-13 03:26:06 +02:00
bigguy345 f8a7241747 Merge remote-tracking branch 'origin/syntax-highlighter-unified' into syntax-highlighter-unified 2026-03-13 03:24:46 +02:00
bigguy345 4ccec31efa Removed MODIFIER, IMPORT_KEYWORD and CLASS_IMPORT token types, all replaced with KEYWORD 2026-03-13 03:22:46 +02:00
bigguy345 b7c3c53dc9 Fixed ScriptColorScheme not respecting resourcepack priority 2026-03-13 03:03:39 +02:00
bigguy345 f1f3b17402 Correctly calculated new font width throughout script editor endpoints (for italics/bold) 2026-03-13 03:00:54 +02:00
bigguy345 254655cb1d Improved <> formatting and auto insertion 2026-03-13 02:46:16 +02:00
Kam a212822d45 Merge remote-tracking branch 'origin/dev' into dev 2026-03-12 20:33:50 -04:00
Kam 26ae7adac5 Fix Sound Selection 2026-03-12 20:33:43 -04:00
Kam c797fbec80 Fix Base Directory for Category Manager System for NEW WORLDs 2026-03-12 20:29:05 -04:00
Kam 17c48fab97 Merge branch 'dev' into syntax-highlighter-unified 2026-03-12 16:20:53 -04:00
bigguy345 bcd60d80ea Merge remote-tracking branch 'origin/syntax-highlighter-unified' into syntax-highlighter-unified
# Conflicts:
#	src/main/java/noppes/npcs/config/GlyphCache.java
2026-03-12 21:49:50 +02:00
bigguy345 71f0ee1973 FONT SO PRETTY IT GOT ME ACTING FONTOSEXUAL 2026-03-12 21:48:16 +02:00
Kam 8119515705 Add Script Optimizations / Caching 2026-03-12 15:47:56 -04:00
bigguy345 28d7b02350 OMG BEST FONT RENDERING EVER FUUUUCK 2026-03-12 17:26:26 +02:00
bigguy345 be4aa2592a MASSIVE FONT RENDERING FIX, HUGE HUGE HUGE 2026-03-12 10:39:02 +02:00