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

VBDot​Net

VB.Net Syntax for Sublime Text

Details

Installs

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

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.