atom / language-c

C support in Atom
Other
118 stars 153 forks source link

Use clang's libtooling for syntax highlighting #2

Open gnzlbg opened 10 years ago

gnzlbg commented 10 years ago

Ditto.

martijnthe commented 10 years ago

:+1:

Would love to see refactoring tools in Atom using libclang. Even something "simple" like renaming a symbol in the current scope would be extremely useful. Check out Xcode's "Edit All in Scope", I think this is a good example implementation of such a feature.

Regexes aren't going to cut it... :)

cubuspl42 commented 10 years ago

@martijnthe Does it work for non-ObjC languages?...

gnzlbg commented 10 years ago

@cubuspl42 it works for all C-family languages (C, C++, ObjectiveC/C++,CUDA,...)

On Mon, Apr 28, 2014 at 5:32 PM, cubuspl42 notifications@github.com wrote:

@martijnthe https://github.com/martijnthe Does it work for non-ObjC languages?...

— Reply to this email directly or view it on GitHubhttps://github.com/atom/language-c/issues/2#issuecomment-41572804 .

martijnthe commented 10 years ago

What @gnzlbg said. As the name implies Clang is a compiler/library for the C family of languages.

cubuspl42 commented 10 years ago

@martijnthe Yea, but I thought that Edit all in scope is reserved for ObjC in Xcode, like Refactor > Rename. Now I know it's not. I wasn't clear enough. :)

NatalieWolfe commented 9 years ago

:+1:

aisk commented 9 years ago

👍

kayasoze commented 8 years ago

:+1:

AriaFallah commented 8 years ago

:+1:

janosimas commented 8 years ago

:+1:

felix91gr commented 8 years ago

:+1:

appins commented 8 years ago

:+1: