{"action":"created","issue":{"url":"https://api.github.com/repos/Microsoft/sqlopsstudio/issues/717","repository_url":"https://api.github.com/repos/Microsoft/sqlopsstudio","labels_url":"https://api.github.com/repos/Microsoft/sqlopsstudio/issues/717/labels{/name}","comments_url":"https://api.github.com/repos/Microsoft/sqlopsstudio/issues/717/comments","events_url":"https://api.github.com/repos/Microsoft/sqlopsstudio/issues/717/events","html_url":"https://github.com/Microsoft/sqlopsstudio/issues/717","id":297864909,"number":717,"title":"Selecting partial query and hitting Cmd or Ctrl+C opens terminal with Error message","user":{"login":"Code-DJ","id":8212554,"avatar_url":"https://avatars1.githubusercontent.com/u/8212554?v=4","gravatar_id":"","url":"https://api.github.com/users/Code-DJ","html_url":"https://github.com/Code-DJ","followers_url":"https://api.github.com/users/Code-DJ/followers","following_url":"https://api.github.com/users/Code-DJ/following{/other_user}","gists_url":"https://api.github.com/users/Code-DJ/gists{/gist_id}","starred_url":"https://api.github.com/users/Code-DJ/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Code-DJ/subscriptions","organizations_url":"https://api.github.com/users/Code-DJ/orgs","repos_url":"https://api.github.com/users/Code-DJ/repos","events_url":"https://api.github.com/users/Code-DJ/events{/privacy}","received_events_url":"https://api.github.com/users/Code-DJ/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":{"login":"anthonydresser","id":4324725,"avatar_url":"https://avatars3.githubusercontent.com/u/4324725?v=4","gravatar_id":"","url":"https://api.github.com/users/anthonydresser","html_url":"https://github.com/anthonydresser","followers_url":"https://api.github.com/users/anthonydresser/followers","following_url":"https://api.github.com/users/anthonydresser/following{/other_user}","gists_url":"https://api.github.com/users/anthonydresser/gists{/gist_id}","starred_url":"https://api.github.com/users/anthonydresser/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/anthonydresser/subscriptions","organizations_url":"https://api.github.com/users/anthonydresser/orgs","repos_url":"https://api.github.com/users/anthonydresser/repos","events_url":"https://api.github.com/users/anthonydresser/events{/privacy}","received_events_url":"https://api.github.com/users/anthonydresser/received_events","type":"User","site_admin":false},"assignees":[{"login":"anthonydresser","id":4324725,"avatar_url":"https://avatars3.githubusercontent.com/u/4324725?v=4","gravatar_id":"","url":"https://api.github.com/users/anthonydresser","html_url":"https://github.com/anthonydresser","followers_url":"https://api.github.com/users/anthonydresser/followers","following_url":"https://api.github.com/users/anthonydresser/following{/other_user}","gists_url":"https://api.github.com/users/anthonydresser/gists{/gist_id}","starred_url":"https://api.github.com/users/anthonydresser/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/anthonydresser/subscriptions","organizations_url":"https://api.github.com/users/anthonydresser/orgs","repos_url":"https://api.github.com/users/anthonydresser/repos","events_url":"https://api.github.com/users/anthonydresser/events{/privacy}","received_events_url":"https://api.github.com/users/anthonydresser/received_events","type":"User","site_admin":false}],"milestone":{"url":"https://api.github.com/repos/Microsoft/sqlopsstudio/milestones/9","html_url":"https://github.com/Microsoft/sqlopsstudio/milestone/9","labels_url":"https://api.github.com/repos/Microsoft/sqlopsstudio/milestones/9/labels","id":3121319,"number":9,"title":"February Hotfix","description":"","creator":{"login":"kburtram","id":599935,"avatar_url":"https://avatars2.githubusercontent.com/u/599935?v=4","gravatar_id":"","url":"https://api.github.com/users/kburtram","html_url":"https://github.com/kburtram","followers_url":"https://api.github.com/users/kburtram/followers","following_url":"https://api.github.com/users/kburtram/following{/other_user}","gists_url":"https://api.github.com/users/kburtram/gists{/gist_id}","starred_url":"https://api.github.com/users/kburtram/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kburtram/subscriptions","organizations_url":"https://api.github.com/users/kburtram/orgs","repos_url":"https://api.github.com/users/kburtram/repos","events_url":"https://api.github.com/users/kburtram/events{/privacy}","received_events_url":"https://api.github.com/users/kburtram/received_events","type":"User","site_admin":false},"open_issues":0,"closed_issues":1,"state":"open","created_at":"2018-02-16T06:11:19Z","updated_at":"2018-02-16T23:05:04Z","due_on":null,"closed_at":null},"comments":11,"created_at":"2018-02-16T17:38:07Z","updated_at":"2018-02-16T23:28:41Z","closed_at":"2018-02-16T23:05:04Z","author_association":"NONE","body":"- SQL Operations Studio Version: 0.26.6\r\n\r\nSteps to Reproduce:\r\nOpen New Query\r\nType a query\r\nHighlight a portion (not all) of the query\r\nHit Ctrl+C on Windows or Cmd on Mac\r\nTerminal opens with the following text:\r\n```\r\n[Error - 11:27:43 AM] Request textDocument/definition failed.\r\n  Message: Operation timed out.\r\n  Code: 0\r\n```\r\n\r\nIn some situations, you get the following:\r\n```\r\n[Error - 11:35:26 AM] Request textDocument/definition failed.\r\n  Message: System.ArgumentOutOfRangeException: Index was out of range. Must be non-negative and less than the size of the collection.\r\nParameter name: index\r\n   at System.ThrowHelper.ThrowArgumentOutOfRange_IndexException()\r\n   at Babel.ParserGenerator.MinimalList`1.get_Item(Int32 index)\r\n   at Babel.ParserGenerator.ModifiedMinimalList`1.get_Item(Int32 index)\r\n   at Microsoft.SqlServer.Management.SqlParser.Parser.TokenManager.GetToken(Int32 tokenNumber)\r\n   at Microsoft.SqlTools.ServiceLayer.LanguageServices.Completion.ScriptDocumentInfo.GetPeekDefinitionTokens(ScriptParseInfo scriptParseInfo, Int32 startLine, Int32 startColumn) in D:\\a\\1\\s\\src\\Microsoft.SqlTools.ServiceLayer\\LanguageServices\\ScriptDocumentInfo.cs:line 158\r\n   at Microsoft.SqlTools.ServiceLayer.LanguageServices.LanguageService.GetDefinition(TextDocumentPosition textDocumentPosition, ScriptFile scriptFile, ConnectionInfo connInfo) in D:\\a\\1\\s\\src\\Microsoft.SqlTools.ServiceLayer\\LanguageServices\\LanguageService.cs:line 1194\r\n   at Microsoft.SqlTools.ServiceLayer.LanguageServices.LanguageService.<HandleDefinitionRequest>d__50.MoveNext() in D:\\a\\1\\s\\src\\Microsoft.SqlTools.ServiceLayer\\LanguageServices\\LanguageService.cs:line 377\r\n  Code: 0 \r\n```"},"comment":{"url":"https://api.github.com/repos/Microsoft/sqlopsstudio/issues/comments/366388280","html_url":"https://github.com/Microsoft/sqlopsstudio/issues/717#issuecomment-366388280","issue_url":"https://api.github.com/repos/Microsoft/sqlopsstudio/issues/717","id":366388280,"user":{"login":"Code-DJ","id":8212554,"avatar_url":"https://avatars1.githubusercontent.com/u/8212554?v=4","gravatar_id":"","url":"https://api.github.com/users/Code-DJ","html_url":"https://github.com/Code-DJ","followers_url":"https://api.github.com/users/Code-DJ/followers","following_url":"https://api.github.com/users/Code-DJ/following{/other_user}","gists_url":"https://api.github.com/users/Code-DJ/gists{/gist_id}","starred_url":"https://api.github.com/users/Code-DJ/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Code-DJ/subscriptions","organizations_url":"https://api.github.com/users/Code-DJ/orgs","repos_url":"https://api.github.com/users/Code-DJ/repos","events_url":"https://api.github.com/users/Code-DJ/events{/privacy}","received_events_url":"https://api.github.com/users/Code-DJ/received_events","type":"User","site_admin":false},"created_at":"2018-02-16T23:28:41Z","updated_at":"2018-02-16T23:28:41Z","author_association":"NONE","body":"Thanks. Updated it. So far so good."}}
{"actor":{"display_login":"Code-DJ"}}