Linux 下有什么免费的代码搜索工具或轻量级 IDE?

6 天前
 Vindroid

在做 Chromium 的二次开发,linux 上有能项目内全局搜索的关键词的软件吗?要类似这种在线搜索的 https://chromium.googlesource.com/

3833 次点击
所在节点    Linux
47 条回复
qxdo1234
6 天前
linux 不应该用 find 吗?我刚找了个工作,老板查代码,就用 find 。
fuckfaker
6 天前
grep -iIrn --include="*.c" "xxxx"
grep -iIrn --exclude="*.c" "xxxx"
kirara2024
6 天前
xlivesearch() {
rg --line-number --no-heading --color=always --smart-case \
-g '!go/' \
-g '!.git/' \
-g '!test{,-*}/**' \
-g '!.*/*' \
"$*" |
fzf --ansi \
--color "hl:-1:underline,hl+:-1:underline:reverse" \
--delimiter : \
--preview 'bat --color=always --highlight-line {2} {1}' \
--preview-window 'up,60%,border-bottom,+{2}+3/3,~3' \
--bind 'enter:execute(vim {1} +{2}),ctrl-v:execute(code -g {1}:{2})'
beyondstars
5 天前
我要搜什么一般都直接用 `egrep -e 'pattern' -r ./src` 类似这样
yuancoder
5 天前
如果用 vim , 可以试试 any-jump.vim 插件, 可以根据不同的语言搜索关键字
yc8332
5 天前
The Silver Searcher
ooo000
3 天前
zed 够快

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

https://yangjunhui.monster/t/1130566

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

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

© 2021 V2EX