Syntax highlighting and build system for LINQPad (
If you have LINQPad installed (i.e. you are on Windows), and
lprun is available on your path, you can use the Sublime Text build system to execute your linq script using
lprun, and the output will appear in the build results panel.
There are 3 build variants:
lprun- which will output results in text mode. Lists and non-basic objects are formatted as JSON.
Output CSV- which will render simple lists in Excel-friendly CSV.
Compile Only- which will check your script for errors/warnings only and not execute any code.
The recommended way to install the LINQPad syntax highlighting and build system for Sublime Text is via Package Control. Package Control will install the plugin on your system and keep it up to date.
- Ensure Package Control is installed.
- In Sublime Text, open the
Preferencesmenu, and select
Package Control: Install Package.
- Start typing
LinqPad. When you see it, select it.
- Wait for it to install.
- Re-open any open linq files, or set their syntax to linq manually.