youcompleteme

YouCompleteMe can't find local header files

半城伤御伤魂 提交于 2021-02-19 07:43:30
问题 I currently have a project that is structured as so project | |----src/ | | | |----test.cpp | |----include/ | | | |----test.hpp | |----.ycm_extra_conf.py But I can't get YouCompleteMe to recognize test.hpp when it's include in test.cpp #include "test.hpp" This is the output of my :YcmDebugInfo Printing YouCompleteMe debug information... -- Client logfile: /tmp/ycm_tcrryhfo.log -- Server Python interpreter: /usr/bin/python2.7 -- Server Python version: 2.7.14 -- Server has Clang support

What is the current situation for using Vim as IDE for Haskell on Archlinux?

那年仲夏 提交于 2021-01-27 19:13:58
问题 My target, if doable, is to have command completion for Haskell in work in Vim, via YouCompleteMe. In this respect, as you can see in the following, I haven't found a consesus yet about how to get it to work. The latest comments on a relevant issue on YouCompleteMe are not that old, therefore I installed haskell-ide-engine from the AUR (the repo on GitHub is here. However, since it was taking so long (it took 110 minutes!) I checked the PKGBUILD file just to discover this: # ... # Supported

YCM error. The ycmd server SHUT DOWN (restart wit…the instructions in the documentation

℡╲_俬逩灬. 提交于 2020-12-28 06:39:22
问题 I installed YCM with vim plug, but I may have shut down before process finished. Now when I start vim I get this error "The ycmd server SHUT DOWN (restart wit...the instructions in the documentation." I've googled but can not find workable solution. I don't see anything in the documentation that helps. But I am new to vim and coding in general so may be missing something. :YcmDebugInfo comes back with "Server errored, no debug info from server". I have tried :YcmRestartServer, but to no

YCM error. The ycmd server SHUT DOWN (restart wit…the instructions in the documentation

浪尽此生 提交于 2020-12-28 06:37:50
问题 I installed YCM with vim plug, but I may have shut down before process finished. Now when I start vim I get this error "The ycmd server SHUT DOWN (restart wit...the instructions in the documentation." I've googled but can not find workable solution. I don't see anything in the documentation that helps. But I am new to vim and coding in general so may be missing something. :YcmDebugInfo comes back with "Server errored, no debug info from server". I have tried :YcmRestartServer, but to no

YCM error. The ycmd server SHUT DOWN (restart wit…the instructions in the documentation

耗尽温柔 提交于 2020-12-28 06:36:45
问题 I installed YCM with vim plug, but I may have shut down before process finished. Now when I start vim I get this error "The ycmd server SHUT DOWN (restart wit...the instructions in the documentation." I've googled but can not find workable solution. I don't see anything in the documentation that helps. But I am new to vim and coding in general so may be missing something. :YcmDebugInfo comes back with "Server errored, no debug info from server". I have tried :YcmRestartServer, but to no

VSCode how to automatically insert Intellisense suggestions without having to press Enter?

混江龙づ霸主 提交于 2020-12-26 05:07:19
问题 Default VS Code Intellisense behaviour User is presented with a menu of suggestions User then has to press the Up or Down arrow keys to navigate through the menu Finally user has to confirm with Enter to insert the suggestion and close the dialog What I would like instead Don't need to press Enter Suggestions are automatically inserted (and cycled through) by pressing Up / Down Pressing any other keys will close the dialog and resume typing To be clear, I want to replicate the default

打造超级舒适的Go开发环境之VIM配置

我的梦境 提交于 2020-08-04 17:28:03
最近博主已经从VIM迁移到了EMACS作为主要生产工具,目的是为了学习Lisp和体验EMACS操作系统之美,哈哈,不要被我弄的技术焦虑,没错,我就是换了个吃饭的盘子。写下这篇博客也是为了纪念我顺利的“从VIM毕业了”。 在阅读本文之前,你需要: 准备一个UNIX like的操作系统 一个可以跨过山和大海的代-理 话不多说,开始吧~ (1)下载必要的Go工具链 go get -v github.com/mdempsky/gocode go get -v github.com/ramya-rao-a/go-outline go get -v github.com/acroca/go-symbols go get -v github.com/uudashr/gopkgs go get -v golang.org/x/tools/cmd/guru go get -v golang.org/x/tools/cmd/gorename go get -v github.com/sqs/goreturns go get -v github.com/rogpeppe/godef go get -v golang.org/x/tools/cmd/godoc go get -v golang.org/x/lint/golint go get -v github.com/derekparker/delve

Ubuntu 16.04安装Vim8.0

独自空忆成欢 提交于 2020-05-07 19:44:09
Ubuntu 16.04安装Vim8.0 https://www.aliyun.com/jiaocheng/131859.html sudo add-apt-repository ppa:jonathonf/vim sudo apt update sudo apt install vim To check out Vim version, run command vim –version. Uninstall Vim 8.0: To uninstall Vim 8.0 and downgrade it to the stock version in Ubuntu repository, run the command below to purge the PPA: sudo apt install ppa-purge &;&; sudo ppa-purge ppa:jonathonf/vim https://www.cnblogs.com/zjutzz/p/9038871.html Ubuntu16.04安装vim8 在Ubuntu16.04下编译安装vim8,并配置vim-plug插件管理器,以及安装YouCompleteMe等插件。 安装依赖 sudo apt-get install libncurses5-dev libgnome2-dev libgnomeui-dev

树莓派(archlinux)中搭建vim IDE --golang

↘锁芯ラ 提交于 2020-03-18 23:31:42
3 月,跳不动了?>>> 1.安装vundle插件; 2.安装vim-go; 3.安装最为头大的YouCompleteMe; 通过git clone 来离线安装YouCompleteMe。步骤如下: cd ~/.vim/bundle 然后执行 git clone https://gitee.com/Random_Coder/YouCompleteMe.git 把YouCompleteMe目录的所有者改为当前用户(bysu) sudo chown -R bysu:bysu YouCompleteMe 然后执行 git submodule update --init --recursive 报上面的错一般是因为curl的postBuffer的默认值太小和git clone速度太慢,可能被限制了,现在贴出这两方面的解决方案。 postBuffer的默认值太小: 在这里,笔者把postBuffer的值配置成500M,对笔者来说已经够了。可以根据你需要下载的文件大小,将postBuffer值配置成合适的大小。 git config --global http.postBuffer 524288000 这样已经配置好了,如果你不确定,可以根据以下命令查看postBuffer。 git config --list ———————————————— 版权声明:本文为CSDN博主「Jane

Ubuntu18.04 vim8.2 Yomcompleteme clang 编译、安装及使用

南笙酒味 提交于 2020-03-10 12:16:47
简介 简介: 源码编译使用vim及其插件. 内容包含: vim的编译安装, llvm clang的编译安装, 插件youcompleteme的编译安装使用, 以及vim其他插件的使用. 搭建环境: Ubuntu18.04.4 server版(desktop版应该也适用) 环境还原方式: 坚果云上保存: .vim 文件的压缩包,以免以后换环境时都得下载, 使用时直接解压至 ~/.vim GitHub上保存: .vimrc , .clang-format , .ycm_extra_conf.py 等配置文件, 地址: https://github.com/whuwzp/vim_config 主要参考网址如下, 基本上都是参照官方方法, 而不是在博客网站上拾人牙慧: vim源码编译: https://github.com/ycm-core/YouCompleteMe/wiki/Building-Vim-from-source llvm clang编译: https://llvhttps://m.org/docs/GettingStarted.html#getting-started-with-llvm youcompleteme编译使用: https://github.com/ycm-core/YouCompleteMe#linux-64-bit 其他c++插件: https:/