|
| 1 | +<?xml version="1.0" encoding="UTF-8"?> |
| 2 | +<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> |
| 3 | +<plist version="1.0"> |
| 4 | +<dict> |
| 5 | + <key>beforeRunningCommand</key> |
| 6 | + <string>nop</string> |
| 7 | + <key>command</key> |
| 8 | + <string>. "$TM_SUPPORT_PATH/lib/webpreview.sh" |
| 9 | +html_header "Oracle PL/SQL Bundle Help" "Oracle" |
| 10 | +
|
| 11 | +Markdown.pl <<'EOF' |
| 12 | +# Help for the Oracle PL/SQL Bundle |
| 13 | +
|
| 14 | +## Search Oracle Docs for Selection or Word |
| 15 | +
|
| 16 | +The _Search Oracle Docs for Selection or Word_ command searches for the selected text or current word in the Oracle online documentation. |
| 17 | +
|
| 18 | +## Run Script |
| 19 | +
|
| 20 | +The _Run Script_ command takes the current file and runs it using SQL*Plus. |
| 21 | +
|
| 22 | +## Run Selection or Line |
| 23 | +
|
| 24 | +The _Run Selection or Line_ command takes the selected text or current line and submits it as a query using SQL*Plus. |
| 25 | +
|
| 26 | +## Describe Selection or Word |
| 27 | +
|
| 28 | +The _Describe Selection or Word_ command takes the selected text or current word and submits a describe command to SQL*Plus. |
| 29 | +
|
| 30 | +## Open SQL*Plus |
| 31 | +
|
| 32 | +The _Open SQL*Plus_ command opens up SQL*Plus in the project folder and logs in using the username, password and connectstring supplied as environment variables. Useful for running "interactive" SQL-scripts. |
| 33 | +
|
| 34 | +## Find Procedure |
| 35 | +
|
| 36 | +The _Find Procedure_ command will search for a procedure or function in a package body with the name of the current word. If it is found, the file containing it is shown and the cursor moves to the start of the procedure or function. |
| 37 | +
|
| 38 | +### Environment Variables |
| 39 | +
|
| 40 | +The commands assumes the following environment variables are properly set: |
| 41 | +
|
| 42 | +* `$ORA_USER` - schema/username e.g. SCOTT |
| 43 | +* `$ORA_PWD ` - password, e.g. TIGER |
| 44 | +* `$ORA_CONNECT` - connect string, e.g. localhost:1521/ORCL |
| 45 | +
|
| 46 | +These variables may be set in the parent shell of TextMate, global variables in TextMate preferences, or as project local variables. |
| 47 | +
|
| 48 | +The commands all assume UTF-8 formatted files. |
| 49 | +
|
| 50 | +## Extras |
| 51 | +
|
| 52 | +### Importing a File |
| 53 | +
|
| 54 | +You can import the contents of another file into the currently open file by dragging |
| 55 | +it into the window. The contents will appear at the place you release it. |
| 56 | +
|
| 57 | +### Tab Triggers |
| 58 | +
|
| 59 | +There are a number of "tab triggers" defined which will insert useful code snippets into the current file. Look at the Oracle menu to see what these are and how to activate them. |
| 60 | +
|
| 61 | +EOF |
| 62 | +
|
| 63 | +html_footer |
| 64 | +</string> |
| 65 | + <key>input</key> |
| 66 | + <string>none</string> |
| 67 | + <key>keyEquivalent</key> |
| 68 | + <string>^H</string> |
| 69 | + <key>name</key> |
| 70 | + <string>Help</string> |
| 71 | + <key>output</key> |
| 72 | + <string>showAsHTML</string> |
| 73 | + <key>scope</key> |
| 74 | + <string>source.plsql.oracle</string> |
| 75 | + <key>uuid</key> |
| 76 | + <string>69B47504-F6E5-44BB-A758-51DB35270B9C</string> |
| 77 | +</dict> |
| 78 | +</plist> |
0 commit comments