Releases: revanthpobala/pinescript-vscode-extension
Releases · revanthpobala/pinescript-vscode-extension
v1.3.1
v1.3.0
docs: Update README for 1.3.0 release
v1.2.1
v1.2.1
v1.1.0
Release Notes - v1.1.0 (Stable Release)
This release significantly improves the reliability and signal-to-noise ratio of the Pine Script analyzer, specifically optimized for advanced, large-scale indicator development.
🚀 Key Improvements
1. Precision "Unused Variable" Detection
- Hybrid Search: Moved to a high-fidelity word-boundary search for global
varandvaripdeclarations. This eliminates false positives previously seen in complex branching or nested function scopes. - Intelligent Skipping: The analyzer now automatically ignores identifiers starting with
_(the Pine Script standard for intentionally unused variables).
2. Robust Parameter & Member Validation
- Typed Parameter Support: Full support for Pine Script v5 typed parameters (e.g.,
AnchorData anchor). The analyzer now correctly recognizes these in function signatures, eliminating "Undefined Identifier" false positives. - Member Access Shield: Added targeted validation for dot-notation objects. It will catch genuine bugs like
abc.defwhereabcis undefined, while safely ignoring built-in namespaces likestrategy,math, and [ta]
3. Type System "Safety Valves"
- Drawing Object Flexibility: Improved support for drawing object types (
line,label,box,table, etc.), allowing assignments of extension/server/src/analyzer.ts:329:4-558:5) (int) without triggering type mismatch errors. - Relaxed String Inference: Added relaxations for string-based assignments to accommodate complex ternary and tuple-based logic often used in dashboard rendering.
🛠 Fixes & Stability
- Large Script Optimization: Enhanced the analysis engine to handle scripts with 5,000+ lines (e.g., complex multi-factor indicators) with zero lag.
- Scope Resolution: Fixed issues where the analyzer would lose track of symbols in complex function-as-variable mappings.
Install the new version:
code --install-extension pine-script-pro-1.1.0.vsix