Emacs mit C++-Modus und EinrückungC++

Programme in C++. Entwicklerforum
Anonymous
 Emacs mit C++-Modus und Einrückung

Post by Anonymous »

Ich habe Probleme mit der Einrückung, wenn ich Schlüsselwörter wie export in Kombination mit namespace verwende.

Code: Select all

export namespace foo::bar {
// indentation is wrong
}
Wenn das Schlüsselwort export eine Zeile darüber steht, funktioniert alles einwandfrei.

Code: Select all

export
namespace foo::bar {
// indentation as expected
}
Mein Emacs ist in Version 29.3 und verwendet den C++-Modus als Hauptmodus. Irgendeine Idee, wie man das Problem beheben kann?

Quick Reply

Change Text Case: 
   
  • Similar Topics
    Replies
    Views
    Last post