C ++ vim IDE。你需要的东西 [英] C++ vim IDE. Things you'd need from it

查看:122
本文介绍了C ++ vim IDE。你需要的东西的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述



我将创建C ++ IDE Vim 可扩展插件


I was going to create the C++ IDE Vim extendable plugin. It is not a problem to make one which will satisfy my own needs.

这个插件将与工作空间,项目及其依赖关系一起工作。

这是用于具有 gcc 作为c ++编译器的unix系统。

This plugin was going to work with workspaces, projects and its dependencies.
This is for unix like system with gcc as c++ compiler.

所以我的问题是什么是最重要的事情, d需要从IDE?

So my question is what is the most important things you'd need from an IDE? Please take in account that this is Vim, where almost all, almost, is possible.

几个问题:

你多长时间地管理不同的工作区,内部有项目以及它们之间的关系?在这个过程中最烦人的事情是什么。

是否需要从Makefile重新创建project?

感谢。

Several questions:
How often do you manage different workspaces with projects inside them and their relationships between them? What is the most annoying things in this process.
Is is necessary to recreate "project" from the Makefile?
Thanks.

创建此插件的原因:

有了一堆插件和自写的,我们可以模拟大部分的东西。当我们处理一个大的不定式项目时,它是确定的。

当我们已经有一个makefile或jam文件时,这是好的。坏,当我们必须创建我们自己的,主要是通过复制和粘贴现有。

所有ctags和cscope相关的事情必须知道一个真正的项目文件的列表。我们创造这样的。这< project#get_list_of_files()>并且许多类似的可能是一个很好的项目api函数来与现有的和未来的插件合作。
与现有makefile的合作可以帮助找到真正的项目文件和可执行文件名称的列表。
对于插件系统里面的插件,可以有不同的项目模板。

With a bunch of plugins and self written ones we can simulate most of things. It is ok when we work on a one big "infinitive" project.
Good when we already have a makefile or jam file. Bad when we have to create our owns, mostly by copy and paste existing.
All ctags and cscope related things have to know about list of a real project files. And we create such ones. This <project#get_list_of_files()> and many similar could be a good project api function to cooperate with an existing and the future plugins. Cooperation with an existing makefiles can help to find out the list of the real project files and the executable name. With plugin system inside the plugin there can be different project templates.

以上是我开始工作的一些原因。

Above are some reasons why I will start the job. I'd like to hear your one.

推荐答案


  • 调试器

  • 源代码导航工具(现在我正在使用 http://www.vim.org/scripts/ script.php?script_id = 1638 plugin and ctags)

  • 从ide中编译lib / project /一个源文件






  • /方法功能

  • 轻松访问c ++帮助

  • 轻松更改项目设置(Makefiles,jam等)

  • 为路径/变量/方法/参数快速自动完成

  • 新范围的智能标识(如果开发人员可以设置标识规则,这将是一件好事)

  • 通过代码繁殖标识突出显示不正确(标签为空格,;后面的空格,(或)附近的空格等)

  • convenstion

    • debugger
    • source code navigation tools (now I am using http://www.vim.org/scripts/script.php?script_id=1638 plugin and ctags)
    • compile lib/project/one source file from ide
    • navigation by files in project
    • work with source control system
    • easy acces to file changes history
    • rename file/variable/method functions
    • easy access to c++ help
    • easy change project settings (Makefiles, jam, etc)
    • fast autocomplette for paths/variables/methods/parameters
    • smart identation for new scopes (also it will be good thing if developer will have posibility to setup identation rules)
    • highlighting incorrect by code convenstion identation (tabs instead spaces, spaces after ";", spaces near "(" or ")", etc)
    • reformating selected block by convenstion
    • 这篇关于C ++ vim IDE。你需要的东西的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