{"id":9811,"date":"2015-10-23T04:32:00","date_gmt":"2015-10-23T04:32:00","guid":{"rendered":"https:\/\/blogs.msdn.microsoft.com\/visualstudioalm\/2015\/10\/23\/visual-studio-team-foundation-plugin-for-intellij-and-android-studio\/"},"modified":"2022-08-02T01:07:32","modified_gmt":"2022-08-02T09:07:32","slug":"visual-studio-team-foundation-plugin-for-intellij-and-android-studio","status":"publish","type":"post","link":"https:\/\/devblogs.microsoft.com\/devops\/visual-studio-team-foundation-plugin-for-intellij-and-android-studio\/","title":{"rendered":"Visual Studio Team Foundation Plugin for IntelliJ and Android Studio"},"content":{"rendered":"<p>Expanding our support for Java IDEs and following in the footsteps of our <a href=\"https:\/\/visualstudio.microsoft.comDocs\/tools\/eclipse\" target=\"_blank\" rel=\"noopener\">Eclipse plugin<\/a>, today we are announcing a preview of the <a href=\"https:\/\/visualstudio.microsoft.comDocs\/tools\/intelliJ\" target=\"_blank\" rel=\"noopener\">Visual Studio Team Foundation Plugin for IntelliJ<\/a>\u00a0that works with IntelliJ IDEA and Android Studio.<\/p>\n<p>This new plugin provides features for both\u00a0<a href=\"https:\/\/www.visualstudio.com\/products\/tfs-overview-vs\" target=\"_blank\" rel=\"noopener\">Team Foundation Server<\/a>\u00a0(TFS) and\u00a0<a href=\"https:\/\/www.visualstudio.com\/products\/what-is-visual-studio-online-vs\" target=\"_blank\" rel=\"noopener\">Visual Studio Online<\/a>\u00a0(VSO). \u00a0These provide on-premises and cloud collaboration services for version control, agile planning, software build &amp; continuous delivery, and application analytics \u2013 for Eclipse, IntelliJ, Visual Studio, Xcode or any other IDE or code editor. VSO offers unlimited private Git repositories. It is free for teams of 5 or less and its tiered pricing is affordable for larger teams.**<br \/>\n**<\/p>\n<p style=\"padding-left: 30px\">\n  <a href=\"https:\/\/devblogs.microsoft.com\/devops\/wp-content\/uploads\/sites\/6\/2015\/10\/7752.VSO20with20OSs.png\"><img decoding=\"async\" src=\"https:\/\/devblogs.microsoft.com\/devops\/wp-content\/uploads\/sites\/6\/2015\/10\/7752.VSO20with20OSs.png\" alt=\"\" border=\"0\" \/><\/a><br \/>\u00a0\n<\/p>\n<p><strong>Purpose of the Plugin<\/strong><\/p>\n<p>We built the plugin to simplify and optimize developer interaction with TFS and VSO Git repositories from IntelliJ or Android Studio. \u00a0Based on our own Java team development and customer feedback, we saw greater focus and productivity when developer attention was kept within the IDE instead of changing context between tools. VSO\u2019s primary user interface is browser-based, but we chose to expose popular VSO capabilities in IntelliJ to\u00a0decrease the steps and disruption of context-switching to a browser. For instance, compare the number of potential steps required to create a Git pull request with and without the plugin:<br \/>\n\u00a0<\/p>\n<p style=\"padding-left: 30px\">\n  <a href=\"https:\/\/devblogs.microsoft.com\/devops\/wp-content\/uploads\/sites\/6\/2015\/10\/5140.Reduce20Steps203.png\"><img decoding=\"async\" src=\"https:\/\/devblogs.microsoft.com\/devops\/wp-content\/uploads\/sites\/6\/2015\/10\/5140.Reduce20Steps203.png\" alt=\"\" border=\"0\" \/><\/a>\n<\/p>\n<p>\u00a0<\/p>\n<p><strong>Capabilities<\/strong><\/p>\n<p>To balance useful features with time-to-deliver, the first version of the plugin:<\/p>\n<ol>\n<li>\n<p>Simplifies multi-factor authentication to TFS and VSO<\/p>\n<\/li>\n<li>\n<p>Makes it easy to clone and share code by browsing team projects and repositories<\/p>\n<\/li>\n<li>\n<p>Streamlines creating pull requests from the IDE for code reviews and policy-based merging<\/p>\n<\/li>\n<\/ol>\n<p>These capabilities are detailed below.<\/p>\n<p><strong>Installing the Plugin<\/strong><\/p>\n<p>The plugin is in preview with an anticipated release in early 2016. You can install it from the IntelliJ Plugin Repository by searching for \u201cVisual Studio Team Foundation\u201d as described on the\u00a0<a href=\"https:\/\/visualstudio.microsoft.comDownloads\/intellijplugin\/Index\" target=\"_blank\" rel=\"noopener\">Visual Studio Online \u2013 Java<\/a>\u00a0site. \u00a0We have also open-sourced the code on <a href=\"https:\/\/github.com\/Microsoft\/vso-intellij\" target=\"_blank\" rel=\"noopener\">GitHub<\/a>.<br \/>\n\u00a0<\/p>\n<p><strong>Authenticate<\/strong><\/p>\n<p>The first time you interact with TFS or VSO from IntelliJ, authentication is required. The following methods of sign-in are permitted, with support for default Windows credentials coming soon.<\/p>\n<ul>\n<li>\n<p>Kerberos<\/p>\n<\/li>\n<li>\n<p>HTTP basic authentication<\/p>\n<\/li>\n<li>\n<p>Windows NTLM (Active Directory)<\/p>\n<\/li>\n<li>\n<p><a href=\"http:\/\/www.microsoft.com\/account\/\" target=\"_blank\" rel=\"noopener\">Microsoft account<\/a><\/p>\n<\/li>\n<li>\n<p>Multi-factor, federated authentication using <a href=\"https:\/\/azure.microsoft.com\/en-us\/services\/active-directory\/\" target=\"_blank\" rel=\"noopener\">Azure Active Directory<\/a> (username\/password, phone call, text message, mobile app verification code, smart card, etc.)<\/p>\n<\/li>\n<\/ul>\n<p><img decoding=\"async\" src=\"https:\/\/devblogs.microsoft.com\/devops\/wp-content\/uploads\/sites\/6\/2015\/10\/3438.SignIn2.png\" alt=\"\" border=\"0\" \/><br \/>\n\u00a0<strong>Clone a Repository<\/strong><\/p>\n<p>Cloning a VSO repo in IntelliJ is very simple. \u00a0You don&#8217;t even need to know the repo&#8217;s URL. \u00a0Simply open IntelliJ IDEA, select <span style=\"color: #ff0000\">Check out from Version Control<\/span>, and choose <span style=\"color: #ff0000\">Team Foundation Git<\/span>:<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/devblogs.microsoft.com\/devops\/wp-content\/uploads\/sites\/6\/2015\/10\/4274.OpeningDialog.png\" alt=\"\" border=\"0\" \/><\/p>\n<p>If you have not already done so, click <span style=\"color: #ff0000\">Sign In&#8230;<\/span>\u00a0to sign in to VSO:<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/devblogs.microsoft.com\/devops\/wp-content\/uploads\/sites\/6\/2015\/10\/6457.SignInCheckout.png\" alt=\"\" border=\"0\" \/><\/p>\n<p>Once signed in, you will see a list of all repositories that you have access to on VSO. \u00a0Simply choose the repo you want to clone and specify a local directory name. \u00a0Finally, click the <span style=\"color: #ff0000;background-color: #ffffff\">Clone<\/span> button.<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/devblogs.microsoft.com\/devops\/wp-content\/uploads\/sites\/6\/2015\/10\/1682.Clone_.png\" alt=\"\" border=\"0\" \/><\/p>\n<p><strong>Import Code into a Repository<\/strong><\/p>\n<p>If you have an existing IntelliJ project that you want to upload to a new repository on VSO, from IntelliJ&#8217;s VCS menu, select <span style=\"color: #ff0000\">Import into Version Control\u00a0\u2192 Import into Team Foundation Git<\/span>:<\/p>\n<p style=\"padding-left: 30px\">\n  <a href=\"https:\/\/devblogs.microsoft.com\/devops\/wp-content\/uploads\/sites\/6\/2015\/10\/3247.ImportMenuItem.png\"><img decoding=\"async\" src=\"https:\/\/devblogs.microsoft.com\/devops\/wp-content\/uploads\/sites\/6\/2015\/10\/3247.ImportMenuItem.png\" alt=\"\" border=\"0\" \/><\/a>\n<\/p>\n<p>If you have not already done so, click <span style=\"color: #ff0000\">Sign In&#8230;<\/span> to sign in to VSO:<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/devblogs.microsoft.com\/devops\/wp-content\/uploads\/sites\/6\/2015\/10\/3666.SignInImport.png\" alt=\"\" border=\"0\" \/><\/p>\n<p>Once signed in, you will see a list of all team projects that you have access to on VSO. \u00a0Simply choose the team project into which you want to import the IntelliJ project and name the new VSO repository. \u00a0Finally, click the <span style=\"color: #ff0000\">Import<\/span> button.<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/devblogs.microsoft.com\/devops\/wp-content\/uploads\/sites\/6\/2015\/10\/4643.Import.png\" alt=\"\" border=\"0\" \/><\/p>\n<p><strong>Link to Artifacts on VSO<\/strong><\/p>\n<p>While working with an IntelliJ project that has been cloned from or imported to VSO, you can link from the context menu of files and branches to corresponding artifacts on VSO. \u00a0This is useful for seeing history, diffs, associated bugs and stories, and other information not yet visible in IntelliJ.<\/p>\n<p style=\"padding-left: 30px\">\n  \u00a0<a href=\"https:\/\/devblogs.microsoft.com\/devops\/wp-content\/uploads\/sites\/6\/2015\/10\/7382.OpenInBrowser.png\"><img decoding=\"async\" src=\"https:\/\/devblogs.microsoft.com\/devops\/wp-content\/uploads\/sites\/6\/2015\/10\/7382.OpenInBrowser.png\" alt=\"\" border=\"0\" \/><\/a>\n<\/p>\n<p><strong>Create a Pull Request<\/strong><\/p>\n<p>You can push your local Git branch to VSO and create a pull request for your team to review. \u00a0The pull request is created based on the current state of your Git topic branch within IntelliJ. \u00a0This saves several steps and eliminates the need to switch to a browser to create the pull request.<\/p>\n<p>To create a pull request, from IntelliJ&#8217;s VCS menu select <span style=\"color: #ff0000\">Git\u00a0\u2192 Create Pull Request<\/span>. \u00a0The &#8220;Create Pull Request&#8221; dialog will appear. \u00a0This dialog provides information about which file changes and commits (if any) will be pushed to VSO when the pull request is created.<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/devblogs.microsoft.com\/devops\/wp-content\/uploads\/sites\/6\/2015\/10\/6646.CreatePullRequest.png\" alt=\"\" border=\"0\" \/><\/p>\n<p>Provide a title and description and select the <span style=\"color: #ff0000\">Create Pull Request<\/span> button. \u00a0You will see a notification that the pull request was created. \u00a0The notification contains a link to the pull request on VSO, in case you want to add specific reviewers or comments or check compliance with configured merge policies.<br \/>\n\u00a0<\/p>\n<p style=\"padding-left: 30px\">\n  <a href=\"https:\/\/devblogs.microsoft.com\/devops\/wp-content\/uploads\/sites\/6\/2015\/10\/8713.PRComments.jpg\"><img decoding=\"async\" src=\"https:\/\/devblogs.microsoft.com\/devops\/wp-content\/uploads\/sites\/6\/2015\/10\/8713.PRComments.jpg\" alt=\"\" border=\"0\" \/><\/a>\n<\/p>\n<p><strong>Provide Feedback and Contribute<\/strong><\/p>\n<p>Your ideas for features and improvements are welcome! \u00a0We want the plugin to be very useful for the Java community. \u00a0You can use the <span style=\"color: #ff0000\">Feedback<\/span> button on any of the plugin&#8217;s dialogs to send us your thoughts. \u00a0Please also consider contributing to the plugin&#8217;s code on\u00a0<a href=\"https:\/\/github.com\/Microsoft\/vso-intellij\" target=\"_blank\" rel=\"noopener\">GitHub<\/a>.<\/p>\n<p style=\"padding-left: 30px\">\n  \u00a0<a href=\"https:\/\/devblogs.microsoft.com\/devops\/wp-content\/uploads\/sites\/6\/2015\/10\/1777.SendASmile.png\"><img decoding=\"async\" src=\"https:\/\/devblogs.microsoft.com\/devops\/wp-content\/uploads\/sites\/6\/2015\/10\/1777.SendASmile.png\" alt=\"\" border=\"0\" \/><\/a>\n<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/devblogs.microsoft.com\/devops\/wp-content\/uploads\/sites\/6\/2015\/10\/2438.FeedbackForm.png\" alt=\"\" border=\"0\" \/><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Expanding our support for Java IDEs and following in the footsteps of our Eclipse plugin, today we are announcing a preview of the Visual Studio Team Foundation Plugin for IntelliJ\u00a0that works with IntelliJ IDEA and Android Studio. This new plugin provides features for both\u00a0Team Foundation Server\u00a0(TFS) and\u00a0Visual Studio Online\u00a0(VSO). \u00a0These provide on-premises and cloud collaboration [&hellip;]<\/p>\n","protected":false},"author":178,"featured_media":45953,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[253,1,225,249],"tags":[],"class_list":["post-9811","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-azure-devops-server","category-devops","category-git","category-open-source"],"acf":[],"blog_post_summary":"<p>Expanding our support for Java IDEs and following in the footsteps of our Eclipse plugin, today we are announcing a preview of the Visual Studio Team Foundation Plugin for IntelliJ\u00a0that works with IntelliJ IDEA and Android Studio. This new plugin provides features for both\u00a0Team Foundation Server\u00a0(TFS) and\u00a0Visual Studio Online\u00a0(VSO). \u00a0These provide on-premises and cloud collaboration [&hellip;]<\/p>\n","_links":{"self":[{"href":"https:\/\/devblogs.microsoft.com\/devops\/wp-json\/wp\/v2\/posts\/9811","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/devblogs.microsoft.com\/devops\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/devblogs.microsoft.com\/devops\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/devops\/wp-json\/wp\/v2\/users\/178"}],"replies":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/devops\/wp-json\/wp\/v2\/comments?post=9811"}],"version-history":[{"count":0,"href":"https:\/\/devblogs.microsoft.com\/devops\/wp-json\/wp\/v2\/posts\/9811\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/devops\/wp-json\/wp\/v2\/media\/45953"}],"wp:attachment":[{"href":"https:\/\/devblogs.microsoft.com\/devops\/wp-json\/wp\/v2\/media?parent=9811"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/devops\/wp-json\/wp\/v2\/categories?post=9811"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/devops\/wp-json\/wp\/v2\/tags?post=9811"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}