coc

vim coc.nvim安装及配置c,c++补全

在安装之前需要安装`npm` `yarn` `node.js` ```less # 这里以ubuntu示例 sudo apt install clang # 如果是c,c++补全需要安装 # 安装npm sudo apt-get install npm # 安装yarn sudo npm insta ......
nvim vim coc

coc仓库--ocr相关

```c++ void ocr_myjinbi(tesseract::TessBaseAPI *chi_api, cv::Mat *mat_srcp, int *myjinbi) { cv::Mat mat2(*mat_srcp, cv::Rect(1577, 37, 290, 60)); mat2 ......
仓库 coc ocr

coc仓库--checkIsHome

```c++ bool checkIsHome(const std::string *ADB_IP, cv::Mat *mat, fastdeploy::vision::detection::YOLOv5 *homemodelPoint) { screenShot(ADB_IP, mat); cv: ......
checkIsHome 仓库 coc

coc仓库--deviceINFO类

```c++ class deviceINFO { /* data */ // adbip // touch stream // mat // model指针 public: std::string ADB_IP; FILE *touchFile; cv::Mat *mat; fastdeploy: ......
deviceINFO 仓库 coc

coc仓库--pix2mat

```c++ Pix *mat8ToPix(cv::Mat *mat8) { Pix *pixd = pixCreate(mat8->size().width, mat8->size().height, 8); for(int y=0; yrows; y++) { for(int x=0; xcol ......
仓库 pix2mat 2mat pix2 coc

coc仓库--fork子进程

## fork子进程 ### 原函数 ```c++ void forktest(int *i, pid_t parentid) { tesseract::TessBaseAPI *chi_api = new tesseract::TessBaseAPI(); if (chi_api->Init("/ ......
仓库 进程 fork coc

coc仓库--时间控制相关函数

## 时间控制相关函数 一些需要备注的网站: https://www.cnblogs.com/terrasse/p/fast-adb.html https://developer.android.google.cn/ndk/downloads?spm=a2c6h.12873639.article-d ......
函数 仓库 时间 coc

coc仓库--minitouch控制函数封装

## minitouch控制函数封装 minitouch的github地址: ### 1.原函数 ```c++ void click(FILE *wirteFile, const std::string *ADB_IP, int x, int y) { std::string s = "d 0 " ......
函数 仓库 minitouch coc

coc仓库--minicap截图函数

## minicap截图 ### 1.原函数 ```c++ void screenShot(const std::string *ADB_IP, cv::Mat *mat) { // 首先,运行runShellAndReturn获取file指针 std::string cmd = "adb -s " ......
截图 函数 仓库 minicap coc

coc仓库--从内存中读取图像

## 从内存中读取图像 ### 1.源码 ```c++ void createMatFromMem(FILE *file, cv::Mat *mat) { uchar *mem_pic = new uchar[6268932 / sizeof(uchar)]; long size = 0; frea ......
仓库 图像 内存 coc

coc仓库--popen命令的封装

## popen命令的封装 ### 1.源码 ```c++ int runShellNoReturn(const char *cmd, const char *mode) { FILE *file = popen(cmd, mode); if (file == NULL) { return 1; } ......
仓库 命令 popen coc

coc-settings中设置自定义头文件路径

具体方案例如 { "suggest.noselect": true, "languageserver": { "ccls": { "command": "ccls", "filetypes": ["cc", "c", "cpp", "cuda"], "rootPatterns": [".tasks" ......
coc-settings 路径 settings 文件 coc

nvim-treesitter coc.nvim

PS C:\Users\dev\AppData\Local\nvim-data\plugged\nvim-treesitter\parser> lsd  bash.so  cpp.so  dockerfile.so  html.so  latex.so  ninja.so  rust. ......
nvim nvim-treesitter treesitter coc

mingw64 + nvim + coc.nvim + nvim-dap : C++ windows - 04

4.1 init.vim 将 init.vim 放置到下面 :echo stdpath('config') ~\AppData\Local\nvim 4.2 plug https://github.com/junegunn/vim-plug 将 plug.vim 放置到下面 ~\AppData\Lo ......
nvim nvim-dap windows mingw coc

mingw64 + nvim + coc.nvim + nvim-dap : C++ windows - 05

PS C:\Users\dev\Desktop\cpp> cd .\build\ PS C:\Users\dev\Desktop\cpp\build> cmake .. -DCMAKE_BUILD_TYPE=Debug -- Building for: Ninja -- The C compiler ......
nvim nvim-dap windows mingw coc

mingw64 + nvim + coc.nvim + nvim-dap : C++ windows - 01

目标 用做C++编译器 尽量不要扩展其它功能 python 是避免不了,所以才安装的。 1.1 下载安装 https://mirror.tuna.tsinghua.edu.cn/msys2/distrib/msys2-x86_64-latest.exe 安装路径: C:\gnu\msys64 1.2 ......
nvim nvim-dap windows mingw coc

mingw64 + nvim + coc.nvim + nvim-dap : C++ windows - 02

2.1 命令行工具 https://github.com/sharkdp/fd https://github.com/junegunn/fzf https://github.com/BurntSushi/ripgrep https://github.com/tree-sitter/tree-sitt ......
nvim nvim-dap windows mingw coc

mingw64 + nvim + coc.nvim + nvim-dap : C++ windows - 03

3.1 ccls https://github.com/MaskRay/ccls/wiki/Build 在msys中: pacman -S --noconfirm mingw-w64-x86_64-clang mingw-w64-x86_64-clang-tools-extra mingw64/mi ......
nvim nvim-dap windows mingw coc

coc-nvim

配置文件 :CocConfig ~/.config/nvim/coc-settings.json coc-settings.json { "languageserver": { "ccls": { "command": "ccls", "filetypes": ["c", "cpp","hpp"," ......
coc-nvim nvim coc
共19篇  :1/1页 首页上一页1下一页尾页