Previously, I used talias's UDL (User Defined Language) for CK2 but realized much later that it is out of date with the current Notepad++ and CK2 version as there are a lot of missing codes that can be highlighted and that the Auto-Complete no longer works after Notepad++ v7.6.2. So, I made my own from scratch and using keywords directly from the CK2 modding wiki.
Screenshots below shows: Auto-Complete and syntax highlighting.
Features:
Extract the "CK2Counter.zip" to a folder you can easily remember, recommended locations: Downloads, Documents, or Desktop
Attached file, 1.0.0
Screenshots below shows: Auto-Complete and syntax highlighting.


Features:
- Syntax highlighting for Properties, Conditions, Scopes, Commands, and Comments
- Supports .txt, .gfx, .gui, and .csv
- Up-to-date keywords for CK2 v3.3.3
- Customizable colors for syntax highlighting
- Auto-Completion of key words
Extract the "CK2Counter.zip" to a folder you can easily remember, recommended locations: Downloads, Documents, or Desktop
- CK2Counter.xml
- Move this file to "...\Notepad++\autoCompletion"
- Make sure that the "Notepad++" folder contains the "notepad++.exe" and "autoComplete," if there are none then you either didn't install it or installed it elsewhere.
- Open Notepad++
- Open "Preferences" from Settings (Settings > Preferences)
- Navigate to "Auto-Completion"
- Check "Enable auto-completion on each input"
- Pick either "Word completion" or "Function and word completion" under "Enable auto-completion on each input"
- Start modding.
- OPTIONAL:
- Enable these "Auto-Insert" options:
- "
- '
- {
- Enable these "Auto-Insert" options:
- Move this file to "...\Notepad++\autoCompletion"
- CK2CounterExport.xml
- Open Notepad++
- Open "User Defined Language" in (Language > User Defined Language > Define your language...)
- Ensure your "User language" is set to "User Defined Language" to avoid
- overriding other custom languages if you have any
- Click the "Import..." button
- Navigate to where you extracted the "CK2CounterExport.xml" to
- Open the file from the "Import..." button
Attached file, 1.0.0
Attachments
Last edited:
- 1