{"action":"created","comment":{"url":"https://api.github.com/repos/MrJul/ForTea/pulls/comments/79798763","id":79798763,"diff_hunk":"@@ -0,0 +1,277 @@\n+﻿#region License\n+\n+//    Copyright 2012 Julien Lebosquain\n+//    Copyright 2016 Caelan Sayler - [caelantsayler]at[gmail]com\n+// \n+//    Licensed under the Apache License, Version 2.0 (the \"License\");\n+//    you may not use this file except in compliance with the License.\n+//    You may obtain a copy of the License at\n+// \n+//        http://www.apache.org/licenses/LICENSE-2.0\n+// \n+//    Unless required by applicable law or agreed to in writing, software\n+//    distributed under the License is distributed on an \"AS IS\" BASIS,\n+//    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n+//    See the License for the specific language governing permissions and\n+//    limitations under the License.\n+\n+#endregion\n+\n+\n+using System;\n+using GammaJul.ReSharper.ForTea.Psi.Directives;\n+using GammaJul.ReSharper.ForTea.Tree;\n+using JetBrains.Annotations;\n+using JetBrains.Application;\n+using JetBrains.ReSharper.Psi;\n+using JetBrains.ReSharper.Psi.Tree;\n+\n+namespace GammaJul.ReSharper.ForTea.Psi {\n+\n+\t/// <summary>\n+\t/// This class generates a code-behind file from VB embedded statements and directives in the T4 file.\n+\t/// </summary>\n+\tinternal sealed class T4VBCodeGenerator : IRecursiveElementProcessor {","path":"GammaJul.ReSharper.ForTea/Psi/T4VBCodeGenerator.cs","position":34,"original_position":34,"commit_id":"42abe9408c7866b29da794f44b0307b3d5bf1134","original_commit_id":"42abe9408c7866b29da794f44b0307b3d5bf1134","user":{"login":"MrJul","id":1623034,"avatar_url":"https://avatars.githubusercontent.com/u/1623034?v=3","gravatar_id":"","url":"https://api.github.com/users/MrJul","html_url":"https://github.com/MrJul","followers_url":"https://api.github.com/users/MrJul/followers","following_url":"https://api.github.com/users/MrJul/following{/other_user}","gists_url":"https://api.github.com/users/MrJul/gists{/gist_id}","starred_url":"https://api.github.com/users/MrJul/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MrJul/subscriptions","organizations_url":"https://api.github.com/users/MrJul/orgs","repos_url":"https://api.github.com/users/MrJul/repos","events_url":"https://api.github.com/users/MrJul/events{/privacy}","received_events_url":"https://api.github.com/users/MrJul/received_events","type":"User","site_admin":false},"body":"A lot of logic is duplicated from `T4CSharpCodeGenerator`. I think a base class can be created to abstract away language-specific generation code. Are you up to it? If not, I can do it after merging.","created_at":"2016-09-21T09:59:46Z","updated_at":"2016-09-21T09:59:46Z","html_url":"https://github.com/MrJul/ForTea/pull/77#discussion_r79798763","pull_request_url":"https://api.github.com/repos/MrJul/ForTea/pulls/77","_links":{"self":{"href":"https://api.github.com/repos/MrJul/ForTea/pulls/comments/79798763"},"html":{"href":"https://github.com/MrJul/ForTea/pull/77#discussion_r79798763"},"pull_request":{"href":"https://api.github.com/repos/MrJul/ForTea/pulls/77"}}},"pull_request":{"url":"https://api.github.com/repos/MrJul/ForTea/pulls/77","id":78563272,"html_url":"https://github.com/MrJul/ForTea/pull/77","diff_url":"https://github.com/MrJul/ForTea/pull/77.diff","patch_url":"https://github.com/MrJul/ForTea/pull/77.patch","issue_url":"https://api.github.com/repos/MrJul/ForTea/issues/77","number":77,"state":"open","locked":false,"title":"Add VB.Net Support","user":{"login":"caesay","id":1287295,"avatar_url":"https://avatars.githubusercontent.com/u/1287295?v=3","gravatar_id":"","url":"https://api.github.com/users/caesay","html_url":"https://github.com/caesay","followers_url":"https://api.github.com/users/caesay/followers","following_url":"https://api.github.com/users/caesay/following{/other_user}","gists_url":"https://api.github.com/users/caesay/gists{/gist_id}","starred_url":"https://api.github.com/users/caesay/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/caesay/subscriptions","organizations_url":"https://api.github.com/users/caesay/orgs","repos_url":"https://api.github.com/users/caesay/repos","events_url":"https://api.github.com/users/caesay/events{/privacy}","received_events_url":"https://api.github.com/users/caesay/received_events","type":"User","site_admin":false},"body":"I don't have the latest ReSharper, so I developed this code against an older commit targetting 9.1 and merged into the latest when I was finished. Because of this, I wasn't able to do any final testing before this pull - but can confirm it was working before the merge. I used Issue #33 as a guideline.\r\n\r\nHere are the items listed in the issue and completion status:\r\n- [x] Create `T4CSharpCodeGenerator`\r\n- [x] Implement `IVBCustomModificationHandler`\r\n- [x] Implement `VBTypingAssistBase`\r\n- [x] Add VB Daemon Stage for highlighting\r\n- [ ] Add VB Daemon Stage for errors\r\n- [ ] Add IProjectFileCodeStructureProvider\r\n\r\nI changed the C# Daemon highlighting stage to use default (C++) ReSharper type highlighting, so that types and namespaces can be differentiated. I also added `C#v3.5` and `VBv3.5` to the valid attribute values for the template language, as unless these are used `TextTransform.exe` defaults to using .Net 2.0\r\n\r\nI don't plan on implementing the final two items, because this is good enough for me. ","created_at":"2016-07-23T04:47:50Z","updated_at":"2016-09-21T09:59:46Z","closed_at":null,"merged_at":null,"merge_commit_sha":"5d582868ab96e04f19b2de8c876b409d88ec334b","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/MrJul/ForTea/pulls/77/commits","review_comments_url":"https://api.github.com/repos/MrJul/ForTea/pulls/77/comments","review_comment_url":"https://api.github.com/repos/MrJul/ForTea/pulls/comments{/number}","comments_url":"https://api.github.com/repos/MrJul/ForTea/issues/77/comments","statuses_url":"https://api.github.com/repos/MrJul/ForTea/statuses/42abe9408c7866b29da794f44b0307b3d5bf1134","head":{"label":"caesay:vb-net-support","ref":"vb-net-support","sha":"42abe9408c7866b29da794f44b0307b3d5bf1134","user":{"login":"caesay","id":1287295,"avatar_url":"https://avatars.githubusercontent.com/u/1287295?v=3","gravatar_id":"","url":"https://api.github.com/users/caesay","html_url":"https://github.com/caesay","followers_url":"https://api.github.com/users/caesay/followers","following_url":"https://api.github.com/users/caesay/following{/other_user}","gists_url":"https://api.github.com/users/caesay/gists{/gist_id}","starred_url":"https://api.github.com/users/caesay/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/caesay/subscriptions","organizations_url":"https://api.github.com/users/caesay/orgs","repos_url":"https://api.github.com/users/caesay/repos","events_url":"https://api.github.com/users/caesay/events{/privacy}","received_events_url":"https://api.github.com/users/caesay/received_events","type":"User","site_admin":false},"repo":{"id":63556782,"name":"ForTea","full_name":"caesay/ForTea","owner":{"login":"caesay","id":1287295,"avatar_url":"https://avatars.githubusercontent.com/u/1287295?v=3","gravatar_id":"","url":"https://api.github.com/users/caesay","html_url":"https://github.com/caesay","followers_url":"https://api.github.com/users/caesay/followers","following_url":"https://api.github.com/users/caesay/following{/other_user}","gists_url":"https://api.github.com/users/caesay/gists{/gist_id}","starred_url":"https://api.github.com/users/caesay/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/caesay/subscriptions","organizations_url":"https://api.github.com/users/caesay/orgs","repos_url":"https://api.github.com/users/caesay/repos","events_url":"https://api.github.com/users/caesay/events{/privacy}","received_events_url":"https://api.github.com/users/caesay/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/caesay/ForTea","description":"A plugin for ReSharper that adds support for T4 (.tt) files","fork":true,"url":"https://api.github.com/repos/caesay/ForTea","forks_url":"https://api.github.com/repos/caesay/ForTea/forks","keys_url":"https://api.github.com/repos/caesay/ForTea/keys{/key_id}","collaborators_url":"https://api.github.com/repos/caesay/ForTea/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/caesay/ForTea/teams","hooks_url":"https://api.github.com/repos/caesay/ForTea/hooks","issue_events_url":"https://api.github.com/repos/caesay/ForTea/issues/events{/number}","events_url":"https://api.github.com/repos/caesay/ForTea/events","assignees_url":"https://api.github.com/repos/caesay/ForTea/assignees{/user}","branches_url":"https://api.github.com/repos/caesay/ForTea/branches{/branch}","tags_url":"https://api.github.com/repos/caesay/ForTea/tags","blobs_url":"https://api.github.com/repos/caesay/ForTea/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/caesay/ForTea/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/caesay/ForTea/git/refs{/sha}","trees_url":"https://api.github.com/repos/caesay/ForTea/git/trees{/sha}","statuses_url":"https://api.github.com/repos/caesay/ForTea/statuses/{sha}","languages_url":"https://api.github.com/repos/caesay/ForTea/languages","stargazers_url":"https://api.github.com/repos/caesay/ForTea/stargazers","contributors_url":"https://api.github.com/repos/caesay/ForTea/contributors","subscribers_url":"https://api.github.com/repos/caesay/ForTea/subscribers","subscription_url":"https://api.github.com/repos/caesay/ForTea/subscription","commits_url":"https://api.github.com/repos/caesay/ForTea/commits{/sha}","git_commits_url":"https://api.github.com/repos/caesay/ForTea/git/commits{/sha}","comments_url":"https://api.github.com/repos/caesay/ForTea/comments{/number}","issue_comment_url":"https://api.github.com/repos/caesay/ForTea/issues/comments{/number}","contents_url":"https://api.github.com/repos/caesay/ForTea/contents/{+path}","compare_url":"https://api.github.com/repos/caesay/ForTea/compare/{base}...{head}","merges_url":"https://api.github.com/repos/caesay/ForTea/merges","archive_url":"https://api.github.com/repos/caesay/ForTea/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/caesay/ForTea/downloads","issues_url":"https://api.github.com/repos/caesay/ForTea/issues{/number}","pulls_url":"https://api.github.com/repos/caesay/ForTea/pulls{/number}","milestones_url":"https://api.github.com/repos/caesay/ForTea/milestones{/number}","notifications_url":"https://api.github.com/repos/caesay/ForTea/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/caesay/ForTea/labels{/name}","releases_url":"https://api.github.com/repos/caesay/ForTea/releases{/id}","deployments_url":"https://api.github.com/repos/caesay/ForTea/deployments","created_at":"2016-07-17T23:20:30Z","updated_at":"2016-07-17T23:20:31Z","pushed_at":"2016-07-23T21:20:37Z","git_url":"git://github.com/caesay/ForTea.git","ssh_url":"git@github.com:caesay/ForTea.git","clone_url":"https://github.com/caesay/ForTea.git","svn_url":"https://github.com/caesay/ForTea","homepage":null,"size":732,"stargazers_count":0,"watchers_count":0,"language":"C#","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"MrJul:master","ref":"master","sha":"5255ea13004eca2ab03413be82c6fc9e77f310cf","user":{"login":"MrJul","id":1623034,"avatar_url":"https://avatars.githubusercontent.com/u/1623034?v=3","gravatar_id":"","url":"https://api.github.com/users/MrJul","html_url":"https://github.com/MrJul","followers_url":"https://api.github.com/users/MrJul/followers","following_url":"https://api.github.com/users/MrJul/following{/other_user}","gists_url":"https://api.github.com/users/MrJul/gists{/gist_id}","starred_url":"https://api.github.com/users/MrJul/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MrJul/subscriptions","organizations_url":"https://api.github.com/users/MrJul/orgs","repos_url":"https://api.github.com/users/MrJul/repos","events_url":"https://api.github.com/users/MrJul/events{/privacy}","received_events_url":"https://api.github.com/users/MrJul/received_events","type":"User","site_admin":false},"repo":{"id":7077822,"name":"ForTea","full_name":"MrJul/ForTea","owner":{"login":"MrJul","id":1623034,"avatar_url":"https://avatars.githubusercontent.com/u/1623034?v=3","gravatar_id":"","url":"https://api.github.com/users/MrJul","html_url":"https://github.com/MrJul","followers_url":"https://api.github.com/users/MrJul/followers","following_url":"https://api.github.com/users/MrJul/following{/other_user}","gists_url":"https://api.github.com/users/MrJul/gists{/gist_id}","starred_url":"https://api.github.com/users/MrJul/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MrJul/subscriptions","organizations_url":"https://api.github.com/users/MrJul/orgs","repos_url":"https://api.github.com/users/MrJul/repos","events_url":"https://api.github.com/users/MrJul/events{/privacy}","received_events_url":"https://api.github.com/users/MrJul/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/MrJul/ForTea","description":"A plugin for ReSharper that adds support for T4 (.tt) files","fork":false,"url":"https://api.github.com/repos/MrJul/ForTea","forks_url":"https://api.github.com/repos/MrJul/ForTea/forks","keys_url":"https://api.github.com/repos/MrJul/ForTea/keys{/key_id}","collaborators_url":"https://api.github.com/repos/MrJul/ForTea/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/MrJul/ForTea/teams","hooks_url":"https://api.github.com/repos/MrJul/ForTea/hooks","issue_events_url":"https://api.github.com/repos/MrJul/ForTea/issues/events{/number}","events_url":"https://api.github.com/repos/MrJul/ForTea/events","assignees_url":"https://api.github.com/repos/MrJul/ForTea/assignees{/user}","branches_url":"https://api.github.com/repos/MrJul/ForTea/branches{/branch}","tags_url":"https://api.github.com/repos/MrJul/ForTea/tags","blobs_url":"https://api.github.com/repos/MrJul/ForTea/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/MrJul/ForTea/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/MrJul/ForTea/git/refs{/sha}","trees_url":"https://api.github.com/repos/MrJul/ForTea/git/trees{/sha}","statuses_url":"https://api.github.com/repos/MrJul/ForTea/statuses/{sha}","languages_url":"https://api.github.com/repos/MrJul/ForTea/languages","stargazers_url":"https://api.github.com/repos/MrJul/ForTea/stargazers","contributors_url":"https://api.github.com/repos/MrJul/ForTea/contributors","subscribers_url":"https://api.github.com/repos/MrJul/ForTea/subscribers","subscription_url":"https://api.github.com/repos/MrJul/ForTea/subscription","commits_url":"https://api.github.com/repos/MrJul/ForTea/commits{/sha}","git_commits_url":"https://api.github.com/repos/MrJul/ForTea/git/commits{/sha}","comments_url":"https://api.github.com/repos/MrJul/ForTea/comments{/number}","issue_comment_url":"https://api.github.com/repos/MrJul/ForTea/issues/comments{/number}","contents_url":"https://api.github.com/repos/MrJul/ForTea/contents/{+path}","compare_url":"https://api.github.com/repos/MrJul/ForTea/compare/{base}...{head}","merges_url":"https://api.github.com/repos/MrJul/ForTea/merges","archive_url":"https://api.github.com/repos/MrJul/ForTea/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/MrJul/ForTea/downloads","issues_url":"https://api.github.com/repos/MrJul/ForTea/issues{/number}","pulls_url":"https://api.github.com/repos/MrJul/ForTea/pulls{/number}","milestones_url":"https://api.github.com/repos/MrJul/ForTea/milestones{/number}","notifications_url":"https://api.github.com/repos/MrJul/ForTea/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/MrJul/ForTea/labels{/name}","releases_url":"https://api.github.com/repos/MrJul/ForTea/releases{/id}","deployments_url":"https://api.github.com/repos/MrJul/ForTea/deployments","created_at":"2012-12-09T10:51:28Z","updated_at":"2016-09-10T16:33:35Z","pushed_at":"2016-09-21T09:28:05Z","git_url":"git://github.com/MrJul/ForTea.git","ssh_url":"git@github.com:MrJul/ForTea.git","clone_url":"https://github.com/MrJul/ForTea.git","svn_url":"https://github.com/MrJul/ForTea","homepage":null,"size":731,"stargazers_count":113,"watchers_count":113,"language":"C#","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":20,"mirror_url":null,"open_issues_count":26,"forks":20,"open_issues":26,"watchers":113,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/MrJul/ForTea/pulls/77"},"html":{"href":"https://github.com/MrJul/ForTea/pull/77"},"issue":{"href":"https://api.github.com/repos/MrJul/ForTea/issues/77"},"comments":{"href":"https://api.github.com/repos/MrJul/ForTea/issues/77/comments"},"review_comments":{"href":"https://api.github.com/repos/MrJul/ForTea/pulls/77/comments"},"review_comment":{"href":"https://api.github.com/repos/MrJul/ForTea/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/MrJul/ForTea/pulls/77/commits"},"statuses":{"href":"https://api.github.com/repos/MrJul/ForTea/statuses/42abe9408c7866b29da794f44b0307b3d5bf1134"}}}}
{"actor":{"display_login":"MrJul"}}