配置UltraEdit為Oracle PL/SQL程式碼編輯器
配置UltraEdit為Oracle PL/SQL程式碼編輯器[@more@]
將下文複製到UltraEdit的wordfile.txt的最後,就能實現UltraEdit中對PL/SQL檔案語法突出顯示的支援。
具體步驟
1 開啟選單Advanced→Configration...,系統彈出一個視窗,
2 單擊Syntax Highlighting標籤,其中Full Path Name For下面的檔案即為語法突出顯示配置檔案,
3 單擊Open,即可在UltraEdit中開啟該檔案(wordfile.txt),將上文列出的PL/SQL語法配置指令碼複製到該檔案的最後面,
4 同時修改語法配置指令碼檔案的第一行,如果當前系統語法突出顯示配置檔案的最後一個為/L9,則將目前加入的PL/SQL修改為/L10,儲存該檔案。
至此,UltraEdit已經被配置成為Oracle PL/SQL程式碼編輯器。以後使用者開啟的所有以.sql為副檔名的檔案,UltraEdit系統均認為是Oracle PL/SQL指令碼,利用上面配置來突出顯示其中的語法,程式看起來一目瞭然。
===========================================
/L8"PL/SQL" Nocase Line Comment = -- Block Comment On = /* Block Comment Off = */ File Extensions = SQL
/Delimiters = ~!%@^&*()-+=|/{}[]:;"'<> , .?
/Function String = "%[A-Z _]*[~s]+(*)"
/C1 "Keywords"
ABORT ACCEPT ACCESS ADD ALL ALTER AND ANY ARRAY ARRAYLEN AS ASC ASSERT ASSIGN AT AUDIT AUTHORIZATION AVG
BASE_TABLE BEGIN BETWEEN BINARY_INTEGER BODY BOOLEAN BY
CASE CHAR CHAR_BASE CHECK CLOSE CLUSTER CLUSTERS COLAUTH COLUMN COMMENT COMMIT COMPRESS CONNECT CONSTANT CRASH CREATE CURRENT CURRVAL CURSOR
DATABASE DATA_BASE DATE DBA DEBUGOFF DEBUGON DECLARE DECIMAL DEFAULT DEFINITION DELAY DELETE DESC DIGITS DISPOSE DISTINCT DO DROP
ELSE ELSIF END ENTRY EXCEPTION EXCEPTION_INIT EXCLUSIVE EXISTS EXIT
FALSE FETCH FILE FLOAT FOR FORM FROM FUNCTION
GENERIC GOTO GRANT GROUP
HAVING
IDENTIFIED IF IMMEDIATE IN INCREMENT INDEX INDEXES INDICATOR INITIAL INSERT INTEGER INTERFACE INTERSECT INTO IS
LEVEL LIKE LIMITED LOCK LONG LOOP
MAX MAXEXTENTS MIN MINEXTENTS MINUS MISLABEL MOD MODE
NATURAL NATURALN NEW NEXTVAL NOAUDIT NOCOMPRESS NOLOGGING NOT NOWAIT NULL NUMBER NUMBER_BASE
OF OFFLINE ON ONLINE OPEN OPTION OR ORDER OTHERS OUT
PACKAGE PARTITION PCTFREE PCTUSED PLS_INTEGER POSITIVE POSITIVEN PRAGMA PRIOR PRIVATE PRIVILEGES PROCEDURE PUBLIC
RAISE RANGE RAW REAL RECORD REF RELEASE REMR RENAME RESOURCE RETURN REVERSE REVOKE ROLLBACK ROW ROWID ROWLABEL ROWNUM ROWS ROWTYPE RUN
SAVEPOINT SCHEMA SELECT SEPARATE SESSION SET SHARE SMALLINT SPACE SQL SQLCODE SQLERRM START STATEMENT STDDEV SUBTYPE SUCCESSFUL SUM SYNONYM SYSDATE
TABAUTH TABLE TABLES TASK TERMINATE THEN TO TRIGGER TRUE TYPE
UID UNION UNIQUE UPDATE USE USER
VALIDATE VALUES VARCHAR VARCHAR2 VARIANCE VIEW VIEWS
WHEN WHENEVER WHERE WHILE WITH WORK WRITE
XOR
/C2 "Packages"
DBMS_OUTPUT
DBMS_JOB
DBMS_SQL
/C3 "Package Methods"
BIND_VARIABLE BIND_VARIABLE_CHAR BIND_VARIABLE_RAW BIND_VARIABLE_ROWID BROKEN
CHANGE CLOSE_CURSOR COLUMN_VALUE COLUMN_VALUE_CHAR COLUMN_VALUE_RAW COLUMN_VALUE_ROWID
DEFINE_COLUMN DEFINE_COLUMN_CHAR DEFINE_COLUMN_RAW DEFINE_COLUMN_ROWID DISABLE
ENABLE EXECUTE EXECUTE_AND_FETCH
FETCH_ROWS
GET_LINE GET_LINES
INTERVAL IS_OPEN
LAST_ERROR_POSITION LAST_ROW_COUNT LAST_ROW_ID LAST_SQL_FUNCTION_CODE
NEW_LINE NEXT_DATE
PARSE PUT PUT_LINE
REMOVE
SUBMIT
WHAT
/C4 "SQL*Plus Commands"
EXECUTE
GRANT
REPLACE
RUN
START
/C5 "SQL*Plus Functions"
ABS ADD_MONTHS ASCII
CEIL CHR CONCAT CONVERT COS COSH
DECODE
EXP
FLOOR
GREATEST
HEXTORAW
INITCAP INSTR
LAST_DAY LENGTH LN LOG LOWER LPAD LTRIM
MOD MONTHS_BETWEEN
NEXT_DAY NEW_TIME NLS_INITCAP NLS_LOWER NLS_UPPER NVL
POWER
RAWTOHEX REPLACE ROUND ROWIDTOCHAR RPAD RTRIM
SIGN SIN SINH SOUNDEX SQRT SUBSTR SUBSTRB
TAN TANH TO_CHAR TO_DATE TO_LABEL TO_MULTI_BYTE TO_NUMBER TO_SINGLE_TYPE TRANSLATE TRUNC
UPPER USERENV
VSIZE
/C6 "Should Be Reserved"
BEFORE
EACH
FOR
KEY
PRIMARY
WHEN WHERE WHILE
具體步驟
1 開啟選單Advanced→Configration...,系統彈出一個視窗,
2 單擊Syntax Highlighting標籤,其中Full Path Name For下面的檔案即為語法突出顯示配置檔案,
3 單擊Open,即可在UltraEdit中開啟該檔案(wordfile.txt),將上文列出的PL/SQL語法配置指令碼複製到該檔案的最後面,
4 同時修改語法配置指令碼檔案的第一行,如果當前系統語法突出顯示配置檔案的最後一個為/L9,則將目前加入的PL/SQL修改為/L10,儲存該檔案。
至此,UltraEdit已經被配置成為Oracle PL/SQL程式碼編輯器。以後使用者開啟的所有以.sql為副檔名的檔案,UltraEdit系統均認為是Oracle PL/SQL指令碼,利用上面配置來突出顯示其中的語法,程式看起來一目瞭然。
===========================================
/L8"PL/SQL" Nocase Line Comment = -- Block Comment On = /* Block Comment Off = */ File Extensions = SQL
/Delimiters = ~!%@^&*()-+=|/{}[]:;"'<> , .?
/Function String = "%[A-Z _]*[~s]+(*)"
/C1 "Keywords"
ABORT ACCEPT ACCESS ADD ALL ALTER AND ANY ARRAY ARRAYLEN AS ASC ASSERT ASSIGN AT AUDIT AUTHORIZATION AVG
BASE_TABLE BEGIN BETWEEN BINARY_INTEGER BODY BOOLEAN BY
CASE CHAR CHAR_BASE CHECK CLOSE CLUSTER CLUSTERS COLAUTH COLUMN COMMENT COMMIT COMPRESS CONNECT CONSTANT CRASH CREATE CURRENT CURRVAL CURSOR
DATABASE DATA_BASE DATE DBA DEBUGOFF DEBUGON DECLARE DECIMAL DEFAULT DEFINITION DELAY DELETE DESC DIGITS DISPOSE DISTINCT DO DROP
ELSE ELSIF END ENTRY EXCEPTION EXCEPTION_INIT EXCLUSIVE EXISTS EXIT
FALSE FETCH FILE FLOAT FOR FORM FROM FUNCTION
GENERIC GOTO GRANT GROUP
HAVING
IDENTIFIED IF IMMEDIATE IN INCREMENT INDEX INDEXES INDICATOR INITIAL INSERT INTEGER INTERFACE INTERSECT INTO IS
LEVEL LIKE LIMITED LOCK LONG LOOP
MAX MAXEXTENTS MIN MINEXTENTS MINUS MISLABEL MOD MODE
NATURAL NATURALN NEW NEXTVAL NOAUDIT NOCOMPRESS NOLOGGING NOT NOWAIT NULL NUMBER NUMBER_BASE
OF OFFLINE ON ONLINE OPEN OPTION OR ORDER OTHERS OUT
PACKAGE PARTITION PCTFREE PCTUSED PLS_INTEGER POSITIVE POSITIVEN PRAGMA PRIOR PRIVATE PRIVILEGES PROCEDURE PUBLIC
RAISE RANGE RAW REAL RECORD REF RELEASE REMR RENAME RESOURCE RETURN REVERSE REVOKE ROLLBACK ROW ROWID ROWLABEL ROWNUM ROWS ROWTYPE RUN
SAVEPOINT SCHEMA SELECT SEPARATE SESSION SET SHARE SMALLINT SPACE SQL SQLCODE SQLERRM START STATEMENT STDDEV SUBTYPE SUCCESSFUL SUM SYNONYM SYSDATE
TABAUTH TABLE TABLES TASK TERMINATE THEN TO TRIGGER TRUE TYPE
UID UNION UNIQUE UPDATE USE USER
VALIDATE VALUES VARCHAR VARCHAR2 VARIANCE VIEW VIEWS
WHEN WHENEVER WHERE WHILE WITH WORK WRITE
XOR
/C2 "Packages"
DBMS_OUTPUT
DBMS_JOB
DBMS_SQL
/C3 "Package Methods"
BIND_VARIABLE BIND_VARIABLE_CHAR BIND_VARIABLE_RAW BIND_VARIABLE_ROWID BROKEN
CHANGE CLOSE_CURSOR COLUMN_VALUE COLUMN_VALUE_CHAR COLUMN_VALUE_RAW COLUMN_VALUE_ROWID
DEFINE_COLUMN DEFINE_COLUMN_CHAR DEFINE_COLUMN_RAW DEFINE_COLUMN_ROWID DISABLE
ENABLE EXECUTE EXECUTE_AND_FETCH
FETCH_ROWS
GET_LINE GET_LINES
INTERVAL IS_OPEN
LAST_ERROR_POSITION LAST_ROW_COUNT LAST_ROW_ID LAST_SQL_FUNCTION_CODE
NEW_LINE NEXT_DATE
PARSE PUT PUT_LINE
REMOVE
SUBMIT
WHAT
/C4 "SQL*Plus Commands"
EXECUTE
GRANT
REPLACE
RUN
START
/C5 "SQL*Plus Functions"
ABS ADD_MONTHS ASCII
CEIL CHR CONCAT CONVERT COS COSH
DECODE
EXP
FLOOR
GREATEST
HEXTORAW
INITCAP INSTR
LAST_DAY LENGTH LN LOG LOWER LPAD LTRIM
MOD MONTHS_BETWEEN
NEXT_DAY NEW_TIME NLS_INITCAP NLS_LOWER NLS_UPPER NVL
POWER
RAWTOHEX REPLACE ROUND ROWIDTOCHAR RPAD RTRIM
SIGN SIN SINH SOUNDEX SQRT SUBSTR SUBSTRB
TAN TANH TO_CHAR TO_DATE TO_LABEL TO_MULTI_BYTE TO_NUMBER TO_SINGLE_TYPE TRANSLATE TRUNC
UPPER USERENV
VSIZE
/C6 "Should Be Reserved"
BEFORE
EACH
FOR
KEY
PRIMARY
WHEN WHERE WHILE
來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/64429/viewspace-898873/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- ultraedit高亮顯示pl/sqlSQL
- Oracle PL/SQL程式碼中的註釋OracleSQL
- UltraEdit 文字程式碼程式編輯器免費版下載安裝教程
- Oracle PL/SQLOracleSQL
- UltraEdit文字編輯器編寫強大的宏教程
- 【TUNE_ORACLE】列出LOOP套LOOP的PL/SQL程式碼SQL參考OracleOOPSQL
- UltraEdit for Mac 超好用的高階文字編輯器Mac
- UltraEdit for Mac(文字編輯器)v22.0.0.19啟用版Mac
- Oracle PL/SQL塊簡介OracleSQL
- 文字編輯器UltraEdit V28.10最新版釋出
- 原創:oracle PL/SQL程式設計基礎 上OracleSQL程式設計
- 原創:oracle PL/SQL程式設計基礎 下OracleSQL程式設計
- 實時程式碼編輯器
- Oracle 的PL/SQL語言使用OracleSQL
- UltraEdit for Mac(文字編輯器) v22.0.0.19中文版Mac
- UltraEdit for Mac(超好用的高階文字編輯器) v21.00.0.12Mac
- 程式碼編輯器:sublime text for MacMac
- 為什麼VSCode是程式碼編輯器而不是IDE?VSCodeIDE
- 使用profiler測試Oracle PL/SQL效能OracleSQL
- PL/Plus本地連線oracle配置Oracle
- UltraEdit for Mac(文字編輯器) v21.00.0.12中文啟用版Mac
- PyCharm CE for Mac(IDE程式碼編輯器)PyCharmMacIDE
- CodeRunner for Mac(多功能程式碼編輯器)Mac
- RubyMine 2022 for Mac(Ruby程式碼編輯器)Mac
- Sublime Text 4 for Mac(程式碼編輯器)Mac
- Sublime Text程式碼編輯器Mac/WindowsMacWindows
- 線上程式碼編輯器選型
- 程式碼線上編譯器(上)- 編輯及編譯編譯
- 文字編輯器啟用系列(二):UltraEdit安裝、啟用、漢化教程
- 在 Linux 上把 Vim 配置為預設編輯器Linux
- Ubuntu 配置預設編輯器Ubuntu
- 怎麼配置pycharm編輯器PyCharm
- 10個線上HTML程式碼編輯器HTML
- 五款頂級Python程式碼編輯器!Python
- 前端程式碼線上編輯器:codepen、codesandbox前端
- React專案接入程式碼編輯器aceEditorReact
- RubyMine 2022for Mac(Ruby程式碼編輯器)Mac
- PL/SQL程式設計急速上手SQL程式設計
- 基於GPT3的程式碼編輯器Cursor試用-你的智慧程式碼編輯助手GPT