catppuccin / catppuccin/notepad-plus-plus
Revamp theme and include all languages (tracking issue)
- Dominant language
- Just
- Stars
- 181
- Forks
- 7
- PR merge metrics
- No merged PRs in 30d
Description
### 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 ` colorStyle` attribute as seen in [the documentation](https://npp-user-manual.org/docs/config-files/#highlighting-schemes-stylersxml) and [theme best-practices](https://github.com/notepad-plus-plus/nppThemes/tree/main#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++](https://github.com/notepad-plus-plus/notepad-plus-plus/tree/master/PowerEditor/installer/themes)
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 `` style (for font or otherwise), according to [these docs](https://npp-user-manual.org/docs/preferences/#global-styles)
Additionally, we should support all global styles, and match the definition order in the [default stylers.model.xml](https://github.com/notepad-plus-plus/notepad-plus-plus/blob/master/PowerEditor/src/stylers.model.xml) (used by the UI)
- [x] Notepad++ supports [custom toolbar icon sets](https://npp-user-manual.org/docs/config-files/#toolbar-icon-customization-toolbariconsxml). ~~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](https://redirect.github.com/notepad-plus-plus/notepad-plus-plus/issues/8078), 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
Contributor guide
Assessment
This issue has not been assessed yet.