Skip to content
This repository has been archived by the owner on Dec 15, 2022. It is now read-only.

Detect Obj-C header files #10

Open
kklemon opened this issue Sep 26, 2015 · 1 comment
Open

Detect Obj-C header files #10

kklemon opened this issue Sep 26, 2015 · 1 comment
Labels

Comments

@kklemon
Copy link

kklemon commented Sep 26, 2015

Because C and Objective-C have the same filename extension, atom detects .h always as C header files. At least in my case.

So i wonder if we should or could implement some logic that searches for a corresponding .m file with the same filename, or within the same folder or project when a .h file is opened, and sets the file type res. language to Objective-C.

@winstliu
Copy link
Contributor

winstliu commented Dec 2, 2015

Currently all that Atom does is look for a matching filetype and doesn't perform any additional analysis after that. See #5 for a similar issue.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

2 participants