{"action":"created","issue":{"url":"https://api.github.com/repos/editorconfig/editorconfig-visualstudio/issues/29","labels_url":"https://api.github.com/repos/editorconfig/editorconfig-visualstudio/issues/29/labels{/name}","comments_url":"https://api.github.com/repos/editorconfig/editorconfig-visualstudio/issues/29/comments","events_url":"https://api.github.com/repos/editorconfig/editorconfig-visualstudio/issues/29/events","html_url":"https://github.com/editorconfig/editorconfig-visualstudio/issues/29","id":116287851,"number":29,"title":"Not recognizing file pattern *.{cpp,h,...}","user":{"login":"jojastahl","id":15796520,"avatar_url":"https://avatars.githubusercontent.com/u/15796520?v=3","gravatar_id":"","url":"https://api.github.com/users/jojastahl","html_url":"https://github.com/jojastahl","followers_url":"https://api.github.com/users/jojastahl/followers","following_url":"https://api.github.com/users/jojastahl/following{/other_user}","gists_url":"https://api.github.com/users/jojastahl/gists{/gist_id}","starred_url":"https://api.github.com/users/jojastahl/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jojastahl/subscriptions","organizations_url":"https://api.github.com/users/jojastahl/orgs","repos_url":"https://api.github.com/users/jojastahl/repos","events_url":"https://api.github.com/users/jojastahl/events{/privacy}","received_events_url":"https://api.github.com/users/jojastahl/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-11-11T08:24:47Z","updated_at":"2016-01-22T01:34:48Z","closed_at":null,"body":"Hello,\r\nI installed the extension from visual studio gallery in VS2015. However, it doesn't apply settings specified in the .editorconfig file.\r\nI checked with command line editorconfig and it correctly finds and interprets my editorconfig file.\r\neditorconfig.exe was v12.0.\r\nI decided to build from sources, went into the debugger. ec_fnmatch doesn't find any match. Then found that the core is bound to v11.5, so updated core to v12.0.\r\nThis brought in a dependency to PCRE library which I resolved with some hacks.\r\nRebuild and tested again, working.\r\nSo I think, the v11.5 core has a bug.\r\nI found the push request with a rework with core-net, installed it and it is working.\r\nSo it would be nice to integrate the core-net and update the VS gallery item.\r\nThanks so far,\r\n"},"comment":{"url":"https://api.github.com/repos/editorconfig/editorconfig-visualstudio/issues/comments/173771653","html_url":"https://github.com/editorconfig/editorconfig-visualstudio/issues/29#issuecomment-173771653","issue_url":"https://api.github.com/repos/editorconfig/editorconfig-visualstudio/issues/29","id":173771653,"user":{"login":"onovotny","id":1427284,"avatar_url":"https://avatars.githubusercontent.com/u/1427284?v=3","gravatar_id":"","url":"https://api.github.com/users/onovotny","html_url":"https://github.com/onovotny","followers_url":"https://api.github.com/users/onovotny/followers","following_url":"https://api.github.com/users/onovotny/following{/other_user}","gists_url":"https://api.github.com/users/onovotny/gists{/gist_id}","starred_url":"https://api.github.com/users/onovotny/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/onovotny/subscriptions","organizations_url":"https://api.github.com/users/onovotny/orgs","repos_url":"https://api.github.com/users/onovotny/repos","events_url":"https://api.github.com/users/onovotny/events{/privacy}","received_events_url":"https://api.github.com/users/onovotny/received_events","type":"User","site_admin":false},"created_at":"2016-01-22T01:34:48Z","updated_at":"2016-01-22T01:34:48Z","body":"I think I'm seeing this same issue but with XML fles.\r\n\r\nMy top level .editorconfig looks like this\r\n\r\n```\r\n# editorconfig.org\r\n\r\n# top-most EditorConfig file\r\nroot = true\r\n\r\n# Default settings:\r\n# A newline ending every file\r\n# Use 4 spaces as indentation\r\n[*]\r\ninsert_final_newline = true\r\nindent_style = space\r\nindent_size = 4\r\n\r\n# C++ Files\r\n[*.{cpp,h,in}]\r\ncurly_bracket_next_line = true\r\nindent_brace_style = Allman\r\n\r\n# Xml project files\r\n[*.{csproj,vcxproj,vcxproj.filters,proj,nativeproj,locproj}]\r\nindent_size = 2\r\n\r\n# Xml files\r\n[*.{xml,stylecop,resx,ruleset}]\r\nindent_size = 2\r\n\r\n# Xml config files\r\n[*.{props,targets,config,nuspec}]\r\nindent_size = 2\r\n\r\n# Shell scripts\r\n[*.sh]\r\nend_of_line = lf\r\n[*.{cmd, bat}]\r\nend_of_line = crlf\r\n\r\n```\r\n\r\nBut when I open up a csproj file to edit it in the XML editor, the XML tab & space settings get changed to 4, not the default of 2. It seems to be not picking up that csproj line.\r\n\r\nI'm using VS 2015 Update 1 with the Editor Config 0.5 from the VS Gallery."}}