ide

用VIM打造属于自己的IDE

删除回忆录丶 提交于 2020-01-21 05:45:24
Vim是一个强大的文本编辑器,我参考网上教程定制了一个简单的IDE,具有文件视图、自动补全、批量注释等常用功能。先上图: 要完成整个配置,需要安装ctags、cscope软件,以及taglist.vim、winmanage、omnicppcomplete.vim、NERDcommenter.vim、a.vim、DoxygenToolKit插件。 ctags软件可以帮助我们跳转到函数或者变量的定义位置; cscope软件比ctags更强大,可以找到哪些位置调用了某个函数; taglist.vim和winmanage插件用于显示源代码的结构,比如函数列表; omnicppcomplete.vim插件可以实现C/CPP代码的补全; NERD_commenter.vim可以实现批量注释; a.vim实现.cpp和.h的快速切换,比如敲代码时想立刻查看头文件; DoxygenToolKit插件用于自动产生注释。 有了这些基本功能,Vim俨然成了一个简化版的SourceInsight。 1. 配置.vimrc .vimrc是Vim的配置文件,就在$HOME目录下面,如果没有就自己创建一个。在这个文件里可以深度定制Vim。不要太复杂,先配上最基本的,代码如下: set nocompatible "不要兼容vi syntax on "高亮 set tabstop=4 "tab等于4空格 set

Fix for Xcode's indiscernible highlighting of inline errors?

北慕城南 提交于 2020-01-20 22:09:49
问题 I can't be the only one that finds Xcode's method of "pointing out" where your mistakes are - ridiculous. As helpful and essential as the feature is.. it does not help to make the line I need to fix virtually impossible to read or edit... let alone see... And don't get me started on the constant struggle to find a "selection" color that is visible, yet retains one's sanity/ability to see what the selected text actually IS! What am I missing here? I know how to futz with the colors in xCode, I

Fix for Xcode's indiscernible highlighting of inline errors?

[亡魂溺海] 提交于 2020-01-20 22:09:49
问题 I can't be the only one that finds Xcode's method of "pointing out" where your mistakes are - ridiculous. As helpful and essential as the feature is.. it does not help to make the line I need to fix virtually impossible to read or edit... let alone see... And don't get me started on the constant struggle to find a "selection" color that is visible, yet retains one's sanity/ability to see what the selected text actually IS! What am I missing here? I know how to futz with the colors in xCode, I

Tips for Handling large projects with Maven and IntelliJ IDEA

你离开我真会死。 提交于 2020-01-20 14:36:28
问题 I was reading this blog post about the experience of a team using Intellij Idea for large maven projects and have also looked at a similar question posted around 2 years back for IDEA v.10.0.2. One of the tips mentioned in the former made a whole lot of sense : Move C:\Users\$user\.IntelliJIdea12 into a folder not access-scanned by the antivirus. I have searched around for performance centric VM options and currently my idea64.exe.vmoptions looks like this : -Xms1200m -Xmx1200m -XX

jmeter二次开发之导入源码到idea

a 夏天 提交于 2020-01-20 04:27:31
2020年 新突破,新成就、新未来! 第一步 jmeter源码下载 https://archive.apache.org/dist/jmeter/source/ 这里选择的是jmeter3.3版本用的是ant构建,最新版5.2.1用的gradle构建后续导入研究。 解压之后显示如下图(此图) 第二步 如果直接导入到idea ,idea识别不到该项目为eclipse项目 执行命令:window+R 显示如下为操作成功 一顿操作猛如虎,直接点击next 该项目为ant构建点击最右侧ant build 选择apache-jmeter-3.3下的build.xml 双击download_jars 等待下载完毕 把之前包红的jar包干掉 引入重新引入类库与jar包 把sources中加入protocal 类库 、dependencies中加入如下所有的jar包 应用之后执行ant命令 install 完毕 Main class for JMeter - sets up initial classpath and the loader. 运行该文件 遇到这些不要慌只是提示已过时并不是报错 解决办法:修改newDriver源码 运行newDriver,启动jmeter成功 欢迎点赞 世界很美好!这世界我来过! 来源: CSDN 作者: BugSuperMan 链接: https://blog

How to make IntelliJ prompt me for command line arguments

╄→гoц情女王★ 提交于 2020-01-20 03:50:26
问题 In Eclipse, you can provide the program argument ${string_prompt} in your run configuration to have it prompt for the command line arguments. Is there a way to do this in IntelliJ? 回答1: Edit: This may be a bug in IDEA, the solution that I first posted (you can see it below) causes Intellij to hang after entering parameter. I couldn't come up with a solution to this, but here's a little trick: you can scroll to the very bottom of Run/Debug configuration screen and in "Before launch" section

vim python IDE 配置

