xuxinhang / cattle-temporary-posts

临时放放
0 stars 0 forks source link

扩展插件碎碎念 #2

Open xuxinhang opened 5 years ago

xuxinhang commented 5 years ago

这里是我喜欢的 VS Code / Firefox / Chrome / Sublime 等等的插件。持续更新。

xuxinhang commented 5 years ago

VS Code Plugins

[VS Code] Indent-Rainbow

A simple extension to make indentation more readable This extension colorizes the indentation in front of your text alternating four different colors on each step. Some may find it helpful in writing code for Nim or Python.

[VS Code] GitLens

查看每一行的Git提交历史 supercharges the Git capabilities built into Visual Studio Code. It helps you to visualize code authorship at a glance via Git blame annotations and code lens, seamlessly navigate and explore Git repositories, gain valuable insights via powerful comparison commands, and so much more.

Bracket Pair Colorizer**

This extension allows matching brackets to be identified with colours. The user can define which characters to match, and which colours to use.

xuxinhang commented 5 years ago

写一个和words功能近似的函数splitWith,要求带一个谓词和一个任意类型元素组成的列表,在使谓词返回False的元素处分割这个列表。

spp str = p : spp(t)  where (p, ' ':t) = break (\s -> s == ' ') str