💾 PineScript support for TradingView indicators and strategies development in Zed editor.
- Syntax Highlighting: Full syntax highlighting for PineScript
- Code Folding: Smart folding for functions, blocks, and comments
- Outline View: Navigate through functions, variables, and strategy points
- Auto-completion: Context-aware code completion
- Bracket Matching: Automatic bracket/parenthesis matching
- Comment Toggling: Easy comment/uncomment of code blocks
- Language Support: Complete PineScript v5 language support
- Open Zed
- Go to Settings (⌘,)
- Select Extensions
- Search for "PineScript"
- Click Install
git clone https://github.com/takk8is/pinescript-extension-for-zed
cd pinescript-extension-for-zed
# Copy to Zed extensions directory
Files with the following extensions are automatically recognized:
.ps
.pine
.pinescript
//@version=5
indicator("My Custom Indicator", overlay=true)
// Input parameters
length = input.int(14, "Length")
// Calculations
sma = ta.sma(close, length)
// Plotting
plot(sma, "SMA", color=color.blue)
- Node.js >= 12.0.0
- npm or yarn
- Tree-sitter CLI (
npm install -g tree-sitter-cli
)
# Install dependencies
npm install
# Build the extension
npm run build
# Run tests
npm test
Contributions are welcome! Feel free to open issues or submit pull requests.
- Fork the repository.
- Create your feature branch (
git checkout -b feature/AmazingFeature
). - Commit your changes (
git commit -m 'Add some AmazingFeature'
). - Push to the branch (
git push origin feature/AmazingFeature
). - Open a Pull Request.
If this project has been helpful, consider making a donation:
USDT (TRC-20): TP6zpvjt2ZNGfWKPevfp65ZrcbKMWSQXDi
Your support helps us continue to develop innovative tools.
Experience the power of Zed by visiting their official website.
To contribute to public and social projects focused on research and artificial intelligence, feel free to support with any amount you prefer.
- Author: David C Cavalcante
- LinkedIn: David C Cavalcante
- Medium: David C Cavalcante
- Positive results, rapid innovation
- Leading the Digital Revolution as the Pioneering 100% Artificial Intelligence Team
- URL: Takk
- Twitter: Takk
- Medium: Takk
This extension provides a solid foundation for Pine Script development in the Zed editor, enhancing your trading strategy development workflow.