一曲冷凌霜 提交于 2020-01-19 02:28:06
俗话说:工欲善其事,必先利其器。最近使用python,习惯了liunx和vim,打算将vim作为python开发工具,下面就配置vim,以让它成为python开发的利器,增强我们的开发体验!废话少说,看下面。 1、检查vim是否支持python ,确保安装7.x版本,我的是vim7.4,检查方法:vim --version|grep python 如看到python前有加号,表示支持,减号表示不支持。 2、在/root/.vim下创建plugin目录,如存在则不用创建了。 3、安装MiniBufExplorer, 主要用来方便buffer的浏览和操作,在编程的时候不可能永远只编辑一个文件, 你肯定会打开很多源文件进行编辑, 如果每个文件都打开一个vim进行编辑的话那操作起来将是多麻烦啊, 所以vim有buffer(缓冲区)的概念。下载地址 http://www.vim.org/scripts/script.php?script_id=159 直接将 minibufexpl.vim 文件复制到~/.vim/plugin目录下,并到~/.vimrc中添加如下内容: 1 let g:miniBufExplMapWindowNavVim = 1 2 let g:miniBufExplMapWindowNavArrows = 1 3 let g

将vim改造成C/C++开发环境(IDE) 2011

|▌冷眼眸甩不掉的悲伤 提交于 2020-01-19 02:25:51
【参考资料】 吴垠的“手把手教你把Vim改装成一个IDE编程环境” 在Fedora下成功将Vim打造成适用于C/C++的IDE 用Vim搭建C/C++开发环境 Ubuntu下vim+ctags的配置(转) Vim下的代码自动补全和代码跳转阅读(转) omnicppcomplete - a Vim plugin 我的vim IDE界面: 1、安装Vim和Vim基本插件 首先安装好Vim和Vim的基本插件。这些使用apt-get安装即可: lingd@ubuntu:~/arm$sudo apt-get install vim vim-scripts vim-doc 其中vim-scripts是vim的一些基本插件,包括语法高亮的支持、缩进等等。 vim中文帮助文档tar包下载地址: http://sourceforge.net/projects/vimcdoc/files/vimcdoc/ 解压后其中有个doc文件夹, 将其中的内容全部复制到~/.vim/doc, 或者vim安装目录下的doc目录中, 此时vim中的help信息已经是中文的了. 网页版中文帮助文档网址 http://vimcdoc.sourceforge.net/doc/help.html 首页就时vim帮助文档的目录,阅读起来更方便有效、更有针对性! 2、Vim配置文件 Vim强大的功能,其来源基本上就两个地方

将Vim改造为强大的IDE—Vim集成Ctags/Taglist/Cscope/Winmanager/NERDTree/OmniCppComplete(有图有真相)

六眼飞鱼酱① 提交于 2020-01-19 02:24:51
工欲善其事,必先利其器。一个强大的开发环境可以大大提高工作效率。好吧,我知道这是废话。。。不过,我想一定有很多跟我一样打算进入Linux平台开发的新手,一开始都为找不到一个像Windows下的VS那样可以一键安装并且功能几乎完美无缺的开发工具而郁闷不已,甚至打算收回刚刚迈出的脚步。所幸的是,通过几天努力,我总算配置出了一个功能完备的基于Vim的开发环境。这个开发环境除了基本的Vim外,还包括Ctags,Taglist,Cscope,SuperTab,OmniCppComplete,Winmanager,NERDTree和MiniBufExplorer等组件。 在开始操作前,先普及下基础概念,然后约定一下表达规范。 1)Vim存在多个配置文件vimrc,比如/etc/vimrc,此文件影响整个系统的Vim。还有~/.vimrc,此文件只影响本用户的Vim。而且~/.vimrc文件中的配置会覆盖/etc/vimrc中的配置。这里我们只修改~/.vimrc文件。 2)Vim的插件(plugin)安装在Vim的runtimepath目录下,你可以在Vim命令行下运行"set rtp“命令查看。这里我们选择安装在~/.vim目录,没有就创建一个。 3)当本文说”在Vim命令行下运行cmdxx命令“时,意思是指在Vim的命令行模式下运行cmdxx命令,即在Vim的正常模式下通过输入冒号":

package android.support.v4.app does not exist ; in Android studio 0.8

て烟熏妆下的殇ゞ 提交于 2020-01-18 21:37:49
问题 I've recently updated the android studio IDE to 0.8 to work with the new android L SDK. To start I imported a finished android project that receives no errors in the older version of android studio. In version 0.8 i lines such as import android.support.v4.app.Fragment; get: Support cannot be resolved causing the rest of the code to have errors. The logcat returns 101 instances of Error:(8, 30) error: package android.support.v4.app does not exist 1 for each time I call the support library in