Giter VIP home page Giter VIP logo

codelf's Introduction

CODELF(变量命名神器)

A search tool helps dev to solve the naming things problem.

Search over projects from Github, Bitbucket, Google Code, Codeplex, Sourceforge, Fedora Project, GitLab to find real-world usage variable names.

Also a daily Algorithm Copybook.

Also a GitHub stars, repositories tagger and organizer tool.

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

twohardtings

image

WIKI

简体中文

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".

select

Codelf for Atom

Install

Codelf is on Atom package. Search "codelf" on Atom setting pane and click install.Please see Atom Packages in the Atom Flight Manual

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".

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

ST Command Palette...

Apps

Codelf Chrome App

Find me

Videos

Codelf first look

Screenshots

Search variable

image

image

Daily Algorithm Copybook

jan-20-2019 14-29-06

image

GitHub stars, repositories tagger and organizer tool

bnk1

bmk2

codelf's People

Contributors

0xflotus avatar binarymuse avatar bosschow avatar unbug avatar zhuweiyou avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

codelf's Issues

如何搜索指定的语言

我想看看微软的Roslyn里面用了哪些变量名,但是那里面几乎有一半是vb代码,那些代码被跳过了!

建议可以给分组加个标记

收藏癖和强迫症患者的福音,collection多的时候就能更方便的发现是否对该项目分过组了。
screen shot 2016-01-21 at 6 34 21 pm
在分组前面加个记号或者在
screen shot 2016-01-21 at 6 34 21 pm横栏这里加个组名的tag

(^__^) 阿里嘎多

Chrome下无法正常使用

chrome版本 70.0.3538.110(正式版本)

搜索框输入完中文或英文后,按搜索按钮无反应。

按左边下拉箭头 无反应,没有任何下拉选项

【教程】添加 Codelf 到 Firefox Quantum 搜索引擎列表实现一键搜索

Why?

这里有Sublime Text插件, Atom 插件, Codelf Chrome AppFor WebStorm 但如果你用最新的 Firefox 浏览器 Firefox Quantum,添加 Codelf 一键搜索也非常方便。

Result?

效果就是你在Firefox 的搜索栏:

    1. 输入想搜索的关键字,比如”我想要“
    1. 在下拉菜单里选择 CODELF 的图标会立即打开 Codelf 并搜索出结果
      image

How?

Firefox Quantum 的地址栏相当强大,你只要添加了搜索引擎搜索框,你就可以添加并使用任意搜索引擎快速完成搜索。
来,我们只需要几步,我们就能将 Codelf 添加到 Firefox Quantum:

  1. 右键你的地址栏旁任意空白,选择 Customize...(自定义...)。
  2. 将 Search 框 (搜索框)拖到你的地址旁的栏任意空白位置,然后点击 Done (完成)。
  3. 打开 https://unbug.github.io/codelf/ ,你会发现你的搜索框多了个 “+“ 好,点击它并按提示完成将 CODELF 添加到搜索引擎列表。

最后你就可以按“Result”里说的2步使用了。如果你在 Firefox Quantum 的搜索引擎设置里给 CODELF 添加快捷键 E,你甚至可以在地址栏里首先输入 E + 空格 + 搜索内容 直接通过 CODEL 进行搜索

error: not work in idea 2018.1

press down ctrl + ;, input some char, those char show in idea editor;

#######################################
IntelliJ IDEA 2018.1 (Ultimate Edition)
Build #IU-181.4203.550, built on March 27, 2018
Licensed to rui.zhang
You have a perpetual fallback license for this version
Subscription is active until December 31, 2099
JRE: 1.8.0_152-release-1136-b20 amd64
JVM: OpenJDK 64-Bit Server VM by JetBrains s.r.o
Windows 7 6.1

【教程】添加 Codelf 到 Chrome 搜索引擎列表实现一键搜索

Why?

