10
9

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

Atomで全角スペースを目立たせる方法

Last updated at Posted at 2016-05-26

UbuntuにAtomいれてMozcつかっていろいろ書くわけですが、全角スペースがコード部分に混入すると、どうでもいいエラーがばんばん出て面倒なわけです。

で、全角スペースを目立たせると生産性が少し上がったりします。

Atomに"Show Ideographic Space Package"をいれて、スタイルシートに以下追加します。contentはなんでもいいけれど、私はよそでは滅多に使われない合同マークを使ってます。

atom-text-editor, atom-text-editor::shadow {
  .highlight.ideographic-space {
    .region:after {
      color: #800000;
      content: '≡';
      background-color: #CCCCCC;
    }
  }
}

これで少しどうでもいいバグが減りました。

10
9
0

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
10
9

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?