变量命名神器 Codelf 推出 VS Code 插件啦

2017-05-27 15:08:39 +08:00
 unbug

Codelf(变量命名神器)

Organize your GitHub stars and repositories.Search over projects from GitHub, Bitbucket, Google Code, Codeplex, Sourceforge, Fedora Project to find real-world usage variable names.

There are only two hard things in Computer Science: cache invalidation and naming things.-- Phil Karlton

WIKI

Pro Tips

常用快捷键

查看源码里通过Tab索引下一个匹配Shift+Tab索引上一个匹配

自己用的编辑器没有 Codelf 插件请看参考以下方案:

详细教程

Apps

Codelf Chrome App

Plugins

Codelf for VS Code

Install

Codelf is on VS Code Extension Marketplace. Just search "codelf" on VS Code EXTENSIONS pane and click install.

Usage
  1. Select text, right-click and select "Codelf".

Codelf for Atom

Install

Codelf is on Atom package. Search "codelf" on Atom setting pane and click install.Please see using-atom-atom-packages

Usage
  1. Select text, right-click and click "Codelf".
  2. Open Packages menu select "Codelf"
  3. Press CTRL+ALT+E to open Codelf

Also see How to use Codelf on Atom

Codelf for Sublime Text

Install
  1. Download Codelf for Sublime or Select a "st-" version to download
  2. Unzip and rename the folder to Codelf
  3. Copy the folder into Packages directory, which you can find using the menu item Sublime Text -> Preferences -> Browse Packages...
  4. Restart Sublime Text
Usage
  1. Select text, right-click and click "Codelf".

2. Open Command Palette using menu item Tools -> Command Palette... --> Type "E" or "Codelf" -->Select "Search Selection" or "Search From Input"

Build

  1. install requirements run npm install
  2. build and watch run gulp

Thanks

Programming naming convention

Find me

Videos

Screenshots

14215 次点击
所在节点    分享创造
5 条回复
GoBeyond
2017-05-27 15:46:34 +08:00
喔这个有意思
Kilerd
2017-05-27 16:25:25 +08:00
我以为集成了什么东西了,还是要打开一个 web, 那就没什么意义了啊
witcherhope
2017-05-27 23:19:58 +08:00
看起来挺不错啊,这个的确是痛点
jcuan
2017-05-27 23:53:31 +08:00
感觉可以一试
unbug
2017-05-31 19:01:21 +08:00
@Kilerd 一步一步来呀,主要是 VS Code 限制比较多现在

这是一个专为移动设备优化的页面(即为了让你能够在 Google 搜索结果里秒开这个页面),如果你希望参与 V2EX 社区的讨论,你可以继续到 V2EX 上打开本讨论主题的完整版本。

https://www.v2ex.com/t/364246

V2EX 是创意工作者们的社区,是一个分享自己正在做的有趣事物、交流想法,可以遇见新朋友甚至新机会的地方。

V2EX is a community of developers, designers and creative people.

© 2021 V2EX