Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6335303
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 24, 20262026-05-24T18:49:48+00:00 2026-05-24T18:49:48+00:00

I want to open iOS objective-c files in Notepad++ (with a .m extension) and

  • 0

I want to open iOS objective-c files in Notepad++ (with a .m extension) and have it designated as an Objective-C file. In settings –> style configurator, I know that I can add a “user ext.” (m) for Objective-C. The problem is that Matlab already uses the .m extension as the default extension field, which can’t be edited. Is there a file I can access to change this?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-24T18:49:49+00:00Added an answer on May 24, 2026 at 6:49 pm

    Notepad++ doesn’t list .h, .m and .mm files as Objective-C files (.mm is Objective-C++) by default for some reason.

    You can modify your langs.xml file to tell Notepad++ to associate those extensions with Objective-C. Open the file %AppData%\Notepad++\langs.xml, and scroll down to the following area:

    <Language name="objc" ext="" commentLine="//" commentStart="/*" commentEnd="*/">
        <Keywords name="instre1">if else switch case default break goto return for while do continue typedef sizeof NULL self super nil NIL</Keywords>
        <Keywords name="instre2">interface implementation protocol end private protected public class selector encode defs</Keywords>
        <Keywords name="type1">void struct union enum char short int long double float signed unsigned const static extern auto register volatile id Class SEL IMP BOOL</Keywords>
        <Keywords name="type2">oneway in out inout bycopy byref</Keywords>
    </Language>
    

    Then add h m mm to the ext attribute:

    <Language name="objc" ext="h m mm" commentLine="//" commentStart="/*" commentEnd="*/">
        <Keywords name="instre1">if else switch case default break goto return for while do continue typedef sizeof NULL self super nil NIL</Keywords>
        <Keywords name="instre2">interface implementation protocol end private protected public class selector encode defs</Keywords>
        <Keywords name="type1">void struct union enum char short int long double float signed unsigned const static extern auto register volatile id Class SEL IMP BOOL</Keywords>
        <Keywords name="type2">oneway in out inout bycopy byref</Keywords>
    </Language>
    

    Then restart Notepad++.

    If editing the langs.xml file in your %AppData%\Notepad++ folder doesn’t work, you’ll have to open the one in %ProgramFiles%\Notepad++ instead. Make sure to back up the original in case you mess up somewhere.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I want to open a save file dialog, have the user enter a filename,
I have multiple UIViewControllers in my iOS App's Storyboard. I want to open one
i have a program that saves data to file and i want to put
I have this code.... file_parser::file_parser(string file){ txtfile.open(file.c_str(), ios::in); if (!txtfile.good()){ string error=err(0, +file+ not
I just want to write a simple text file: ofstream test; test.clear(); test.open(test.txt,ios::out); float
I have a file that I want to read and write to a binary
I have a file path to a pdf and I want it to open
I want to open word, Power point and excel files in browser like PDF
I want to open a partial view as a JQuery dialog that when I
I want to open a file for reading, the C++ way. I need to

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.