Debian packaging file syntax highlighting for Sublime Text.
Provides syntax highlighting for the following Debian packaging files:
debian/control,debian/copyright,debian/changelog,debian/NEWSdebian/upstream/metadata,debian/tests/control(autopkgtest)
debian/source/format,debian/source/options,debian/source/local-optionsdebian/compat,debian/watch,debian/patches/series,debian/gbp.conf
debian/*.install,*.dirs,*.links,*.docs,*.clean,*.manpages,*.examples,*.not-installed,*.conffiles,*.infodebian/*.maintscript,*.triggers,*.symbols,*.templatesdebian/*.doc-base,*.lintian-overrides,*.alternatives,*.shlibsdebian/substvars
.dsc,.changes,.buildinfo
/etc/apt/sources.list(one-line format)/etc/apt/sources.list.d/*.sources(deb822 format)
- Field name completions for
control,copyright,watch, andsourcesfiles - Snippets:
source/packageparagraphs (control),entry(changelog),filesblock (copyright) - Syntax-specific view settings for
control,changelog, andcopyright - Goto Symbol support for changelog versions, control fields, and gbp.conf sections
Debian changelog and control files with Sublime Text's default Monokai color scheme:
All files used in these screenshots are part of the backuppc Debian package.
-
Install Debian Syntax package
Platform Install Command macOS Cmd + Shift + P → Package Control: Install Package → Debian Syntax Linux/Windows Ctrl + Shift + P → Package Control: Install Package → Debian Syntax -
Reopen all Debian packaging files or restart Sublime Text
-
Locate your Sublime Text "Packages" directory and navigate to it
Platform Installation Path Linux ~/.config/sublime-text/Packages/macOS ~/Library/Application\ Support/Sublime\ Text/Packages/Windows %AppData%\Roaming\Sublime Text\Packages -
Clone this repository into
Debian Syntaxdirectorygit clone https://github.com/barnumbirr/sublime-debian.git 'Debian Syntax'
A heartfelt thank you goes out to the following people for making sublime-debian a reality:
Copyright 2020-2026 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.
If you feel like buying me a coffee (or a beer?), donations are welcome:
BTC : bc1qq04jnuqqavpccfptmddqjkg7cuspy3new4sxq9
DOGE: DRBkryyau5CMxpBzVmrBAjK6dVdMZSBsuS
ETH : 0x2238A11856428b72E80D70Be8666729497059d95
LTC : MQwXsBrArLRHQzwQZAjJPNrxGS1uNDDKX6
