All notable changes to the "bitcoin-script-hints" extension will be documented in this file.
Check Keep a Changelog for recommendations on how to structure this file.
- Added stack size indicators to hints in the format [main_size:alt_size]
- Stack hints now show the number of elements in both main and alt stacks
- Fixed syntax highlighting issues with opcodes requiring extra spaces
- Improved opcode boundary detection in TextMate grammar
- Fixed line offset issues in hint positioning
- Fixed display name typo
- Added red highlighting for error messages in hints
- Enhanced syntax highlighting for Bitcoin Script while preserving Rust syntax
- Added semantic token support for more precise highlighting
- Color-coded different operation types:
- Stack operations (support.function.stack.bitcoin)
- Flow control operations (keyword.control.flow.bitcoin)
- Arithmetic operations (keyword.operator.arithmetic.bitcoin)
- Cryptographic operations (support.function.crypto.bitcoin)
- Comparison operations (keyword.operator.comparison.bitcoin)
- Constants (constant.language.bitcoin)
- Added special rainbow highlighting for OP_CAT
- Removed max length calculation for hint positioning
- Fixed hint positioning to appear immediately after each line instead of having a 2-line gap
- Removed color theme functionality and configuration
- Removed Bitcoin Script color theme
- Removed color theme functionality and configuration
- Removed Bitcoin Script color theme
- Removed color theme functionality and configuration
- Removed Bitcoin Script color theme
- Rainbow road mode highlighting for non-mainnet supported OP_CODES
- Visual distinction between mainnet and non-mainnet opcodes:
- Non-mainnet opcodes now display with rainbow-colored syntax highlighting
- Helps developers quickly identify non-standard operations
- Improves code readability and safety by highlighting potentially unsupported operations
- New color-coded syntax highlighting theme "Bitcoin Script"
- Categorized Bitcoin Script opcodes with distinct colors:
- Stack Operations (Orange): OP_DROP, OP_DUP, OP_SWAP, OP_CAT, etc.
- Flow Control (Purple): OP_IF, OP_ELSE, OP_ENDIF, OP_NOP, etc.
- Arithmetic (Green): OP_ADD, OP_SUB, OP_MUL, OP_DIV, etc.
- Cryptographic (Red): OP_SHA256, OP_CHECKSIG, H(n) syntax, etc.
- Comparison (Blue): OP_EQUAL, OP_LESSTHAN, etc.
- Constants (Yellow): OP_0 through OP_16, OP_TRUE, OP_FALSE
- Improved syntax highlighting patterns for better accuracy
- Added missing opcodes to appropriate categories
- Added aliases (OP_TRUE/OP_FALSE) to constants category
- Fixed OP Cat Ordering
- Updated version to 0.3.3
- Implemented Bitcoin Script opcodes:
- Stack Operations: OP_DUP, OP_NIP, OP_OVER, OP_PICK, OP_ROLL, OP_ROT, OP_SWAP, OP_2DROP, OP_2DUP, OP_2ROT
- Arithmetic: OP_1SUB, OP_NEGATE, OP_ABS, OP_ADD, OP_SUB
- Logic: OP_NOT, OP_NOTEQUAL, OP_BOOLOR, OP_NUMEQUAL, OP_NUMEQUALVERIFY
- Comparison: OP_GREATERTHAN, OP_GREATERTHANOREQUAL, OP_MIN, OP_MAX, OP_WITHIN
- Cryptographic: OP_HASH, OP_CHECKSIG, OP_CHECKMULTISIG, OP_CHECKMULTISIGVERIFY
- Added constants for script operations
- Added test for OP_ADD
- Added better build scripts
- Added icon for the extension
- Added demo video (GIF format)
- Fixed flow control implementation
- Parser fixes
- Removed warnings
- Removed contributes section
- Package preparation updates
- Added MIT license
- Updated README.md framework
- Added local development instructions
- Added marketplace link to README
- Fixed formatting: newline marketplace link
- Initial project setup
- Implemented flow control opcodes:
- OP_ENDIF
- OP_VERIFY
- IF_DUP