{"action":"created","issue":{"url":"https://api.github.com/repos/Microsoft/nodejstools/issues/78","repository_url":"https://api.github.com/repos/Microsoft/nodejstools","labels_url":"https://api.github.com/repos/Microsoft/nodejstools/issues/78/labels{/name}","comments_url":"https://api.github.com/repos/Microsoft/nodejstools/issues/78/comments","events_url":"https://api.github.com/repos/Microsoft/nodejstools/issues/78/events","html_url":"https://github.com/Microsoft/nodejstools/issues/78","id":70467032,"number":78,"title":"Feature: Copy import reference and paste in typescript file","user":{"login":"gautamsi","id":5769869,"avatar_url":"https://avatars.githubusercontent.com/u/5769869?v=3","gravatar_id":"","url":"https://api.github.com/users/gautamsi","html_url":"https://github.com/gautamsi","followers_url":"https://api.github.com/users/gautamsi/followers","following_url":"https://api.github.com/users/gautamsi/following{/other_user}","gists_url":"https://api.github.com/users/gautamsi/gists{/gist_id}","starred_url":"https://api.github.com/users/gautamsi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gautamsi/subscriptions","organizations_url":"https://api.github.com/users/gautamsi/orgs","repos_url":"https://api.github.com/users/gautamsi/repos","events_url":"https://api.github.com/users/gautamsi/events{/privacy}","received_events_url":"https://api.github.com/users/gautamsi/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/Microsoft/nodejstools/labels/feature","name":"feature","color":"fbca04"}],"state":"open","locked":false,"assignee":{"login":"paulvanbrenk","id":5273975,"avatar_url":"https://avatars.githubusercontent.com/u/5273975?v=3","gravatar_id":"","url":"https://api.github.com/users/paulvanbrenk","html_url":"https://github.com/paulvanbrenk","followers_url":"https://api.github.com/users/paulvanbrenk/followers","following_url":"https://api.github.com/users/paulvanbrenk/following{/other_user}","gists_url":"https://api.github.com/users/paulvanbrenk/gists{/gist_id}","starred_url":"https://api.github.com/users/paulvanbrenk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/paulvanbrenk/subscriptions","organizations_url":"https://api.github.com/users/paulvanbrenk/orgs","repos_url":"https://api.github.com/users/paulvanbrenk/repos","events_url":"https://api.github.com/users/paulvanbrenk/events{/privacy}","received_events_url":"https://api.github.com/users/paulvanbrenk/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/Microsoft/nodejstools/milestones/4","html_url":"https://github.com/Microsoft/nodejstools/milestones/Future","labels_url":"https://api.github.com/repos/Microsoft/nodejstools/milestones/4/labels","id":1060983,"number":4,"title":"Future","description":"","creator":{"login":"AndreSayreMSFT","id":10080679,"avatar_url":"https://avatars.githubusercontent.com/u/10080679?v=3","gravatar_id":"","url":"https://api.github.com/users/AndreSayreMSFT","html_url":"https://github.com/AndreSayreMSFT","followers_url":"https://api.github.com/users/AndreSayreMSFT/followers","following_url":"https://api.github.com/users/AndreSayreMSFT/following{/other_user}","gists_url":"https://api.github.com/users/AndreSayreMSFT/gists{/gist_id}","starred_url":"https://api.github.com/users/AndreSayreMSFT/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AndreSayreMSFT/subscriptions","organizations_url":"https://api.github.com/users/AndreSayreMSFT/orgs","repos_url":"https://api.github.com/users/AndreSayreMSFT/repos","events_url":"https://api.github.com/users/AndreSayreMSFT/events{/privacy}","received_events_url":"https://api.github.com/users/AndreSayreMSFT/received_events","type":"User","site_admin":false},"open_issues":120,"closed_issues":54,"state":"open","created_at":"2015-04-09T21:08:48Z","updated_at":"2016-04-05T06:24:56Z","due_on":null,"closed_at":null},"comments":2,"created_at":"2015-04-23T17:26:55Z","updated_at":"2016-04-05T06:24:56Z","closed_at":null,"body":"I am working on a large nodejs/js typescript project, it is conversion from a large c# project. I am having challenge in adding import statement in each file. there are 100s of class files which I do not want to combine in a file.\r\n\r\nit would be nice to right click a .ts/.js file in solution explorer and paste the import statement in open .ts file. it should keep track of where it is pasting use proper relative path like - import fileName = require(\"./subdir/fileName\"); or require(\"../../grandlvldir/parentlvldir/filename\");\r\n\r\nI do not have any experience in writing extension project otherwise I would have done it. "},"comment":{"url":"https://api.github.com/repos/Microsoft/nodejstools/issues/comments/205671772","html_url":"https://github.com/Microsoft/nodejstools/issues/78#issuecomment-205671772","issue_url":"https://api.github.com/repos/Microsoft/nodejstools/issues/78","id":205671772,"user":{"login":"mousetraps","id":762848,"avatar_url":"https://avatars.githubusercontent.com/u/762848?v=3","gravatar_id":"","url":"https://api.github.com/users/mousetraps","html_url":"https://github.com/mousetraps","followers_url":"https://api.github.com/users/mousetraps/followers","following_url":"https://api.github.com/users/mousetraps/following{/other_user}","gists_url":"https://api.github.com/users/mousetraps/gists{/gist_id}","starred_url":"https://api.github.com/users/mousetraps/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mousetraps/subscriptions","organizations_url":"https://api.github.com/users/mousetraps/orgs","repos_url":"https://api.github.com/users/mousetraps/repos","events_url":"https://api.github.com/users/mousetraps/events{/privacy}","received_events_url":"https://api.github.com/users/mousetraps/received_events","type":"User","site_admin":false},"created_at":"2016-04-05T06:24:56Z","updated_at":"2016-04-05T06:24:56Z","body":"Re-opening - while we won't necessarily implement it ourselves any time soon, we'd certainly be willing to accept a PR. \r\n\r\nIf anyone is interested in tackling this, then drag-and-drop into the file is the way to go... not right-clicking... so that we're consistent with the HTML + JS script tag drag-and-drop experience"}}