Skip to content

Debian packaging file syntax highlighting for Sublime Text.

License

Notifications You must be signed in to change notification settings

barnumbirr/sublime-debian

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

sublime-debian

Debian packaging file syntax highlighting for Sublime Text.

Features

Provides syntax highlighting for the following files:

  • debian/source/format
  • debian/source/local-options
  • debian/tests/control (autopkgtest)
  • debian/upstream/metadata
  • debian/changelog
  • debian/compat
  • debian/control
  • debian/copyright
  • debian/*.doc-base
  • debian/*.lintian-overrides
  • 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 4.4.0-2 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.

Buy me a coffee?

If you feel like buying me a coffee (or a beer?), donations are welcome:

BTC : bc1qq04jnuqqavpccfptmddqjkg7cuspy3new4sxq9
DOGE: DRBkryyau5CMxpBzVmrBAjK6dVdMZSBsuS
ETH : 0x2238A11856428b72E80D70Be8666729497059d95
LTC : MQwXsBrArLRHQzwQZAjJPNrxGS1uNDDKX6