Bug 455392 - .m files open in Objective-C mode instead of Octave/Matlab
Summary: .m files open in Objective-C mode instead of Octave/Matlab
Status: RESOLVED INTENTIONAL
Alias: None
Product: frameworks-syntax-highlighting
Classification: Frameworks and Libraries
Component: syntax (other bugs)
Version First Reported In: unspecified
Platform: Other Linux
: NOR minor
Target Milestone: ---
Assignee: KWrite Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-06-16 10:13 UTC by heqromancer
Modified: 2023-12-19 18:33 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed/Implemented In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description heqromancer 2022-06-16 10:13:47 UTC
SUMMARY
Opening .m files should open instead with Octave/Matlab support; the results for ".m file extension" in a Internet search engine far outnumbers those related to Objective-C (whatever Objective-C is).
Comment 1 Igor Kushnir 2022-10-26 05:55:29 UTC
Searched on GitHub for
  filename:".m"
Unfortunately this search matches "m" anywhere in a filename. Still there are 11,754,262 MATLAB results and twice as many - 23,123,935 - Objective-C results.

You can change the priorities of these file types on your own system according to what you use more often in KWrite/Kate/KDevelop Settings=>Open/Save=>Modes & Filetypes.
Comment 2 Christoph Cullmann 2023-12-19 18:33:33 UTC
I think Objective-C is a lot more common than Octave/Matlab for many people. I naturally see that this is not convenient for you, but there is the workaround to alter the priority.