这里有Sublime Text插件, Atom 插件, Alfred插件, Codelf Chrome App,自己用的编辑器没有 Codelf 插件也请参考 WiKi 。 但如果你常用 Chrome,那还有另一种方式是灰常灰常的方便的。

Result?

效果就是你在Chrome 的地址栏:

    1. 输入”E"
    1. 按 “Tab"键
    1. 输入想搜索的关键字,比如”我想要“
    1. 按Enter回车就会立即打开Codelf并搜索出结果
      image

How?

Chrome 的地址栏相当强大,我们知道,在地址栏输入随意关键字回车就能自动使用默认的搜索引擎搜索出结果,连网址都不用输入。默认搜索引擎一般是 Google,如果你想保留默认搜索引擎又想通过地址栏使用其他搜索引擎,比如百度,你只要先输入”B",然后按“Tab”键,然后你就会发现“B”变成了百度,这时你输入任意关键字回车搜索,结果页面就是百度了。
来,我们只需要几步,我们就能将 Codelf 添加到 Chrome:

  1. 打开Setting(设置)
  2. 点击Manage search engines.. (管理搜索引擎)
    image
  3. 如果列表里太长,滚动到底部会有一个添加的入口,三个输入框依次输入:Codelf;E 和 https://unbug.github.io/codelf/#%S。然后点击Done(完成)。
    image

最后你就可以按“Result”里说的四步使用了。

对于已经设置分组的Repo

请问能否提供一个选项,可以在All里面将已经分组的隐藏起来?
或者把每个Repo所在的分组和TAG直接显示出来,感觉这样管理分组会更直观一些。

建议添加功能---显示变量的缩写

发现CODELF功能越来越全,可以组织自己的github项目了。

那能不能添加新的功能,比如用户输入变量名,界面输出变量的缩写(用户可以选择不同语言)?

Request: View "Ungrouped" stars

Hi there. Really like this project for it's simplicity and speed. There's a couple things I would find really useful (using the Chrome Add-on):

  1. Right now it's hard to see which ones you haven't assigned to a group yet (you have to click the +group button for every one to see them). It would be great to have a way to find all stars in the list that aren't already in at least 1 group. So perhaps underneath the list of groups and above "All", have another group called "No Group" that has all repos that aren't already in at least one group.

  2. Ability to add more tag colors would be nice. Even better, would it be possible to change the tags from colors to hashtags? It would be awesome if you could have a bunch of tags like #tag_1 #tag_2 and assign different colors to them (like GitHub issue Labels).

【教程】为 Firefox 添加搜索引擎 Codelf 并实现一键搜索

Firefox Quantum 已失效,请参看【教程】添加 Codelf 到 Firefox Quantum 搜索引擎列表实现一键搜索


以下步骤为firefox添加搜索引擎CODELF并实现一键搜索。

1. 安装插件Search Engine Creator

打开该插件,添加如下字段

  • Engine name*: CODELF
  • Search URL*: http://unbug.github.io/codelf/#{searchTerms}
  • Icon URL: https://camo.githubusercontent.com/48196d159b6cf236515945271083728c31aa95d2/687474703a2f2f756e6275672e6769746875622e696f2f636f64656c662f7265736f75726365732f696d616765732f636f64656c665f6c6f676f2e706e67

添加搜索引擎CODELF

点击"Create engine",创建搜索引擎成功,如下所示
screenshot from 2016-01-30 17 35 58

2. 添加中文编码支持

添加搜索引擎成功后,进行英文搜索没有问题,输入中文则不行,因此需设置编码为UTF-8。

打开火狐的个人配置文件夹,在searchplugins文件夹里找到刚生成的搜索引擎文件"codelf.xml",在其中添加<os:InputEncoding>UTF-8</os:InputEncoding>,之后重启火狐,测试中文搜索正常。

3. vimperator加速

安装了vimperator的用户,可以自定义搜索引擎的关键字,比如定义CODELF的关键字为“cf”。之后,直接输入“t cf 新年快乐”即可进行搜索。

