简体   繁体   English

IntelliJ IDEA任务与github集成

[英]IntelliJ IDEA task integration with github

Has anyone successful made this work? 有没有人成功做过这项工作? I've followed the directions carefully, but I can't get my IDEA tasks to sync up with my issues list on github. 我已仔细按照说明进行操作,但我无法将我的IDEA任务与github上的问题列表同步。 In the project setup I have the cache enabled to sync issues every five minutes, and in the server configuration when i hit "test" the connection is successful. 在项目设置中,我启用了缓存以每五分钟同步一次问题,而在服务器配置中,当我点击“test”时连接成功。 Does this feature actually work? 这个功能真的有效吗?

I've managed to get it to work 我成功地让它发挥作用

Here are the steps required in Intellij: 以下是Intellij所需的步骤:

  1. Settings | 设置| Tasks | 任务| Servers... 服务器...
  2. Add server with following details 添加服务器及以下详细信息
    • Username = GitHub user name Username = GitHub用户名
    • Password = GitHub password 密码= GitHub密码
    • Repository author = GitHub user name 存储库author = GitHub用户名
    • Repository = Name of project (eg "MultiBitMerchant") Click Test 存储库=项目名称(例如“MultiBitMerchant”)单击“测试”

If all is well you'll get success, failure is usually a 401 and means you've added something strange into the above. 如果一切顺利,你将获得成功,失败通常是401,意味着你在上面添加了一些奇怪的东西。

To check that you are synchronizing against your Issues, create an Issue on GitHub if you haven't already. 要检查您是否正在同步问题,请在GitHub上创建一个问题(如果您还没有)。

  1. In Intellij, select Tools | 在Intellij中,选择工具| Tasks and Contexts | 任务和背景| Open task ... 打开任务......
  2. Use CTRL + Space (or equivalent) to get list of tasks 使用CTRL + Space(或等效项)获取任务列表
  3. Choose one then click OK 选择一个,然后单击确定
  4. Make your changes in accordance with the task (stay focused on its requirement) 根据任务进行更改(专注于其要求)
  5. Commit (and push) to see your Issue reference placed as a commit comment for easy tracking 提交(并推送)将您的问题参考作为提交注释放置,以便于跟踪

Hope this helps. 希望这可以帮助。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM