Skip to Content

コードエディタの言語対応

言語対応は、スニペットエディタがシンタックスハイライトと補完を選ぶ方法です。ファイル拡張子(例:.py → Python)またはスニペットの 実行環境(例:shell、python)によります。現行の一覧:

ドキュメント索引 · リファレンス


ファイル拡張子別

拡張子言語注記
.js、.jsxjavascriptJavaScript
.ts、.tsxtypescriptTypeScript
.pypythonPython
.sh、.bash、.zshshellShell
.jsonjsonJSON
.html、.htmhtmlHTML
.csscssCSS
.scss、.lessscss / lessSCSS / Less
.mdmarkdownMarkdown
.yaml、.ymlyamlYAML
.xmlxmlXML
.sqlsqlSQL
.go、.rs、.java、.kt、.swiftgo / rust / java / kotlin / swiftなど
.c、.h、.cpp、.hppc / cppC / C++
.php、.rb、.lua、.rphp / ruby / lua / rなど
.ps1、.psm1powershellPowerShell
.txtplaintextプレーンテキスト

実行環境別

環境言語注記
plainplaintextプレーンテキスト
richmarkdownMarkdown
shellshellShell
applescriptapplescriptAppleScript
jsjavascriptJavaScript
powershellpowershellPowerShell 実行。ハイライトは .ps1 を優先
pythonpythonPython

組み込みハイライト

スニペットのコードエディタは多くの言語をハイライトします。plaintext、javascript、typescript、json、html、css、scss、less、markdown、xml、yaml、sql、python、java、c、cpp、csharp、go、rust、php、ruby、swift、kotlin、lua、r、shell、powershell、assembly、objective-c、加えて clojure / dart / haskell / scala など(完全な一覧:設定 → エディタ言語)。カスタム言語は設定で登録できます。

詳細は現行アプリのバージョンに従います。

最終更新日