{"action":"closed","issue":{"url":"https://api.github.com/repos/OmniSharp/omnisharp-emacs/issues/173","repository_url":"https://api.github.com/repos/OmniSharp/omnisharp-emacs","labels_url":"https://api.github.com/repos/OmniSharp/omnisharp-emacs/issues/173/labels{/name}","comments_url":"https://api.github.com/repos/OmniSharp/omnisharp-emacs/issues/173/comments","events_url":"https://api.github.com/repos/OmniSharp/omnisharp-emacs/issues/173/events","html_url":"https://github.com/OmniSharp/omnisharp-emacs/issues/173","id":73633462,"number":173,"title":"Syntax highlighting for #if blocks","user":{"login":"d12frosted","id":6507913,"avatar_url":"https://avatars.githubusercontent.com/u/6507913?v=3","gravatar_id":"","url":"https://api.github.com/users/d12frosted","html_url":"https://github.com/d12frosted","followers_url":"https://api.github.com/users/d12frosted/followers","following_url":"https://api.github.com/users/d12frosted/following{/other_user}","gists_url":"https://api.github.com/users/d12frosted/gists{/gist_id}","starred_url":"https://api.github.com/users/d12frosted/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/d12frosted/subscriptions","organizations_url":"https://api.github.com/users/d12frosted/orgs","repos_url":"https://api.github.com/users/d12frosted/repos","events_url":"https://api.github.com/users/d12frosted/events{/privacy}","received_events_url":"https://api.github.com/users/d12frosted/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":4,"created_at":"2015-05-06T14:11:02Z","updated_at":"2016-09-16T18:06:21Z","closed_at":"2016-09-16T18:06:21Z","body":"Hey,\r\n\r\nOn the project I am currently working on people are using symbols for conditional compiling very heavily. I am talking about symbols like `DEBUG`, `RELEASE` or whatever else you want.\r\n\r\n```csharp\r\n#if SYMBOL\r\n    // code for SYMBOL only\r\n#else\r\n    // code for all other cases\r\n#endif\r\n```\r\n\r\n`csharp-mode` knows nothing about those symbols, so it just highlights syntax in both cases. In Visual Studio it shows you the branch that will not compile as a comment. And it comes very useful sometimes. \r\n\r\nSo my request is to implement the same behaviour of syntax highlighting. I understand, that `omnisharp-emacs` is a not about highlighting, but it has (using omnisharp server) knowledge about symbols. That's why I thought that this is a good place for such feature request. But in case it's not - my apologises. "}}
{"actor":{"display_login":"sp3ctum"}}