micro-editor / micro-editor/micro

Request (or just a general question) about .mo (modelica) syntax highlight support.

Open
#3,415 1 comment 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

Hello folks, hope you're doing fine!

I'm kinda new on the linux environment and sometimes I have some really stupid questions, this may be one of them. I need to write physical models in the modelica (.mo) language and I used to use Notepad++ on windows because someone made a custom modelica syntax highlight file for it. I moved to linux and discovered Micro and, man, I really love it. Unfortunately, though, the absence of .mo syntax highlight makes my life really difficult. How one would go about adding a custom syntax highlight file on micro? How is this file structured? Is there a fast way to quickly convert the custom template file I have for Notepad++ to the model Micro uses?

Thanks a lot for your attention,

Commit hash: IDK, sorry.
OS: Arch Linux
Terminal: Kitty, Shell: Fish

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

The issue identifies .mo Modelica files and a custom Notepad++ syntax-highlight template, but no repository file or test is named. Start by finding micro's syntax-highlighting documentation and configuration, then determine how .mo support is registered; done means Modelica files receive syntax highlighting in micro.

Written by the indexing model from the issue text.

Assessment

Tech stack
fish, linux
Domain
cli
Issue type
Feature
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
38/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.