/SublimeSyntax-Debian

Debian packaging file syntax highlighting for Sublime Text.

Apache License 2.0Apache-2.0

sublime-debian

Debian packaging file syntax highlighting for Sublime Text.

Features

Provides syntax highlighting for the following files:

  • debian/source/format
  • debian/upstream/metadata
  • debian/changelog
  • debian/compat
  • debian/control
  • debian/copyright
  • debian/NEWS
  • debian/*.templates
  • debian/watch
  • .dsc

Screenshots

Debian changelog, control and copyright files with Sublime Text 3's default Monokai color scheme:

Click images to enlarge.

All files used in these screenshots are part of Debian's backupppc package.

Installation

With Package Control

  1. Install Package Control

  2. Install Debian Syntax package

    Platform Install Command
    OS X cmd+shift+p → Package Control: Install Package → Debian Syntax
    Linux/Windows ctrl+shift+p → Package Control: Install Package → Debian Syntax
  3. Reopen all Debian packaging files or restart Sublime Text

Without Package Control

  1. Locate your Sublime Text "Packages" directory and navigate to it

    Platform Installation Path
    Linux ~/.config/sublime-text-3/Packages/
    OSX ~/Library/Application\ Support/Sublime\ Text\ 3/Packages/
    Windows %AppData%\Roaming\Sublime Text 3\Packages
  2. Clone this repository into Debian Syntax directory

    git clone git://github.com/barnumbirr/sublime-debian.git 'Debian Syntax'

Credit

A heartfelt thank you goes out to the following people for making sublime-debian a reality:

License:

Copyright 2020-2021 Martin Simon

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

   http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.