micro-editor / micro-editor/micro

Any way I can make Micro detect GTK?

Open
#2,110 4 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

Description of the problem or steps to reproduce

I use micro over vim because of the C error highlighting, but when I code in GTK, it does not recognize the header file like POSIX or curl. To reproduce, Try to open a GTK C file (I would recommend GTK's examples here) and saving, and it will say "No such file or directory" on the GTK header file. Because it can't recognize GTK, it voids all other errors.

Specifications

Commit hash: 6bc498e6

OS: Arch Linux x86_64
Terminal: gnome-terminal

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 problem by opening and saving one of GTK's C examples linked in the issue on Arch Linux. Start by tracing micro's C error-highlighting and header lookup behavior, comparing GTK with the existing POSIX and curl handling. Done means GTK headers no longer produce a missing-file error while other compiler errors remain visible.

Written by the indexing model from the issue text.

Assessment

Tech stack
c, go, linux
Domain
cli, tooling
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.