micro-editor / micro-editor/micro

.desktop file semicolon syntax coloring

Open
#3,365 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Go
Stars
29.6k
Forks
1.4k
Avg merge
2d 18h
Merged PRs (30d)
10

Description

I went into a .desktop file (/usr/share/applications/yelp.desktop) with Micro and saw that everything after the first semicolon in a list separated by semicolons was colored the same as comments. Was the same in other .desktop files in the directory. Doesn't happen in Nano. Is this intentional?

Commit hash: 2.0.13
OS: Ubuntu 24.04 LTS
Terminal: GNOME Terminal
Screenshot from 2024-07-01 07-46-39

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Reproduce the coloring issue in /usr/share/applications/yelp.desktop using Micro on Ubuntu 24.04, and compare the result with Nano. Trace the syntax-highlighting behavior for semicolon-separated entries; the issue is done when valid entries after a semicolon are no longer colored as comments, if the behavior is confirmed as a bug.

Written by the indexing model from the issue text.

Assessment

Tech stack
go
Domain
tooling
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.