{"id":257,"date":"2020-04-22T20:52:55","date_gmt":"2020-04-22T12:52:55","guid":{"rendered":"http:\/\/python.vvipblog.com\/uncategorized\/257.html"},"modified":"2020-04-22T20:52:55","modified_gmt":"2020-04-22T12:52:55","slug":"python%e5%bc%80%e5%8f%91%e5%b7%a5%e5%85%b7pycharm%e4%b8%aa%e6%80%a7%e5%8c%96%e8%ae%be%e7%bd%ae%e5%9b%be%e8%a7%a3python%e5%bc%80%e5%8f%91%e5%b7%a5%e5%85%b7pycharm%e4%b8%aa%e6%80%a7%e5%8c%96%e8%ae%be","status":"publish","type":"post","link":"http:\/\/www.vvipblog.com\/?p=257","title":{"rendered":"Python\u5f00\u53d1\u5de5\u5177PyCharm\u4e2a\u6027\u5316\u8bbe\u7f6e(\u56fe\u89e3)Python\u5f00\u53d1\u5de5\u5177PyCharm\u4e2a\u6027\u5316\u8bbe\u7f6e(\u56fe\u89e3)"},"content":{"rendered":"<p>Python\u5f00\u53d1\u5de5\u5177PyCharm\u4e2a\u6027\u5316\u8bbe\u7f6e\uff0c\u5305\u62ec\u8bbe\u7f6e\u9ed8\u8ba4PyCharm\u89e3\u6790\u5668\u3001\u8bbe\u7f6e\u7f29\u8fdb\u7b26\u4e3a\u5236\u8868\u7b26\u3001\u8bbe\u7f6eIDE\u76ae\u80a4\u4e3b\u9898\u7b49\uff0c\u5927\u5bb6\u53c2\u8003\u4f7f\u7528\u5427<\/p>\n<p><b>1.\u8bbe\u7f6e\u9ed8\u8ba4PyCharm\u89e3\u6790\u5668<\/b>\uff1a<\/p>\n<p>\u64cd\u4f5c\u5982\u4e0b\uff1a<\/p>\n<p>Python\u2013&gt;Preferences\u2013&gt;Project Interpreter\u2013&gt;Python Interpreter \u70b9\u51fb\u201c+\u201d\u53f7\u9009\u62e9\u7cfb\u7edf\u5b89\u88c5\u7684Python\u3002<\/p>\n<div class=\"image-package\">\n<div class=\"image-container\" style=\"max-width: 700px; max-height: 552px;\">\n<div><\/div>\n<div class=\"image-view\" data-width=\"759\" data-height=\"552\"><img decoding=\"async\" class=\"aligncenter\" src=\"http:\/\/new.vvipblog.com\/wp-content\/uploads\/2020\/04\/frc-9a48cd4cf4d969da17b6b12f2202ef02.jpg\" alt=\"Python\u5f00\u53d1\u5de5\u5177PyCharm\u4e2a\u6027\u5316\u8bbe\u7f6e(\u56fe\u89e3)Python\u5f00\u53d1\u5de5\u5177PyCharm\u4e2a\u6027\u5316\u8bbe\u7f6e(\u56fe\u89e3)\" \/><\/div>\n<\/div>\n<div class=\"image-caption\"><\/div>\n<\/div>\n<p>\u7136\u540e\u518d\u8fd4\u56deProject Interpreter\uff0c\u9009\u62e9\u521a\u6dfb\u52a0\u7684\u89e3\u91ca\u5668\u3002<\/p>\n<div class=\"image-package\">\n<div class=\"image-container\" style=\"max-width: 700px; max-height: 483px;\">\n<div><\/div>\n<div class=\"image-view\" data-width=\"762\" data-height=\"483\"><img decoding=\"async\" class=\"aligncenter\" src=\"http:\/\/python.vvipblog.com\/wp-content\/uploads\/2020\/04\/frc-98a9670462360985cb0a6f2d26c44540.jpg\" alt=\"Python\u5f00\u53d1\u5de5\u5177PyCharm\u4e2a\u6027\u5316\u8bbe\u7f6e(\u56fe\u89e3)Python\u5f00\u53d1\u5de5\u5177PyCharm\u4e2a\u6027\u5316\u8bbe\u7f6e(\u56fe\u89e3)\" \/><\/div>\n<\/div>\n<div class=\"image-caption\"><\/div>\n<\/div>\n<p><b>2.\u8bbe\u7f6e\u7f29\u8fdb\u7b26\u4e3a\u5236\u8868\u7b26\u201cTab\u201d<\/b><\/p>\n<p>File -&gt; Default Settings -&gt; Code Style<\/p>\n<p>-&gt; General -&gt; \u52fe\u9009\u201cUse tab character\u201d<\/p>\n<p>-&gt; Python -&gt; \u52fe\u9009\u201cUse tab character\u201d<\/p>\n<p>-&gt; \u5176\u4ed6\u7684\u8bed\u8a00\u4ee3\u7801\u540c\u7406\u8bbe\u7f6e<\/p>\n<p><b>3.\u8bbe\u7f6eIDE\u76ae\u80a4\u4e3b\u9898<\/b><\/p>\n<p>File -&gt; Settings -&gt; IDE Settings -&gt; Appearance -&gt; Theme -&gt; \u9009\u62e9\u201cAlloy.IDEA Theme\u201d<\/p>\n<p><b>4.\u663e\u793a\u201c\u884c\u53f7\u201d\u4e0e\u201c\u7a7a\u767d\u5b57\u7b26\u201d<\/b><\/p>\n<p>File -&gt; Settings -&gt; IDE Settings -&gt; Editor -&gt; Appearance<\/p>\n<p>-&gt; \u52fe\u9009\u201cShow line numbers\u201d\u3001\u201cShow whitespaces\u201d\u3001\u201cShow method separators\u201d<\/p>\n<p><b>5.\u8bbe\u7f6e\u7f16\u8f91\u5668\u201c\u989c\u8272\u4e0e\u5b57\u4f53\u201d\u4e3b\u9898<\/b><\/p>\n<p>File -&gt; Settings -&gt; IDE Settings -&gt; Editor -&gt; Colors &amp; Fonts -&gt; Scheme name -&gt; \u9009\u62e9\u201cDarcula\u201d<\/p>\n<p>\u8bf4\u660e\uff1a\u5148\u9009\u62e9\u201cDarcula\u201d\uff0c\u518d\u201cSave As\u201d\u4e00\u4efd\uff0c\u547d\u540d\u4e3a\u201cqianyunlai.com\u201d\uff0c\u56e0\u4e3a\u9ed8\u8ba4\u7684\u4e3b\u9898\u662f\u201c\u53ea\u8bfb\u7684\u201d\uff0c\u4e00\u4e9b\u5b57\u4f53\u5927\u5c0f\u989c\u8272\u4ec0\u4e48\u7684\u90fd\u4e0d\u80fd\u4fee\u6539\uff0c\u62f7\u8d1d\u4e00\u4efd\u540e\u65b9\u53ef\u4fee\u6539\uff01<\/p>\n<div class=\"image-package\">\n<div class=\"image-container\" style=\"max-width: 700px; max-height: 579px;\">\n<div><\/div>\n<div class=\"image-view\" data-width=\"756\" data-height=\"579\"><img decoding=\"async\" class=\"aligncenter\" src=\"http:\/\/python.vvipblog.com\/wp-content\/uploads\/2020\/04\/frc-93d37c4696339b7ba44f4c021b2a22c5.jpg\" alt=\"Python\u5f00\u53d1\u5de5\u5177PyCharm\u4e2a\u6027\u5316\u8bbe\u7f6e(\u56fe\u89e3)Python\u5f00\u53d1\u5de5\u5177PyCharm\u4e2a\u6027\u5316\u8bbe\u7f6e(\u56fe\u89e3)\" \/><\/div>\n<\/div>\n<div class=\"image-caption\"><\/div>\n<\/div>\n<p>\u4fee\u6539\u5b57\u4f53\u5927\u5c0f<\/p>\n<p>File -&gt; Settings -&gt; IDE Settings -&gt; Editor -&gt; Colors &amp; Fonts -&gt; Font -&gt; Size -&gt; \u8bbe\u7f6e\u4e3a\u201c14\u201d<\/p>\n<p><b>6.\u53bb\u6389\u9ed8\u8ba4\u6298\u53e0<\/b><\/p>\n<p>File -&gt; Settings -&gt; IDE Settings -&gt; Editor -&gt; Code Folding -&gt; Collapse by default -&gt; \u5168\u90e8\u53bb\u6389\u52fe\u9009<\/p>\n<p><b>7.\u201c\u4ee3\u7801\u81ea\u52a8\u5b8c\u6210\u201d\u65f6\u95f4\u5ef6\u65f6\u8bbe\u7f6e<\/b><\/p>\n<p>File -&gt; Settings -&gt; IDE Settings -&gt; Editor -&gt; Code Completion<\/p>\n<p>-&gt; Auto code completion in (ms):0<\/p>\n<p>-&gt; Autopopup in (ms):500<\/p>\n<div class=\"image-package\">\n<div class=\"image-container\" style=\"max-width: 700px; max-height: 636px;\">\n<div><\/div>\n<div class=\"image-view\" data-width=\"730\" data-height=\"636\"><img decoding=\"async\" class=\"aligncenter\" src=\"http:\/\/python.vvipblog.com\/wp-content\/uploads\/2020\/04\/frc-c1eb76a236df7030993ecafe9d6f4ffd.png\" alt=\"Python\u5f00\u53d1\u5de5\u5177PyCharm\u4e2a\u6027\u5316\u8bbe\u7f6e(\u56fe\u89e3)Python\u5f00\u53d1\u5de5\u5177PyCharm\u4e2a\u6027\u5316\u8bbe\u7f6e(\u56fe\u89e3)\" \/><\/div>\n<\/div>\n<div class=\"image-caption\"><\/div>\n<\/div>\n<p><b>8.\u4fee\u6539IDE\u5feb\u6377\u952e\u65b9\u6848<\/b><\/p>\n<p>File -&gt; Settings -&gt; IDE Settings -&gt; Keymap<\/p>\n<p>\u7cfb\u7edf\u81ea\u5e26\u4e86\u597d\u51e0\u79cd\u5feb\u6377\u952e\u65b9\u6848\uff0c\u4e0b\u62c9\u6846\u4e2d\u6709\u5982\u201cdefaul\u201d,\u201cVisual Studio\u201d,\u5728\u67e5\u627eBug\u65f6\u975e\u5e38\u6709\u7528,\u201cNetBeans 6.5\u201d,\u201cDefault for GNOME\u201d\u7b49\u7b49\u53ef\u9009\u9879\uff0c<\/p>\n<p>\u56e0\u4e3a\u201cEclipse\u201d\u65b9\u6848\u6bd4\u8f83\u5927\u4f17\uff0c\u4e2a\u4eba\u7528\u7684\u4e5f\u6bd4\u8f83\u591a\uff0c\u6700\u7ec8\u9009\u62e9\u4e86\u201cEclipse\u201d\u3002<\/p>\n<p>\u8fd8\u662f\u6709\u51e0\u4e2a\u5e38\u7528\u7684\u5feb\u6377\u952e\u8ddfEclipse\u4e0d\u4e00\u6837\uff0c\u4e3a\u4e86\u80fd\u4fee\u6539\uff0c\u8fd8\u5f97\u5148\u5bf9Eclipse\u65b9\u6848\u62f7\u8d1d\u4e00\u4efd\uff1a<\/p>\n<p>(1).\u4ee3\u7801\u63d0\u793a\u529f\u80fd\uff0c\u9ed8\u8ba4\u662f\u3010Ctrl+\u7a7a\u683c\u3011\uff0c\u73b0\u6539\u4e3a\u8ddfEclipse\u4e00\u6837\uff0c\u5373\u3010Alt+\/\u3011<\/p>\n<p>Main menu -&gt; code -&gt; Completion -&gt; Basic -&gt; \u8bbe\u7f6e\u4e3a\u201cAlt+\/\u201d<\/p>\n<p>Main menu -&gt; code -&gt; Completion -&gt; SmartType -&gt; \u8bbe\u7f6e\u4e3a\u201cAlt+Shift+\/\u201d<\/p>\n<p>\u4e0d\u8fc7\u201cAlt+\/\u201d\u9ed8\u8ba4\u53c8\u88ab<\/p>\n<p>Main menu -&gt; code -&gt; Completion -&gt; Basic -&gt; Cyclic Expand Word \u5360\u7528\uff0c\u5148\u628a\u5b83\u5220\u9664\u518d\u8bf4\u5427\uff08\u5355\u51fb\u53f3\u952e\u5220\u9664\uff09\uff01<\/p>\n<div class=\"image-package\">\n<div class=\"image-container\" style=\"max-width: 700px; max-height: 671px;\">\n<div><\/div>\n<div class=\"image-view\" data-width=\"759\" data-height=\"728\"><img decoding=\"async\" class=\"aligncenter\" src=\"http:\/\/python.vvipblog.com\/wp-content\/uploads\/2020\/04\/frc-f18676cd079121a5a6d42f6986c8cdd1.jpg\" alt=\"Python\u5f00\u53d1\u5de5\u5177PyCharm\u4e2a\u6027\u5316\u8bbe\u7f6e(\u56fe\u89e3)Python\u5f00\u53d1\u5de5\u5177PyCharm\u4e2a\u6027\u5316\u8bbe\u7f6e(\u56fe\u89e3)\" \/><\/div>\n<\/div>\n<div class=\"image-caption\"><\/div>\n<\/div>\n<p>(2).\u5173\u95ed\u5f53\u524d\u6587\u6863\uff0c\u9ed8\u8ba4\u662f\u3010Ctrl+F4\u3011\uff0c\u73b0\u6539\u4e3a\u8ddfEclipse\u4e00\u6837\uff0c\u5373\u3010Ctrl+W\u3011<\/p>\n<p>Main menu -&gt; Window -&gt; Active Tool Window -&gt; Close Active Tab -&gt; \u8bbe\u7f6e\u4e3a \u201cCtrl+F4\u201d;<\/p>\n<p>Main menu -&gt; Window -&gt; Editor -&gt; Close -&gt; \u8bbe\u7f6e\u4e3a \u201cCtrl+W\u201d;<\/p>\n<div class=\"image-package\">\n<div class=\"image-container\" style=\"max-width: 700px; max-height: 659px;\">\n<div><\/div>\n<div class=\"image-view\" data-width=\"773\" data-height=\"728\"><img decoding=\"async\" class=\"aligncenter\" src=\"http:\/\/python.vvipblog.com\/wp-content\/uploads\/2020\/04\/frc-73e302676d7f3553307ff3a2985f4cc7.jpg\" alt=\"Python\u5f00\u53d1\u5de5\u5177PyCharm\u4e2a\u6027\u5316\u8bbe\u7f6e(\u56fe\u89e3)Python\u5f00\u53d1\u5de5\u5177PyCharm\u4e2a\u6027\u5316\u8bbe\u7f6e(\u56fe\u89e3)\" \/><\/div>\n<\/div>\n<div class=\"image-caption\"><\/div>\n<\/div>\n<div class=\"image-package\">\n<div class=\"image-container\" style=\"max-width: 549px; max-height: 474px;\">\n<div><\/div>\n<div class=\"image-view\" data-width=\"549\" data-height=\"474\"><img decoding=\"async\" class=\"aligncenter\" src=\"http:\/\/python.vvipblog.com\/wp-content\/uploads\/2020\/04\/frc-43f208fbf578ae361feadfd9e058f350.png\" alt=\"Python\u5f00\u53d1\u5de5\u5177PyCharm\u4e2a\u6027\u5316\u8bbe\u7f6e(\u56fe\u89e3)Python\u5f00\u53d1\u5de5\u5177PyCharm\u4e2a\u6027\u5316\u8bbe\u7f6e(\u56fe\u89e3)\" \/><\/div>\n<\/div>\n<div class=\"image-caption\"><\/div>\n<\/div>\n<p>\u672c\u6587\u6765\u6e90\u4e8e\u4e92\u8054\u7f51:<a href=\"https:\/\/www.jianshu.com\/p\/ae2d8c2ef420\" target=\"_blank\" rel=\"noopener noreferrer\">Python\u5f00\u53d1\u5de5\u5177PyCharm\u4e2a\u6027\u5316\u8bbe\u7f6e(\u56fe\u89e3)Python\u5f00\u53d1\u5de5\u5177PyCharm\u4e2a\u6027\u5316\u8bbe\u7f6e(\u56fe\u89e3)<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Python\u5f00\u53d1\u5de5\u5177PyCharm\u4e2a\u6027\u5316\u8bbe\u7f6e\uff0c\u5305\u62ec\u8bbe\u7f6e\u9ed8\u8ba4PyCharm\u89e3\u6790\u5668\u3001\u8bbe\u7f6e\u7f29\u8fdb\u7b26\u4e3a\u5236\u8868\u7b26\u3001\u8bbe\u7f6eIDE&hellip;<\/p>\n","protected":false},"author":1,"featured_media":258,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[7],"tags":[],"class_list":["post-257","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-jingying"],"_links":{"self":[{"href":"http:\/\/www.vvipblog.com\/index.php?rest_route=\/wp\/v2\/posts\/257","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/www.vvipblog.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/www.vvipblog.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/www.vvipblog.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/www.vvipblog.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=257"}],"version-history":[{"count":0,"href":"http:\/\/www.vvipblog.com\/index.php?rest_route=\/wp\/v2\/posts\/257\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"http:\/\/www.vvipblog.com\/index.php?rest_route=\/wp\/v2\/media\/258"}],"wp:attachment":[{"href":"http:\/\/www.vvipblog.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=257"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/www.vvipblog.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=257"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/www.vvipblog.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=257"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}