{"action":"created","issue":{"url":"https://api.github.com/repos/Microsoft/vscode/issues/13556","repository_url":"https://api.github.com/repos/Microsoft/vscode","labels_url":"https://api.github.com/repos/Microsoft/vscode/issues/13556/labels{/name}","comments_url":"https://api.github.com/repos/Microsoft/vscode/issues/13556/comments","events_url":"https://api.github.com/repos/Microsoft/vscode/issues/13556/events","html_url":"https://github.com/Microsoft/vscode/issues/13556","id":182415436,"number":13556,"title":"Themes with advanced highlighting (potentially language-specific)","user":{"login":"TarasRoshko","id":931973,"avatar_url":"https://avatars.githubusercontent.com/u/931973?v=3","gravatar_id":"","url":"https://api.github.com/users/TarasRoshko","html_url":"https://github.com/TarasRoshko","followers_url":"https://api.github.com/users/TarasRoshko/followers","following_url":"https://api.github.com/users/TarasRoshko/following{/other_user}","gists_url":"https://api.github.com/users/TarasRoshko/gists{/gist_id}","starred_url":"https://api.github.com/users/TarasRoshko/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/TarasRoshko/subscriptions","organizations_url":"https://api.github.com/users/TarasRoshko/orgs","repos_url":"https://api.github.com/users/TarasRoshko/repos","events_url":"https://api.github.com/users/TarasRoshko/events{/privacy}","received_events_url":"https://api.github.com/users/TarasRoshko/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":{"login":"aeschli","id":6461412,"avatar_url":"https://avatars.githubusercontent.com/u/6461412?v=3","gravatar_id":"","url":"https://api.github.com/users/aeschli","html_url":"https://github.com/aeschli","followers_url":"https://api.github.com/users/aeschli/followers","following_url":"https://api.github.com/users/aeschli/following{/other_user}","gists_url":"https://api.github.com/users/aeschli/gists{/gist_id}","starred_url":"https://api.github.com/users/aeschli/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aeschli/subscriptions","organizations_url":"https://api.github.com/users/aeschli/orgs","repos_url":"https://api.github.com/users/aeschli/repos","events_url":"https://api.github.com/users/aeschli/events{/privacy}","received_events_url":"https://api.github.com/users/aeschli/received_events","type":"User","site_admin":false},"assignees":[{"login":"aeschli","id":6461412,"avatar_url":"https://avatars.githubusercontent.com/u/6461412?v=3","gravatar_id":"","url":"https://api.github.com/users/aeschli","html_url":"https://github.com/aeschli","followers_url":"https://api.github.com/users/aeschli/followers","following_url":"https://api.github.com/users/aeschli/following{/other_user}","gists_url":"https://api.github.com/users/aeschli/gists{/gist_id}","starred_url":"https://api.github.com/users/aeschli/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aeschli/subscriptions","organizations_url":"https://api.github.com/users/aeschli/orgs","repos_url":"https://api.github.com/users/aeschli/repos","events_url":"https://api.github.com/users/aeschli/events{/privacy}","received_events_url":"https://api.github.com/users/aeschli/received_events","type":"User","site_admin":false}],"milestone":null,"comments":0,"created_at":"2016-10-12T01:47:01Z","updated_at":"2016-10-12T09:19:36Z","closed_at":"2016-10-12T09:19:36Z","body":"- VSCode Version:\r\n`1.5.1`\r\n- OS Version:\r\n`Microsoft Windows [Version 10.0.14393]`\r\n\r\nDefault `Dark+`/`Light+` themes provide very basic highlighting (even though they're called `+`),\r\nI scrolled through the issues and you guys always seem to say that current philosophy is to provide only declaration highlighting and stuff, that is fair enough when it comes to _default_ themes.\r\n\r\nBut what if we (the community) want to create more advanced themes supporting highlighting of fields, method calls, static classes, string interpolations, enum values, assignments and so on. Where do we get scope lists for those? I tried to use various scope hunters with `Sublime Text` but none of the \"hunted down\" scopes actually worked which made me think scopes generated for `vscode` are different.\r\n\r\nI know you try to create language agnostic themes, but that does not mean the community cannot create advanced (language-specific) themes, e.g. something like `VS Dark` + `ReSharper` \"Color Identifiers\" for `C#`\r\n\r\nUsing \"Color Identifiers\" with `ReSharper` has proven to be very effective in catching bugs and understanding code faster and easier since you have many more visuals and process information way faster\r\n\r\nTo give an example, right now I have these `ReSharper` provided extra identifiers colored:\r\n\r\n```\r\n<Item Name=\"ReSharper Constant Identifier\" Foreground=\"0x00AA7698\" Background=\"0x01000001\" BoldFont=\"No\"/>\r\n<Item Name=\"ReSharper Field Identifier\" Foreground=\"0x00A57393\" Background=\"0x01000001\" BoldFont=\"No\"/>\r\n<Item Name=\"ReSharper Method Identifier\" Foreground=\"0x00A3B3C4\" Background=\"0x01000001\" BoldFont=\"No\"/>\r\n<Item Name=\"ReSharper Extension Method Identifier\" Foreground=\"0x00A3B3C4\" Background=\"0x01000001\" BoldFont=\"No\"/>\r\n<Item Name=\"ReSharper Operator Identifier\" Foreground=\"0x00C4BBA9\" Background=\"0x01000001\" BoldFont=\"No\"/>\r\n<Item Name=\"ReSharper Class Identifier\" Foreground=\"0x00A59A76\" Background=\"0x01000001\" BoldFont=\"No\"/>\r\n<Item Name=\"ReSharper Interface Identifier\" Foreground=\"0x00989521\" Background=\"0x01000001\" BoldFont=\"No\"/>\r\n<Item Name=\"ReSharper Struct Identifier\" Foreground=\"0x00A59A76\" Background=\"0x01000001\" BoldFont=\"No\"/>\r\n<Item Name=\"ReSharper Enum Identifier\" Foreground=\"0x00A59A76\" Background=\"0x01000001\" BoldFont=\"No\"/>\r\n```"},"comment":{"url":"https://api.github.com/repos/Microsoft/vscode/issues/comments/253162223","html_url":"https://github.com/Microsoft/vscode/issues/13556#issuecomment-253162223","issue_url":"https://api.github.com/repos/Microsoft/vscode/issues/13556","id":253162223,"user":{"login":"aeschli","id":6461412,"avatar_url":"https://avatars.githubusercontent.com/u/6461412?v=3","gravatar_id":"","url":"https://api.github.com/users/aeschli","html_url":"https://github.com/aeschli","followers_url":"https://api.github.com/users/aeschli/followers","following_url":"https://api.github.com/users/aeschli/following{/other_user}","gists_url":"https://api.github.com/users/aeschli/gists{/gist_id}","starred_url":"https://api.github.com/users/aeschli/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aeschli/subscriptions","organizations_url":"https://api.github.com/users/aeschli/orgs","repos_url":"https://api.github.com/users/aeschli/repos","events_url":"https://api.github.com/users/aeschli/events{/privacy}","received_events_url":"https://api.github.com/users/aeschli/received_events","type":"User","site_admin":false},"created_at":"2016-10-12T09:19:36Z","updated_at":"2016-10-12T09:19:36Z","body":"This is no so much a limitation of themes, but of the grammars that generate the scopes that can be colorized by themes.\r\nCurrently, syntax highlighting is based on TextMate grammars, most of them created by the community and following the specs [here](https://manual.macromates.com/en/language_grammars). That's also where you would find the scopes that are commonly used. Some grammars go further than the specified scopes, but there are limitations on what can be done with TextMate. TextMate grammars can only see one line at a time. Languages like c# are very context sensitive and a real parser is needed that works on the whole file and even does symbol lookups to e.g. decide if a name is a variable or type name.\r\n#11580 is about language parsers to colorise.\r\nIf you wanted to see something like this for C#, you'd have to file this feature request against the C# extension (https://github.com/OmniSharp/omnisharp-vscode). "}}
{"actor":{"display_login":"aeschli"}}