eeechoo / blogs

个人博客
0 stars 0 forks source link

Pycharm 文件关联 #17

Open eeechoo opened 5 years ago

eeechoo commented 5 years ago

在写使用RF编写自动化用例的过程中,由于团队规定由testcase组成的test suite 文件使用 .txt 作为文件后缀名,而我希望这个 以 .txt 作为后缀的文件通过 以 .robot 后缀的方式进行关键字渲染等操作。

解决方式 file -> settings -> Editor -> File Types Recognized File Types 中找到 Robot Feature, Registered Patterns 中添加 pattern: *.robot