ctrl+shift+p filters: :st2 :st3 :win :osx :linux
Browse

VBDot​Net

by angryant0007 ST2/ST3

VB.Net Syntax for Sublime Text

Details

Installs

  • Total 10K
  • Win 8K
  • OS X 1K
  • Linux 579
Oct 22 Oct 21 Oct 20 Oct 19 Oct 18 Oct 17 Oct 16 Oct 15 Oct 14 Oct 13 Oct 12 Oct 11 Oct 10 Oct 9 Oct 8 Oct 7 Oct 6 Oct 5 Oct 4 Oct 3 Oct 2 Oct 1 Sep 30 Sep 29 Sep 28 Sep 27 Sep 26 Sep 25 Sep 24 Sep 23 Sep 22 Sep 21 Sep 20 Sep 19 Sep 18 Sep 17 Sep 16 Sep 15 Sep 14 Sep 13 Sep 12 Sep 11 Sep 10 Sep 9 Sep 8 Sep 7
Windows 2 5 10 6 11 11 10 3 5 9 11 9 9 8 5 2 8 9 13 11 12 3 6 8 12 13 1 13 5 0 4 17 11 13 16 7 2 11 13 13 9 11 2 3 8 11
OS X 0 0 0 1 0 1 1 1 1 2 0 0 1 2 0 0 2 1 1 0 0 0 1 1 4 0 2 3 0 0 0 0 1 1 0 0 0 0 6 0 2 2 0 0 0 1
Linux 0 0 2 2 2 1 0 0 0 0 1 0 1 1 0 1 0 0 0 2 0 2 1 4 1 0 1 1 0 0 0 2 3 2 0 2 0 2 1 1 0 0 1 0 1 0

Readme

Source
raw.​githubusercontent.​com

About

Syntax definition for VB.Net.

Defines most VB.Net keywords based on VB.Net 12 (.Net 4.5.1)

Installation

Use the Sublime Text Package Control plugin - search for VBDotNet. If you don't have Package Control, you can get it here - Package Control.

Manually Installing

Copy the vbdontnet.tmlanguage file into you Sublime Text 2 packages directory.

To ensure the file is not overrwritten/removed during upgrades, consider putting the file in the ../Packages/User/ directory.

git clone https://github.com/angryant0007/VBDotNetSyntax.git [Package Dir]/User/VBDotNetSyntax

e.g. on Mac OSX

git clone https://github.com/angryant0007/VBDotNetSyntax.git ~/Library/Application Support/Sublime Text 2/Packages/User/VBDotNetSyntax

Restart/Open Sublime Text - there should now be a “VB.NET” option under the “syntax” menu.

Consult the documentation to see where the packages directory is for you operating system:

Sublime Text 2

http://sublimetext.info/docs/en/basic_concepts.html

  • Windows: [%APPDATA%]\Sublime Text 2\Packages

  • OSX: ~/Library/Application Support/Sublime Text 2/Packages

  • Linux: ~/.Sublime Text 2/Packages

  • Portable Installation: [Sublime Text 2]/Data

Sublime Text 3

http://docs.sublimetext.info/en/latest/basic_concepts.html#the-packages-directory

  • Windows: [%APPDATA%]\Sublime Text 3\Packages

  • OSX: ~/Library/Application Support/Sublime Text 3/Packages

  • Linux: ~/.config/sublime-text-3/Packages

  • Portable Installation: [Sublime Text 3]/Data

Editing

Clone this repository to your User Packages directory, e.g.:

git clone https://github.com/angryant0007/VBDotNetSyntax.git ~/Library/Application Support/Sublime Text 2/Packages/User/VBDotNetSyntax

This syntax definition is built using the AAAPackageDev package for Sublime Text 2. You will need to install this first - use Package Control to install. The Sublime Text Documentation has a tutorial on developing a syntax definition to help you get started.

To make changes to the syntax definition, first edit the vbdotnet.JSON-tmlanguage file. Then build the .tmlanguage file using either the “Json to tmlanguage” or “Convert to: Property List” build options provided by AAAPackageDev.