开发者

C++ class and emacs editor

开发者 https://www.devze.com 2023-01-31 12:59 出处:网络
Emacs in C++ mode formats the code like this, how to make that put also a tab after public. namespace Z

Emacs in C++ mode formats the code like this, how to make that put also a tab after public.

namespace Z
{
  class Z
  {
    开发者_Python百科public:
    Z();


some quick searching leads me to think this won't be too easy.

you could try the workaround described here


Don't understand it.

But here is a page on cofiguring indentation for C/C++ like languages on EMACS
http://www.emacswiki.org/emacs/IndentingC

0

精彩评论

暂无评论...
验证码 换一张
取 消