코드 편집기 언어 지원
언어 지원은 스니펫 편집기가 문법 강조와 완성을 고르는 방식입니다. 파일 확장자(예: .py → Python) 또는 스니펫 실행 환경(예: shell, python)을 봅니다. 현재 목록:
파일 확장자
| 확장자 | 언어 | 참고 |
|---|---|---|
.js, .jsx | javascript | JavaScript |
.ts, .tsx | typescript | TypeScript |
.py | python | Python |
.sh, .bash, .zsh | shell | Shell |
.json | json | JSON |
.html, .htm | html | HTML |
.css | css | CSS |
.scss, .less | scss / less | SCSS / Less |
.md | markdown | Markdown |
.yaml, .yml | yaml | YAML |
.xml | xml | XML |
.sql | sql | SQL |
.go, .rs, .java, .kt, .swift | go / rust / java / kotlin / swift | 등 |
.c, .h, .cpp, .hpp | c / cpp | C / C++ |
.php, .rb, .lua, .r | php / ruby / lua / r | 등 |
.ps1, .psm1 | powershell | PowerShell |
.txt | plaintext | 일반 텍스트 |
실행 환경
| 환경 | 언어 | 참고 |
|---|---|---|
plain | plaintext | 일반 텍스트 |
rich | markdown | Markdown |
shell | shell | Shell |
applescript | applescript | AppleScript |
js | javascript | JavaScript |
powershell | powershell | PowerShell 실행. 하이라이트는 .ps1을 우선 |
python | python | Python |
내장 하이라이트
스니펫 코드 편집기는 많은 언어를 강조합니다. 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 등 (전체 목록: 설정 → 편집기 언어). 사용자 정의 언어는 설정에서 등록할 수 있습니다.
세부 사항은 현재 앱 버전을 따릅니다.
마지막 업데이트