sublime text :: Project

Published by onesixx on

http://www.sublimetext.com/docs/3/projects.html

Overview

Projects 는 2개의 파일로 되어 있다.
일반적으로 버전관리는 (sublime-workspace 파일이 아니라) sublime-project 확인한다.

  • sublime-project 파일: 프로젝트 정의를 담고 있는 파일
  • sublime-workspace 파일:  사용자의 세부적인 데이터를 가지고 있는 파일 (ex 열어놓은 파일, 수정한정보 ).

Project Format

JS
default (플젝명.sublime-project)

sublime-project 파일의 형식은 JSON이고, 3가지 최상위 레벨을 가지고 있다.

1. folders, for the included folders
2. settings, for file-setting overrides
3. build_systems, for project specific build systems.

JS
JSON형식 EX1
JS
JSON형식

1) Folders

각 폴더는 Path는 필수로 입력되어야하고  (path 는 상대경로 절대경로 모두가능)

옵션
– file_exclude_patterns, file_include_patterns
– folder_exclude_patterns, folder_include_patterns
– follow_symlinks. (심볼릭 링크를 가능하게 한다)

Folders 는 Sidebar에  표시될 Name이 주어질수 있다.

2) Settings

Settings 은 user setting에 우선순위가 높다.
(몇몇의 syntax관련 세팅은 override되지 않을 수 있다. )

3) Build Systems

Build Systems 을 정의한다.
이것은 Tools> Build System 아래 메뉴에서 사용할수 있다.

example>

JS
JSON형식
Categories: Tool-SW

onesixx

Blog Owner

Subscribe
Notify of
guest

0 Comments
Inline Feedbacks
View all comments
0
Would love your thoughts, please comment.x
()
x