6.1.3 에디터 템플릿

에디터에서 예약어를 지원합니다.  
예를 들어 테이블을 검색하기 위해서는 select * from 테이블명을 입력해야 합니다. 
이것을 s* 를 입력하면 템플릿 코드가 자동으로 생성됩니다. 

 

순번예약어내용
1tbl

create table ${1:table} ( ${2:columns} );

2col

${1:name} ${2:type} ${3:default ''} ${4:not null}

3ncol

${1:name} varchar2(${2:size}) ${3:default ''} ${4:not null}

4dcol

${1:name} date ${3:default sysdate} ${4:not null}

5ind

create index ${3:$1_$2} on ${1:table}(${2:column});

6uind

create unique index ${1:name} on ${2:table}(${3:column});

7tblcom

comment on table ${1:table} is '${2:comment}';

8colcom

comment on column ${1:table}.${2:column} is '${3:comment}';

9addcol

alter table ${1:table} add (${2:column} ${3:type});

10seq

create sequence ${1:name} start with ${2:1} increment by ${3:1} minvalue ${4:1};

11s*

select * from ${1:table}

<span id="pageNum"/>