路漫漫其修远兮
吾将上下而求索

python学习:pycharm ide设置

然后设置字体大小
因为习惯了使用notepad++等工具的Ctrl+鼠标滚轮的缩放字体功能,需要在PyCharm中开启。具体方法如下:
File --> Setting --> Editor --> General --> 勾选Change font size (zoom) with Ctrl+Mouse Wheel

设置默认字体大小:
File --> Setting --> Editor -->Font
Font:consolas  size:14   line spacing:1.0   

设置背景颜色
File->Seting->Editor-Colors Scheme->General->Text->Default text->BackGround设置为CBE9CB
使用快捷键Ctrl + "`"(该键位于键盘的左上角,和”~“同一个键位),即可开发上图配置选项

设置运行快捷键
File->Keymap->Other->Run context configuration   将其设置为crt+d

Ctrl + /  注释和取消注释
Ctrl + 鼠标移动到被调用函数,能进入函数  Ctrl+b
Ctrl + c 复制当前行
Ctrl + v 粘贴复制的行

激活

优点:Window、Mac、Ubantu都稳定有效,关键是这种激活方式不会产生其他影响

缺点:需要修改hosts文件

修改hosts文件
将0.0.0.0 account.jetbrains.com添加到hosts文件最后,注意hosts文件无后缀,如果遇到无法修改或权限问题,可以采用覆盖的方法去替换hosts文件

修改后请检查hosts文件是否修改,激活码无法激活的原因99.99%是因为hosts没有修改正确

Windows系统hosts文件路径为:c:\windows\system32\drivers\etc
Mac和Ubantu(Linux)系统hosts文件路径为:/etc


 
复制激活码
打开PyCharm选择Activation code激活,然后复制下面的激活码点击激活。此激活码有效期为2019-05-04,大家可以关注微信公众号:裸睡的猪

QYYBAC9D3J-eyJsaWNlbnNlSWQiOiJRWVlCQUM5RDNKIiwibGljZW5zZWVOYW1lIjoi6LaF57qnIOeoi+W6j+WRmCIsImFzc2lnbmVlTmFtZSI6IiIsImFzc2lnbmVlRW1haWwiOiIiLCJsaWNlbnNlUmVzdHJpY3Rpb24iOiIiLCJjaGVja0NvbmN1cnJlbnRVc2UiOmZhbHNlLCJwcm9kdWN0cyI6W3siY29kZSI6IklJIiwiZmFsbGJhY2tEYXRlIjoiMjAyMC0wMS0wNCIsInBhaWRVcFRvIjoiMjAyMS0wMS0wMyJ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5sX7i8tmStEpLbPwvHcByuf59qJhV/bZOl8KqJBETCDJcY6O2aqhTUy+9x93ThKs1GKrRPePrWPluud7ttlgtRveit/pcBrnQcXOl1rHq7ByB8CFAxNotRUYL9IF5n3wJOgkPojMy6jetQA5Ogc8Sm7RG6vg1yow==

3.破解补丁激活
优点:到期时间为2099年,基本为永久啦

缺点:相对服务器激活麻烦些,但是一共只需要3个步骤,其实并不麻烦

下载 https://pan.baidu.com/s/119UO4SGIEW_cxf0LmZzx3w 并将 JetbrainsCrack-3.1-release-enc.jar 放置到 pycharm安装目录的\bin目录下(位置可随意,
只要配置文件填写相对应的路径)。

在 Pycharm安装目录的\bin目录下找到 pycharm.exe.vmoptions 和 pycharm64.exe.vmoptions (如果你是idea激活则是:idea.exe.vmoptions和idea64.exe.vmoptions),
以文本格式打开并同时在两个文件最后追加  -javaagent:D:\JetBrains\PyCharm 2018.2.1\bin\JetbrainsCrack-3.1-release-enc.jar,注意路径修改成你的pycharm安装
路径,然后保存。




启动Pycharm ,选择激活码激活,输入如下内容激活
ThisCrackLicenseId-{
"licenseId":"11011",
"licenseeName":"Wechat",
"assigneeName":"Naked sleep of pig",
"assigneeEmail":"1113449881@qq.com",
"licenseRestriction":"",
"checkConcurrentUse":false,
"products":[
{"code":"II","paidUpTo":"2099-12-31"},
{"code":"DM","paidUpTo":"2099-12-31"},
{"code":"AC","paidUpTo":"2099-12-31"},
{"code":"RS0","paidUpTo":"2099-12-31"},
{"code":"WS","paidUpTo":"2099-12-31"},
{"code":"DPN","paidUpTo":"2099-12-31"},
{"code":"RC","paidUpTo":"2099-12-31"},
{"code":"PS","paidUpTo":"2099-12-31"},
{"code":"DC","paidUpTo":"2099-12-31"},
{"code":"RM","paidUpTo":"2099-12-31"},
{"code":"CL","paidUpTo":"2099-12-31"},
{"code":"PC","paidUpTo":"2099-12-31"}
],
"hash":"2911276/0",
"gracePeriodDays":7,
"autoProlongated":false}

