《VSChromium Extension》文档学习

链接:https://chromium.github.io/vs-chromium/#code-search

学习进度:ongoing


前言

VSChromium是VS的Extension,包含了一系列工具,可以编辑,导航,调试代码。简单来说,可以代替built-in "Find in Files" VS feature。在0.1second的时间内,可以搜索10w+ files。(看起来就是Visual Assist X的进化版)

VSChromiume最初是用于submit chromiume project code,随着插件的开发,更通用了,任何project 都OK

功能总结

  • Code Search,根据key word search all sln。也可以设置搜索的options,可以通过vs-chromium-project.txt,对搜索结果进行ignore。类似,gitign
  • VsChromium功能可以被打开 or 关闭。Tools |  Options
  • 格式化C++/C#代码
  • Chromium Coding Style检查
  • Attach to chrome

Getting started

Install

https://github.com/chromium/vs-chromium/releases下载最新版


Code Search and Source Explorer

VsChromium has a built-in text search engine

Source Explorer

Source Explorer 集成在 vs built-in solution explorer and show the hierarchy of directories,当文件更新的时候,Source也会自动更新

(疑问)为啥感觉没快到哪去,感觉是我的问题?

Code Search

Code Search根据text或者regular expression进行代码搜索,Code Search的打开方式为:View | Other Windows | Code Search。支持Match Case(大小写),Math Whole Word,Use Regular Expressions,也可以限定路径

用正则表达式的场合比较少,理解basic function就可以了,就是个搜索栏  : )

Chromium Coding Style checker

以下是会被红色高亮check out 规则

  • 单行字符超过80个
  • 行尾空格
  • TAB instead of spcae characters
  • 无效的 else-if
  • 无效的 public

Navigate to Build Error

Tool | Package Manager Console继承cmd,同时可以显示报错链接

Attach to Chrome

附加到进程

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值