Adds syntax support for easylanguage in Visual Studio Code.
Why?
Because the TradeStation development environment lacks the excellent features and usability of Visual Studio Code!
Features
Syntax Highlighting
Strings
Comments
Numbers
Skip words
Control
Orders
and majority of the reserved words and functions
Code Outline
Outline view of code sections/symbols
Simple Auto Complete
basic auto-complete of numerous reserved words and function names
Themes
2 light themes:
Standard (TradeStation development environment)
Solarized
2 dark themes:
Dark
Moss
Auto Closing
brackets
begin..end
quotes
Snippets
if
for loop
while loop
begin..end
highest, lowest
cross
Day Trade
others
Screenshots
Themes
Standard theme
Solarized theme
Dark theme
Moss theme
Side-by-Side Screenshots
Standard theme
Solarized theme
Dark theme
Moss theme
File Extension
Supported file extension for code files:
.easylanguage
.el
.elf
Suggested Settings
For auto-complete, to assist in completion and set priority of completion, you may find these settings useful:
Set in your preferences settings:
"editor.snippetSuggestions": "bottom",
"editor.suggest.localityBonus": true,
"editor.suggest.filterGraceful": true,
"editor.suggest.snippetsPreventQuickSuggestions": true,
"editor.autoIndent":"advanced",
You can create a Task to launch TradeStation web help:
Create a Task, such as:
{
// See https://go.microsoft.com/fwlink/?LinkId=733558
// for the documentation about the tasks.json format
"version": "2.0.0",
"tasks": [{
// launch tradestation web help, and search on reserved word
"label": "easylanguage web help",
"type": "shell",
"presentation": {
"echo": false,
"reveal": "silent",
"focus": false,
"panel": "shared",
"showReuseMessage": false
},
"command": "C:\Program Files (x86)\Microsoft\Edge\Application\msedge.exe",
"args": [
"https://help.tradestation.com/10_00/eng/tsdevhelp/search.htm?q=${selectedText}"
],
"problemMatcher": []
}]
}
Then create a keyboard shortcut (key binding in keybindings.json) and map a key (such as F1) to the Task to quickly launch help. (double-click to select a keyword, then press the shortcut key.) Here's an example keybinding:
{
"key": "f1",
"command": "workbench.action.tasks.runTask",
"args": "easylanguage web help",
"when": "editorHasSelection"
}
Release Notes
Version 1.0.1 - Intial release.
Version 1.0.2 - Added missing keywords and classes (in syntax and auto-complete). Modified themes. Updated snippets.
Version 1.0.3 - Fixed error in snippets.
Version 1.0.4 - Added support for #region sections. Updated themes for regions. Fixed error in syntax of keywords.
Version 1.0.5 - Fixed issue in the Outline generation method.
Version 1.0.6 - Fixed Outline and folding sections to work with Sticky Scroll (for 'editor.stickyScroll.defaultModel', suggest using 'foldingProviderModel'). Fixed Outline when line is a comment. Incorporated auto-indentation / de-indentation. Included additional keywords.
Version 1.0.7 - Added support for file extension .el and .elf
Disclaimer
Not affiliated in any way, shape or form (other than a client) of TradeStation or TradeStation Group, Inc.