C++ vim IDE.你需要的东西

C++ vim IDE. Things you#39;d need from it(C++ vim IDE.你需要的东西)
本文介绍了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.

所以我的问题是,您需要 IDE 提供的最重要的东西是什么?请注意,这是 Vim,几乎所有,几乎,都是可能的.

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 重新创建项目"?
谢谢.

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 插件和 ctags)
  • 从 ide 编译 lib/project/一个源文件
  • 按项目中的文件导航
  • 使用源代码控制系统
  • 轻松访问文件更改历史记录
  • 重命名文件/变量/方法函数
  • 轻松访问 c++ 帮助
  • 轻松更改项目设置(Makefile、jam 等)
  • 路径/变量/方法/参数的快速自动补全
  • 新范围的智能识别(如果开发人员能够设置识别规则,这将是一件好事)
  • 通过代码约定标识突出显示不正确(制表符代替空格、;"后的空格、("或)"附近的空格等)
  • 通过约定重新格式化选定的块
    • 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.你需要的东西的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持编程学习网!

本站部分内容来源互联网,如果有图片或者内容侵犯您的权益请联系我们删除!

相关文档推荐

Rising edge interrupt triggering multiple times on STM32 Nucleo(在STM32 Nucleo上多次触发上升沿中断)
How to use va_list correctly in a sequence of wrapper functions calls?(如何在一系列包装函数调用中正确使用 va_list?)
OpenGL Perspective Projection Clipping Polygon with Vertex Outside Frustum = Wrong texture mapping?(OpenGL透视投影裁剪多边形,顶点在视锥外=错误的纹理映射?)
How does one properly deserialize a byte array back into an object in C++?(如何正确地将字节数组反序列化回 C++ 中的对象?)
What free tiniest flash file system could you advice for embedded system?(您可以为嵌入式系统推荐什么免费的最小闪存文件系统?)
Volatile member variables vs. volatile object?(易失性成员变量与易失性对象?)