原文:https://blog.csdn.net/u014044812/article/details/78727496 

下面是另外一个文章,可用

此教程已支持最新2019.2版本

本教程适用Windows、Mac、Ubuntu等所有平台。

激活前准备工作

  • 配置文件修改已经不在bin目录下直接修改,而是通过Idea修改

  • 如果输入code一直弹出来,请去hosts里移除jetbrains相关的项目

1.下载新版破解补丁

文件.tar.gz

2.进入项目界面

如果你之前已经使用有效期激活过可跳过此步骤,如果你是刚下载的Idea,则需要点击激活窗口的“Evaluate for free”免费试用,然后再创建一个空项目,这样就可以进入到Idea的工作页面

https://img1.mukewang.com/5d1029310001fcab10801007.jpg

https://img.mukewang.com/5d1029310001147b09480820.jpg

https://img1.mukewang.com/5d1029310001f73310800782.jpg

3.修改配置文件

进入到项目界面后,点击Idea最上面的菜单栏中的 “Help” -> “Edit Custom VM Options …”,如果提示是否要创建文件,请点”Yes”。

 

 

在打开的vmoptions编辑窗口末行添加:-javaagent:你idea的安装目录\jetbrains-agent.jar
https://img4.mukewang.com/5d1029530001775510800675.jpg

请仔细检查补丁路径是否正确,如果错误则会出现Idea打不开的情况,这时候可以删除用户配置目录下的Idea文件夹:

windwos:C:\Users\用户名\
macos:~/Library/Preferences/
ubuntu:~/.

https://img2.mukewang.com/5d102af200014f5810800644.jpg

 

修改完配置文件之后重启Idea

修改完配置文件之后重启Idea

修改完配置文件之后重启Idea

4.输入激活码

重启Idea之后,点击菜单栏中的 “Help” -> “Register …”,这里有两种激活方式:

一、选择最后一种License server激活方式,地址填入:http://jetbrains-license-server (应该会自动填上),或者点击按钮:”Discover Server”来自动填充地址,完成激活

 

https://img.mukewang.com/5d102afe00015f8609440890.jpg

 

二、如果服务器激活方式无法激活,还可以选择Activation code方式激活,复制下面激活码即可

https://img1.mukewang.com/5d102b080001d69d09520890.jpg

D00F1BDTGF-eyJsaWNlbnNlSWQiOiJEMDBGMUJEVEdGIiwibGljZW5zZWVOYW1lIjoiaHR0cHM6Ly96aGlsZS5pbyIsImFzc2lnbmVlTmFtZSI6IiIsImFzc2lnbmVlRW1haWwiOiIiLCJsaWNlbnNlUmVzdHJpY3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Eyc6DP148A69DRmZ7saqfZW87DcLkmcynPhyBOxdcGwtwKlR9E/+X923JeL6VPQCTY5WyJKib36vQCnoC4ELTnw1yc51v2j+MaZXjrlzBIcCUocWK14WS4iBycUwLuMszz6rJ8xluuYDKDeNcS/AjQf+yTUfDXjktHLgcE27sSEQUQ+7bpbKHkJ5xBvaupJEPX+ndj7V2eD+/sO03jgnsWVa2nky7yDXX/5KCqzL5kAA1n2t2dWSJXxpac8O2bPyRhk6dUSwzNr+IjCjHqUKIouB0nosi85Q5MaIE0pwOOSggnawpnjmL3qDnsS/n7NUcX/mF4eiNQ8cMJmKIgfS6rntKuQY2zSod+4+G0AFbiihVTnKsRf7CiJa/VniZdaGdbclT8KzRnNKJ1TrPO8rVPjg+SpvqTq75xynS08/OXCpoJ3aVeBWZJYJmheHhvJw2RiNW2P2GSIw+m6HIIsthUtvvHqdKpIaThFHAOKmw0LpPO7uGs/z/Q3un7+lqSlW7akUoSCHdiAJ4wWv+qFEgE4mq8bKtHoa9yy6FZBoORbbRTj8WkS+UvCLN5p7kZenmKYnWCzBf02O1ULpMsR5WvKCGCekSwWf3lAF9lYTL12JaFTw9iH1nSkyvcu7AoXlWI50hOhmA==

5.查看有效期

当你激活完毕后,Idea右下角会有个Registration小长条提示框,大致的内容为:You copy is Licensed to XXX意思就会告诉你:兄弟,你已经激活成功了,激活码的许可来源是:XXX。

查看有效期的步骤为点击:Help->About这里可以看到你的Idea的版本号、许可来源、有效期、以及一些环境

服务器激活是没有期限的,即为永久有效

https://img.mukewang.com/5d102b180001ca8b10800675.jpg

激活码激活的有效期到2089年的

https://img.mukewang.com/5d102b230001aa8110800675.jpg

 

未经允许不得转载:江哥架构师笔记 » python学习:pycharm ide设置

分享到:更多 ()

评论 抢沙发

  • 昵称 (必填)
  • 邮箱 (必填)
  • 网址