Pycharm使用小技巧、好用插件,大多数内容IntelliJ IDEA同样适用(未完待续)

1.利用Pycharm设置虚拟环境

利用Pycharm设置虚拟环境简直不能再好用,由于python存在就近原则,其他方式创建的虚拟环境容易出现混乱导致需要卸载或者重新安装,使用Pycharm创建则格外方便。
在这里插入图片描述

2.不区分大小写匹配

Pycharm默认设置中对大小写敏感,对于不常用的方法有时候让人找不到就很着急。关闭大小写匹配则会简单很多。

在这里插入图片描述

3.安装好用的插件

具体根据应用领域不同安装的插件会有些许不同,这里只介绍一些通用且实用的插件。很多与JAVA IDE通用。

3.1 Rainbow csv

主要特点

  • 以不同的彩虹色突出显示 .csv、.tsv 和其他分离文件中的列。

  • 提供有关鼠标悬停列的信息。

  • 检查 CSV 文件的一致性 (CSVLint)

  • 将列与空格对齐并缩小(从字段中修剪空格)

  • 执行类似 SQL 的 RBQL 查询。
    在这里插入图片描述

3.2 Rainbow Brackets

作用:彩虹颜色的括号,清除分清括号个数,防止括号错乱。
在这里插入图片描述
快捷键设置
ctrl+alt+9 Replace the brackets around the cursors with ()
ctrl+alt+0 Replace the brackets around the cursors with ()
ctrl+alt+[ Replace the brackets around the cursors with []
ctrl+alt+] Replace the brackets around the cursors with []
ctrl+alt+shift+[ Replace the brackets around the cursors with {}
ctrl+alt+shift+] Replace the brackets around the cursors with {}
ctrl+alt+r Remove the brackets around the cursors
ctrl+alt+. Remove the brackets around the cursors and select the text within the brackets
ctrl+alt+, Select the brackets around the cursors and the text within the brackets

3.3 Tabnine

作用:人工智能推荐代码补全
官网地址
https://www.tabnine.com/
在这里插入图片描述

评论 2
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值