Skip to content

Releases: revanthpobala/pinescript-vscode-extension

v1.3.1

22 Jun 00:28

Choose a tag to compare

fix(ci): remove broken dynamic tree-sitter include path from binding.gyp

v1.3.0

14 Jun 01:13

Choose a tag to compare

docs: Update README for 1.3.0 release

v1.2.1

30 May 00:02

Choose a tag to compare

v1.2.1

v1.1.0

11 Jan 04:30

Choose a tag to compare

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 var and varip declarations. 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.def where abc is undefined, while safely ignoring built-in namespaces like strategy, 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

v1.0.1

07 Jan 23:49

Choose a tag to compare