Revamp theme and include all languages (tracking issue)
This is a tracking issue for future planned work
The Catppuccin Theme for Notepad++ is currently not consistent with other Catppuccin ports, and is lacking support for many built-in languages and features of recent versions of Notepad++. We should revamp the theme to support more languages and match the Catppuccin Style Guide. The [default Notepad++ theme(https://github.com/notepad-plus-plus/notepad-plus-plus/blob/master/PowerEditor/src/stylers.model.xml) should be used as the standard for a feature complete theme. Proposals for high-level goals are summarized in this issue.
-
[ ] The theme should support highlighting all built-in language modes
Currently missing languages
- actionscript
- ada
- asm
- asn1
- asp
- avs
- baanc
- blitzbasic
- caml
- ~~cmake~~
- cobol
- coffeescript
- csound
- d
- ~~diff~~
- escript
- forth
- fortran
- fortran77
- freebasic
- gdscript
- go
- gui4cli
- hollywood
- ~~ihex~~
- ~~inno~~
- ~~javascript.js~~
- mmixal
- mssql
- nim
- nncrontab
- nsis
- objc
- oscript
- perl
- postscript
- purebasic
- raku
- rc
- rebol
- ~~registry~~
- scheme
- smalltalk
- spice
- ~~srec~~
- swift
- ~~tcl~~
- tehex
- ~~tex~~
- ~~toml~~
- txt2tags
- visualprolog
-
[x] The theme should make use of default style inheritance using the
<WordsStyle> colorStyleattribute as seen in the documentation and theme best-practices (this feature needs to be tested, as despite being mentioned in Npp documentation, I have yet to see a theme that makes use of it). -
[ ] Our theme files should include a descriptive header comment, including the MIT License For reference, see all of the built-in themes that are shipped with NotePad++ Despite NotePad++ itself being distributed under the GPL, many of the included themes are using other permissive licenses (CC, MIT). I belive that we are OK to stay with a MIT license for this port.
-
[x] The theme should not set the
<GlobalOverride>style (for font or otherwise), according to these docs Additionally, we should support all global styles, and match the definition order in the default stylers.model.xml (used by the UI) -
[x] Notepad++ supports custom toolbar icon sets. ~~We should investigate the feasibility and appearance of potentially providing custom Catppuccin icons~~ Edit: Going to veto this for now, because I am no graphic designer, and the existing CTP icons are language/file icons, not application toolbar icons (save, open, zoom, etc)
-
[ ] Version v8.8.1 adds a new "language" mode called "ErrorList". From looking at their linked issues, this seems to be support for interpreting ANSI ESC sequences in log files, or other program output. This seems a little wierd to me, seems like something a text editor shouldn't do. But whatever. We can include the Catppuccin ANSI terminal color codes