dut*_*utt 12 c# c++ linux windows visual-studio
我是一个长期的Visual Studio(从版本6到2008)用户,非常喜欢编辑器,尤其是调试器.现在我正在考虑给Linux一个机会,是否有一个具有类似或更好功能的IDE?
我也对GUI库,c ++或c#的建议感兴趣.
不,只是不!我正在做这个@工作,因为我必须和我尝试,netbeans,kdevelop,eclipse.与VS相比,它们是如此基本,特别是如果你习惯了更高级的功能,你会变得疯狂并渴望视觉工作室.
大约 9 年前,在使用 Visual Studio 度过了我最初的职业生涯后,我从 Windows 转向了 Linux。
这一举措相对容易,因为构建环境首先基于 Makefile。到目前为止,每次有更改时,我都会使用脚本为项目创建一个 Visual Studio 项目。
当时,我团队中的其他人都在使用 emacs。当你来自 VS 这样的东西时,学习曲线相当陡峭,但恕我直言,我在它上面投入的时间是非常值得的。
emacs 吸引我的是与 gdb 的集成。Emacs 有一个专门针对 gdb 的模式。一旦启动此模式,您就可以启用“gdb-many-windows”。这为您提供了与任何调试器环境非常相似的视图。另外,搬家后我做的第一件事就是设置 VS 快捷键。因此,即使过了这么长时间,我的 .emacs 文件中仍包含以下内容:
(global-set-key [f7] 'compile) ;; asks for a command to run eg: make
(global-set-key [f4] 'next-error) ;; show the next error
(global-set-key [S-f4] 'previous-error) ;; show the previous error
(global-set-key [f5] 'gdb) ;; start the debugger
(add-hook 'gud-mode-hook ;; allows changes to debugger mode
'(lambda ()
(define-key (current-local-map)
[f10]
'gud-next) ;; F10 does step over
(define-key (current-local-map)
[f11]
'gud-step) ;; F11 does step into
(define-key (current-local-map)
[\S-f11]
'gud-finish) ;; Shift+F11 finish function
(define-key (current-local-map)
[f5]
'gud-cont) ;; F5 does continue.
(gdb-many-windows t))) ;; Set's up a debugger type view
Run Code Online (Sandbox Code Playgroud)
如果您以前没有使用过 emacs,那么您需要知道的第一件事就是输入: Ctrl+X Ctrl+C 退出 emacs。
如果您决定尝试一下,请在加载后使用 Ctrl-H,然后使用“t”。这将启动 emacs 教程,它将为您提供基础知识。
当然,如果你遇到困难,那么只需回顾或提出一个带有emacs标记的问题即可。这已成为 emacs 使用的真正有用的信息来源。我是从这个问题才知道gdb-many-windows今年四月的!