Site will be available soon. Thank you for your patience!
インデントで使う文字 インデントでは半角スペースまたはタブを使います。 ※全角スペースは使いません。 半角スペース2桁、または半角スペース4桁のルールでコーディングされていることが多いです。 インデントをする上での注意点 タブを使うと他のエディタで見た時に表示が崩れる場合がある タブは1回の入力でエディタにもよりますが、通常4桁分の半角スペース幅を表現できる便利な文字です。ただし、エディタの設定によっては幅が異なるので他の人が見た時に見た目が変わります。 特に半角スペースとタブが入り乱れているソースコードの場合は見た目が崩れてしまいます。 半角スペースでもタブでもどちらでも構いませんが、どちらかに揃えておくか、タブは半角スペース何個分か明確に決めておくとよいでしょう。 インデントは何桁でコーディングすればいいの? プログラミングは基本的に一人でやることは少ないです。 一人でやるならコー
この記事は Sublime Text Advent Calendar 2014 - Adventar の15日目の記事です。 11日目の id:mermaid1112 さんの記事を読んでいたら Sublime Text のプロジェクトについて困っていたので、その対処方法を書きます。 プロジェクトの作成方法 問題1:Sublime Text 3 では開いているプロジェクトを閉じることができない 問題2:Sublime Text 3 ではプロジェクトの一覧に作成したプロジェクトが表示されない Sublime Text のプロジェクトの構成 原因:sublime-workspace ファイルが作成されない 対処方法:sublime-workspace ファイルを作成する 対処方法1:Save Workspace as... で sublime-wokspace ファイルを作成する 対処方法2:S
sublime text3 emmet というキーワードで検索されている事が多いようなので、じっくり解説です。 画面はmacのものですが、windowsでも同じような操作でインストールできます。 SublimeTextは、パッケージで機能追加 SublimeTextは、2も3も、パッケージと呼ばれるプラグインで必要な機能を追加していくことができます。 Emmetもパッケージとして配布されています。 パッケージは、パッケージコントロールで。 パッケージコントロールを導入すると、パッケージのインストールが簡単です。 パッケージコントロールの導入方法は、 Sublime Text 3 に Package Control をInstallするのが簡単になったよ - フロントエンドとかPCとかスマホとか を参照してください。 Emmetのインストール Mac:[Sublime Text] - [Pr
前回に続き、今回は「Sublime Text」の実践的な設定方法について解説する。インストール直後の状態ではスパルタン過ぎる設定が、非プログラマーでなくても快適に利用できる設定となるはず。高機能でカスタマイズ性の高いテキストエディタを求める向きには、お勧めの内容だ。 フォントの設定 Sublime Textの設定は、メニューバーから[基本設定]→[Settings - User]を選択すると現れる、テキストベース(JSONフォーマット)のシンプルなものだ。GUIツールは提供されていないため、なにやら難解そうに見えてしまい使い手を選ぶ傾向はあるが、書式そのものは単純なため難易度は低い(各項目末尾の「,」を忘れやすいので注意)。 文字入力が面倒ならば、以下のリストをコピー&ペーストしたうえで改変して使えばいいだろう。筆者は等幅フォント(Tokyo-等幅)を利用しているが、もちろん「ヒラギノ角ゴ
Sublime Text はデフォルトで洗練されたデザインなのですが、自分好みのテーマに変更している人も多いかと思います。はたしてどんなテーマが人気なのか、インストール数を基にテーマをランキングしてみました。 Package Contol のサイトで「theme」をラベル検索して、検索結果に表示されたパッケージをランキングの対象としています。 theme - Labels - Package Control 第10位 Centurion(インストール数:14k) カラースキームは、パッケージに同梱されている Galea を使用しています。 Theme - Centurion - Packages - Package Control 第9位 Pseudo OSX(インストール数:16k) Pseudo OSX は Sublime Text 2 にのみ対応しています。Sublime Text
リリース、障害情報などのサービスのお知らせ
最新の人気エントリーの配信
処理を実行中です
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く