LoginSignup
2
1

More than 5 years have passed since last update.

Emacsのcsharp-modeの処理が遅くて困っている場合の対処法

Last updated at Posted at 2015-10-29

対処療法

以下を追加.

(setq csharp-want-imenu nil)

Emacsが固まる..

C#のソースコードが1500行を超えたあたりから

  • 急激にスクロールが遅くなる
  • 入力がすぐ反映されない

ようになってきた(常に遅いわけではない).

このままでは気持ちよくコードが書けないので困ったな..

既知の問題のようだ

csharp-modeのソースコードのコメントより.
https://github.com/josteink/csharp-mode/blob/master/csharp-mode.el#L113

意識して使ったことはないと思うが,imenuという機能に関する問題らしい.

csharp-want-imenunilにすることで無効化できると書かれている.
https://github.com/josteink/csharp-mode/blob/master/csharp-mode.el#L101

2
1
1

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
2
1