Commit Graph

  • 595efb529c Unified isTypeCompatible across classes bigguy345 2025-12-29 00:01:54 +02:00
  • 3a2bcd228f Fixed members of script types being unable to reference their type on creation bigguy345 2025-12-28 23:03:52 +02:00
  • 574c893f8d oops bigguy345 2025-12-28 22:37:37 +02:00
  • 941cc5e3fd Expression resolving/type resolution framework with operator parsing bigguy345 2025-12-28 22:36:46 +02:00
  • c2e0bbedae Small package refactor bigguy345 2025-12-28 20:33:39 +02:00
  • 534ec7b2c5 Refactored error curly underline rendering to its own helper class bigguy345 2025-12-28 19:57:10 +02:00
  • e2a5d254a9 Added error "method signature already defined in this scope" bigguy345 2025-12-28 19:41:28 +02:00
  • 6d20f5f52c Added error "Cannot return a value from a method with void result type" bigguy345 2025-12-28 19:04:14 +02:00
  • 3e21757d12 Method declaration error validation + helper classes needed for that bigguy345 2025-12-28 18:54:10 +02:00
  • b7333bcf6a Captured full/type/name offsets of method declarations bigguy345 2025-12-28 18:53:29 +02:00
  • 9aa23ef49d Added external type constructor validation bigguy345 2025-12-28 16:32:36 +02:00
  • c1e4e824ab Fixed wrapText not splitting at \n bigguy345 2025-12-28 16:25:07 +02:00
  • 8b95d61e0f Added constructor error validation bigguy345 2025-12-28 16:19:15 +02:00
  • 323502aa5e Removed NewExpressionType for constructor calls, replaced with MethodCallInfo bigguy345 2025-12-28 16:07:28 +02:00
  • 58e2b4f591 disabled hover state click bigguy345 2025-12-28 15:49:54 +02:00
  • a5ab3cb443 Removed the NEW_TYPE token, no longer needed bigguy345 2025-12-28 15:49:41 +02:00
  • c398977022 Method declarations skip names after "new" keyword bigguy345 2025-12-28 15:49:22 +02:00
  • ce5a67eaa2 Added constructors to script class types and hooked up their hover infos bigguy345 2025-12-28 01:07:21 +02:00
  • dfc0232e99 Got classes defined in script fully functional bigguy345 2025-12-28 00:19:00 +02:00
  • 992aea663b Aligned spacings for TYPE_MISMATCH errors bigguy345 2025-12-27 23:26:09 +02:00
  • 643b5e0d70 Fixed hover info being wrapped to the wrong font width bigguy345 2025-12-27 22:49:40 +02:00
  • 3b2ac768c6 Error "var already defined in scope" bigguy345 2025-12-27 22:44:41 +02:00
  • 6400c4a4e8 Fixed declaration hover info being not rendered for resolved method calls bigguy345 2025-12-27 22:06:33 +02:00
  • a4eb63917f Proper hover info formatting for declaration bigguy345 2025-12-27 22:00:03 +02:00
  • 794ff0c9b0 Removed whitespaces from AssingmentInfo's statementStart bigguy345 2025-12-27 20:52:34 +02:00
  • 17e0782a32 Forgot to check for assignments in method locals bigguy345 2025-12-27 20:46:40 +02:00
  • 1786d215ad Hooked script fields/methods up properly with modifiers and fixed FINAL assignment errors bigguy345 2025-12-27 20:21:20 +02:00
  • 9e21e4b47f Added error line separator for hover info bigguy345 2025-12-27 19:31:14 +02:00
  • aded664426 Disabled old TYPE_MISMATCH error for fields/methods + their underline rendering, as new AssignmentInfo equivalent replaces these. bigguy345 2025-12-27 18:58:30 +02:00
  • bacbc877bd Made AssignmentInfo LHS start from statementStart, modifiers and type inclusive bigguy345 2025-12-27 18:54:56 +02:00
  • 40d35d2f20 Captured Assignment's statement start and made FULL LINE errors bigguy345 2025-12-27 18:46:53 +02:00
  • d645ecc998 Removed redundant bigguy345 2025-12-27 18:37:34 +02:00
  • 455f09ac68 Captured all external/chained field assignments and their errors for hover info bigguy345 2025-12-27 18:30:06 +02:00
  • 9402ff5ec5 Captured all assignments of global/local fields bigguy345 2025-12-27 17:58:42 +02:00
  • a9cd2ec7ef Added init values to declaration of local/global fields and their hover info bigguy345 2025-12-27 16:30:12 +02:00
  • c4bbf6108b Changed method name color in hover info bigguy345 2025-12-27 16:08:21 +02:00
  • 104a816eef Fixed field declaration unresolving if there's a non-empty comment above its line bigguy345 2025-12-27 16:03:04 +02:00
  • 50d14d757c /** javadoc stub auto-generation bigguy345 2025-12-27 15:17:29 +02:00
  • 4b06937385 Added separator line for documentation in hover info bigguy345 2025-12-27 15:02:57 +02:00
  • 448329386e Added documentation for method/field declarations and displayed it in hover info bigguy345 2025-12-27 14:51:00 +02:00
  • 4d670f31de Removed declaration from unresolved token hover infos bigguy345 2025-12-27 13:51:11 +02:00
  • a7ed8549a9 Added hover info modifiers for script method declarations/fields and chained fields bigguy345 2025-12-27 00:40:58 +02:00
  • c694785de3 Accounted for float/double decimal place precision bigguy345 2025-12-27 00:25:19 +02:00
  • 2e99dffc33 Auto casted 1f, 1.0f to to floats same for doubles bigguy345 2025-12-27 00:16:07 +02:00
  • 1dbeaf2c84 Accounted for arrays in expression parsing bigguy345 2025-12-27 00:09:14 +02:00
  • 2ffe95dc0f Fixed parameters being resolved as args bigguy345 2025-12-27 00:08:49 +02:00
  • bc3e8cb28e Refactored TokenType.NUMBER to LITERAL and added error hover infos for it bigguy345 2025-12-27 00:08:12 +02:00
  • 026a3dc8d3 Fixed modifiers breaking global field declaration type bigguy345 2025-12-26 23:23:38 +02:00
  • d9d89a2f23 Primitive type class color bigguy345 2025-12-26 23:15:14 +02:00
  • 662d843147 Small refactor bigguy345 2025-12-26 23:11:12 +02:00
  • c591a91857 Fixed primitive types not being properly resolved bigguy345 2025-12-26 23:10:36 +02:00
  • 8a0c7c5a65 Added method call arg errors to all errored args bigguy345 2025-12-26 22:55:13 +02:00
  • fc9c9e187e Added FieldAccessInfo errors to hover info bigguy345 2025-12-26 22:16:54 +02:00
  • 50165677c7 Fixed HoverInfo not being created for method declarations (as MethodInfo was never assigned to mark creation) bigguy345 2025-12-26 21:38:22 +02:00
  • 25800e9c3d Fixed token position calculation under mouse being inconsistent under single character tokens "y" bigguy345 2025-12-26 21:28:48 +02:00
  • e0b4aece90 Changed HoverInfo's package color bigguy345 2025-12-26 19:43:43 +02:00
  • 258abeec0b Rendered a chained field's correct package (of receiver) bigguy345 2025-12-26 19:43:16 +02:00
  • 3982d5082d Hooked FieldAccessInfo so it's a field's default data instead of the basic FieldInfo, as access info has more context bigguy345 2025-12-26 19:35:57 +02:00
  • 586d43f08b Fetched correct package name for Class<?> types that have null getPackage bigguy345 2025-12-26 18:33:54 +02:00
  • 28761df3b2 oops forgor bigguy345 2025-12-26 18:16:33 +02:00
  • 2c645beddf Improved hover state hover logic bigguy345 2025-12-26 18:15:13 +02:00
  • a4692388a8 Improved fetching token under mouse logic bigguy345 2025-12-26 18:12:02 +02:00
  • 351e663212 Improved TokenHoverRenderer bigguy345 2025-12-26 17:29:36 +02:00
  • 741608a353 Click to pin HoverState option bigguy345 2025-12-26 17:28:28 +02:00
  • 9d5c577cf4 Improved token info colors bigguy345 2025-12-26 01:35:32 +02:00
  • 72686b8f86 First implementation of TokenHoverInfo bigguy345 2025-12-26 01:24:40 +02:00
  • 78a6a29b1c Validated right hand expression type is the expected type at variable declaration, and underlined the mismatched type's token if not. bigguy345 2025-12-25 23:12:36 +02:00
  • b38f193d08 Improved CTRL + Left/Right logic bigguy345 2025-12-25 11:35:39 +02:00
  • 92cffdf555 Improved CTRL + Backspace logic bigguy345 2025-12-25 11:31:42 +02:00
  • f5cb81ea89 Removed no longer used underline fields bigguy345 2025-12-25 01:35:53 +02:00
  • cbb5f3e2ae Made method call underlines work multi lines bigguy345 2025-12-25 01:35:27 +02:00
  • 8bcbc4c7cd Fixed IndexOutOfBounds bigguy345 2025-12-25 01:07:44 +02:00
  • 76fe28e42c Improved arg count/type error underline rendering logic again bigguy345 2025-12-25 00:58:37 +02:00
  • 2ff1b3a6cf Improved arg count/type error underline rendering logic bigguy345 2025-12-24 23:50:58 +02:00
  • 5af5793718 Improved curly underline rendering bigguy345 2025-12-24 23:47:18 +02:00
  • 54cd31724d Fixed thePlayer in "getMinecraft().thePlayer" not highlighting properly + more optimisations bigguy345 2025-12-24 22:55:20 +02:00
  • b9d1a9f657 Chaining of fields/methods like "Minecraft.getMinecraft().thePlayer.worldObj" is now completely functional bigguy345 2025-12-24 21:24:37 +02:00
  • fbf60bafb4 Lil clean up bigguy345 2025-12-24 21:02:08 +02:00
  • f6539b071c Highlighted unused imports bigguy345 2025-12-24 20:28:47 +02:00
  • 65953d77c4 Removed unused bigguy345 2025-12-24 20:19:01 +02:00
  • d9f16fef8a Stored MethodCallInfo and FieldCallInfo properly for method call args, and underlined them when errored for 2 error types; wrong method call args count and wrong arg type bigguy345 2025-12-24 20:10:10 +02:00
  • 9cb4c96eb3 Code logic improvements bigguy345 2025-12-24 19:10:37 +02:00
  • 457a8aae37 A lot of ScriptDocument processing improvements bigguy345 2025-12-24 14:07:45 +02:00
  • 6e2fe788d2 Improve readability in getEntityTexture#RenderNPCInterface PeTcHeNkA 2025-12-24 03:50:03 +03:00
  • 9f30438c4f Validate ResourceLocation existence before assignment in getEntityTexture PeTcHeNkA 2025-12-24 03:39:33 +03:00
  • 6cce314341 fix: add fallback skin for invalid CustomNPC texture paths PeTcHeNkA 2025-12-24 03:28:09 +03:00
  • 74fe7cb892 Fixed generics List<String> and their depths List<List<String> not working properly. bigguy345 2025-12-23 17:12:03 +02:00
  • 555fb481d3 More fixes and improvements bigguy345 2025-12-23 14:40:50 +02:00
  • b1799b5a22 Old GuiScriptTextArea bigguy345 2025-12-23 00:01:49 +02:00
  • 51993c3efc HUGE MASSIVE REFACTOR! BRAND NEW SYNTAX HIGHLIGHT/IMPORT RESOLUTION FRAMEWORK bigguy345 2025-12-23 00:01:23 +02:00
  • 358fd7e643 Unresolved object class types are now UNDEFINED bigguy345 2025-12-22 21:19:26 +02:00
  • f785b034ff Implemented PackageFinder.find in ClassPathFinder bigguy345 2025-12-22 21:05:23 +02:00
  • a77b550b21 Properly package index on FMLLoadCompleteEenet bigguy345 2025-12-22 21:04:59 +02:00
  • 242d9fa1cb crazy PackageFinder bigguy345 2025-12-22 20:40:12 +02:00
  • c13faca8ae Huge import detection logic rewrite plus optimisations bigguy345 2025-12-22 20:33:45 +02:00
  • e0d3226945 Fully functional syntax highlight of classes resolved from import wildcards i.e. import java.util.* List<String> list bigguy345 2025-12-22 18:45:54 +02:00
  • 0d03871444 Fixed last dot in import "impot java." breaking syntax highlight bigguy345 2025-12-22 17:56:37 +02:00
  • 83f45fe6b8 Fixed imports not resolving if wrapped to new line bigguy345 2025-12-22 17:39:56 +02:00
  • 01e2c354d5 Adjusted OverlayKeyPreset to fullscreen mode bigguy345 2025-12-22 16:31:12 +02:00
  • 26ed55ceb5 Corrected minimise icon bigguy345 2025-12-22 16:06:20 +02:00