notepad-plus-plus / notepad-plus-plus/notepad-plus-plus
[Request] Python boolean constant Color Coding
Nobody has claimed this yet.
- Dominant language
- C++
- Stars
- 29.4k
- Forks
- 5.4k
- PR merge metrics
- No merged PRs in 30d
Description
When programming in Python, the boolean constants (True and False) do not color code. They stay the same color as variables. I will have a lot of people editing my code and we use a lot of booleans. Compressor_Contactor = True (setting a value) is very different from Compressor_Contactor = true (undeclared variable). It would be great if people get the color coding verification that they correctly typed True or False. Thanks!
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
No file or test is named; start by locating Notepad++'s Python syntax-highlighting definitions and checking how True, False, and ordinary identifiers are classified. Done means True and False receive distinct boolean-constant coloring while variables remain unchanged, with the result verified in the editor.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cpp, python
- Domain
- tooling
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 38/100