codelf

分组设置丢失

好几次了,分组标记了半天,第二天打开全没了,能不能导出配置啊?

暂定分组功能

刚刚使用codelf的github star分组功能 太多的话手动分组出来是很花时间的,可以使用分析项目的tag功能来做个暂分组命名

新版谷歌浏览器 打开网站有bug

我更新了chrome 浏览器 打开本网站 出现bug 输入任何内容 都搜索
Google Chrome 已是最新版本
版本 69.0.3497.81(正式版本) (64 位)

烦请作者 看看.

默认收起all

all 每次都自动打开,库太多卡死了,如果@太多库的话,卡成狗了

sync database with GitHub private gist?

能不能考虑和github的private gist链接起来?
https://atom.io/packages/sync-settings
这是个例子,atom的sync-settings能把数据同步到private gist里
gist作为云上的同步数据?然后客户端配置一个gist可以轮询检查gist有没有版本变化,有变化比较时间戳,然后更新或下载。
这个同步虽然有点不是很完美,但是总是一个免费方案。

【Q&A】为什么中文无法搜索?

如果你遇到下图,即中文突然无法搜索了,详细原因解释如下:

Codelf 需要先到有道翻译API 取中文(事实上你可以搜日文,韩文等)的英文翻译再搜索 GitHub 要变量。我用的是有道翻译API 的免费套餐,目前,一小时超过 1k~2K 请求就会被封一个小时,所以一个小时后再来就好啦!

image

添加 Star 备注功能

能不能加个功能,能给某个star添加备注的功能,有太多start了,都不知道哪个是干嘛用的了,要点开看,看也看不懂,都是英文介绍。
亲,不难吧,像你这样的大牛,分分钟的事啦。我帮你拉了不少用户呀,身边不下十人天天都在用

【教程】给 WebStorm 添加 Codelf 实现一键搜索

Why?

这里有Sublime Text插件, Atom 插件, Alfred插件, Codelf Chrome App,自己用的编辑器没有 Codelf 插件也请参考 WiKi 。但如果你用 WebStorm,以下方法灰常方便。

Result?

效果就是在编辑代码时选中任意文本:

    1. 按”CTRL+S"
    1. 选“Codelf”就会立即打开 Codelf 并搜索出结果

qq20160906-0

How?

WebStorm 有个 OnlineSearch 插件,通个它可以添加任意搜索引擎,然后通过快捷键实现一键搜索:

    1. WebStorm -> Preference -> Plugins -> Browse Repositories... -> 搜索"OnlineSearch"并安装
    1. WebStorm -> Preference -> Keymap -> 搜索“OnlineSearch” -> 在“Other" 下的 “OnlineSearch”右键 -> 选"Add Keyboard Shortcut" -> 按住“CTRL+S”录入快捷键 -> 点击右下角的“Apply”完成

qq20160906-1

    1. WebStorm -> Preference -> Other settings -> OnlineSearch -> 三个输入框依次输入:Codelf, https://unbug.github.io/codelf/#%S%S -> 然后点击”Apply“完成。

qq20160906-2

最后你就可以按“Result”里说的2步使用了。

web http://unbug.github.io/codelf/ javascript has error by click search button

[Deprecation] Application Cache is restricted to secure contexts. Please consider migrating your application to HTTPS, and eventually shifting over to Service Workers. See https://goo.gl/rStTGz for more details.
(index):96 Uncaught TypeError: Cannot read property 'addEventListener' of undefined
at Object. ((index):96)
at o ((index):96)
at Object. ((index):96)
at o ((index):96)
at HTMLDocument. ((index):96)
at l (all.568db2c2.js:2)
at Object.fireWith [as resolveWith] (all.568db2c2.js:2)
at Function.ready (all.568db2c2.js:2)
at HTMLDocument.s (all.568db2c2.js:1)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.