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

IDL-Syntax

by andik ST2/ST3

simple IDL (Microsoft midl, Mozilla WebIDL) syntax highlighting for Sublime Text

Details

Installs

  • Total 1K
  • Win 559
  • OS X 536
  • Linux 376
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 Sep 6 Sep 5 Sep 4 Sep 3 Sep 2
Windows 0 0 0 1 0 0 0 0 0 1 1 1 0 0 1 0 0 3 1 0 0 1 1 1 0 1 1 0 1 1 0 1 0 0 0 1 0 1 0 0 0 0 1 1 0
OS X 0 0 0 1 1 0 0 1 0 0 0 0 0 0 0 0 0 0 1 1 1 0 0 1 0 1 1 0 0 0 1 1 0 0 1 2 0 0 1 0 0 0 1 0 0
Linux 0 0 1 0 0 0 0 1 0 0 2 2 0 0 0 0 0 2 0 0 0 1 0 0 1 0 0 3 1 0 0 0 2 0 0 0 1 1 1 1 2 0 0 0 0

Readme

Source
raw.​githubusercontent.​com

IDL syntax highlighting

This package provides a simple IDL (Microsoft midl, Mozilla WebIDL) syntax highlighting, derived from Sublime's standard C++ highlighting. It provides you with correct symbol detection, which was the main reason to create this.

No fancy stuff here, no additional functionality, no snippets

Note about Scopes

(This is only due to the use of Textmate Syntax highlighting which seems to have a worldwide global namespace. It has little effect to the end user.)

This file was primarily intended for highlighting MS IDL files (used by Windows COM Interfaces). But people seem to be more interested in highlighting webIDL Files, where this file seems to work too. Because of a namespace glitch in I was asked to rename the scope of this syntax highlighting and did so. Scope is now source.webidl.

Because I'm not willing to maintain two files this new scopename does also apply to MS IDL files in future. This is not completely correct, but does not have any influence on the functionality in regard of MS IDL files. Except you wrote your own extensions for this scope. In this case, you need to modify them to match the new scope. Or just let me know, maybe we can have a solution for both sides.