Le FAQ dal sito www.quest.com

Tips&Tricks Ultraedit 11a - a cura di Sandro Di Remigio www.sandrodiremigio.com
Tips per Ultraedit 11a
1. Autocompletamento
Mentre scrive ti suggerisce la funzione:
EX:
2. Righelli verticali
Permette anche il blocco della colonna (tipo excel) mentre si scorre verso destra.
1
Tips&Tricks Ultraedit 11a - a cura di Sandro Di Remigio www.sandrodiremigio.com
3. Ordinamento e Eliminazione di righe duplicate
Si possono anche scegliere le colonne su cui basare il sort.
4. Inserimento verticale di una stringa presente nella clipboard
5. Eliminare tutti gli spazi superflui a destra
Selezionare tutto e poi
6. Inserimento di una serie di numeri
2
Tips&Tricks Ultraedit 11a - a cura di Sandro Di Remigio www.sandrodiremigio.com
7. Il segnalibro (utilissimo) - Bookmark
nella riga appare:
Premendo F2 si torna alla riga 114 da ovunque si sta…
Con più bookmark si cicla.
8. Commento ad un blocco di codice
Selezionare e tasto destro
3
Tips&Tricks Ultraedit 11a - a cura di Sandro Di Remigio www.sandrodiremigio.com
9. Rimuovere linee bianche
poi CTRL+R e inserire ^p$ - selected text - regular expressions – Replace all
10. Folding –Strutturazione Codice
La nuova versione per i liguaggi standard permette il raggruppamento di default.
Per PLSQL bisogna inserire nel file wordtext.txt
ad esempio:
/L13"PL/SQL for Oracle9i" Nocase Line Comment = -- Line Comment Alt = REM Block Comment On =
/* Block Comment Off = */ String Chars = ' File Extensions = SQL
/Delimiters = ~!%@^&*()-+=|\/{}[]:;"'<> ,
.?
/Function String = "%[A-Z _]*[~\s]+(*)"
/Function String 1 = "% ++^(^{FUNCTION^}^{PROCEDURE^} [A-Z _ 0-9 a-z]+*^)"
/Function String 2 = "% ++^(CURSOR [A-Z _ 0-9 a-z]+ ^)+IS"
/Indent Strings = "THEN" "LOOP" "ELSE" "BEGIN" "IS" "EXCEPTION" "ELSIF"
/Unindent Strings = "END IF;" "END LOOP;" "END;" "ELSE" "ELSIF"
/Open Fold Strings = "OPEN" "LOOP" "IF"
/Close Fold Strings = "CLOSE" "LOOP;" "IF;"
4
Tips&Tricks Ultraedit 11a - a cura di Sandro Di Remigio www.sandrodiremigio.com
11. Sostituzione o Ricerca a Multilinea
Ad esempio si vuole cercare il blocco:
Si fa COPIA >> CTRL + R >> si mette ^c su string oppure con la sola selezione ^s
12. Script esegui commando DOS
PREMENDO F10:
C:\oracle\ora81\bin\SQLPLUSW.EXE user/[email protected] @%f
Ti compila il file SQL aperto.
13. SHORT KEY MASSIMIZZA L’EFFICIENZA
Document Navigation Shortcuts
Ctrl+Up
Scroll up one line keeping cursor in view
Ctrl+Down
Scroll down one line keeping cursor in view
5
Tips&Tricks Ultraedit 11a - a cura di Sandro Di Remigio www.sandrodiremigio.com
F4
Toggle focus between active file and Tree View if shown
Alt+Right
Position cursor at first not space character of next paragraph
Alt+Left
Position cursor at first not space character of current paragraph (if positioned mid-paragraph) or previous
paragraph
Alt+Page Up
Position cursor beginning of first line in of the display
Alt+Page
Down
Position cursor beginning of last line in of the display
Alt+'-' *NM
Position line with cursor at top of window
Alt+'+' *NM
Position line with cursor at bottom of window
Alt+"*" *NM
Position line with cursor at center of window
Ctrl+'1' *NM
Position the cursor at the end of the previous word
Ctrl+'2' *NM
Position the cursor at the end of the next word
Ctrl+F6
Make the next document window active
Ctrl+Shift+F6
Make the previous document window active
*NM : Will Only work on the numeric keypad.
Select/Delete/Insert Shortcuts
Ctrl+Left+Shift (or Right) Selects the word preceding (or following) the cursor
Ctrl+Backspace
Delete the word preceding the cursor
Ctrl+Delete
Delete the word following the cursor
Ctrl+I
Insert a literal character at the cursor position
INS
Toggle between Insert and Overstrike mode
Hex Mode Shortcuts
Ctrl+H Toggle HEX editing mode
Ctrl+D Insert or delete characters in HEX editing mode
Bookmark Shortcut
Ctrl+F2 Toggle bookmark on and off
F2
Goto next bookmark
File Menu
Ctrl+N Create a new document file
Ctrl+O Open an existing document file
Ctrl+Q Open an existing document without showing File Open dialog
Ctrl+F4 Close an existing document file
Ctrl+S Save the active document
F12
Save the active document as a new file
Ctrl+P Print the active document
Edit Menu
Ctrl+X
Cut text from the document into the clipboard
Ctrl+C
Copy text from the document into the clipboard
Ctrl+V
Paste text from the clipboard into the active document
Ctrl+0-9 Select active clipboard
Ctrl+A
Select All text in the active document
Ctrl+Z
Undo the last action if possible
Ctrl+Y
Reverse the last Undo action if possible
Ctrl+J
Select the current word (same as double click)
Ctrl+E
Delete line the cursor is on
Ctrl+F11 Delete from the cursor to start of line
Ctrl+F12 Delete from the cursor to end of line
Ctrl+W
Toggle Word Wrap on/off
F7
Insert time/date at cursor
Search Menu
Alt+F3 or Ctrl+F Find a character string
Ctrl+F3
Repeat last find toward beginning of file
6
Tips&Tricks Ultraedit 11a - a cura di Sandro Di Remigio www.sandrodiremigio.com
F3
Repeat last find toward end of file
Ctrl+B
Find matching brace (,[,{ or },],)
Ctrl+R
Find and replace a character string with another
Ctrl+G
Goto the specified line (or HEX address)
View Menu
Ctrl+U Toggle File Tree View
Ctrl+F8 Toggle Tag List
Format Menu
Ctrl+T Reformat the current paragraph or selected text
Ctrl+F5 Convert selected text to lower case
ALT+F5 Convert selected text to Upper case
F5
Capitalize first character of each word in selected text
Shift+F5 Invert case of all characters in selected text
Ctrl+K
Invoke the spelling checker
ALT+C
Toggle column/block mode on and off
Macro Menu
Ctrl+M Replay a macro
Ctrl+L Replay a macro the specified number of times
DOS Menu
F9
Run DOS Window command
Ctrl+F9 Repeat last DOS Window command
F10
Execute Windows Program
Help Menu
Invoke the context help command and cursor
Shift+F1
7
Tips&Tricks Ultraedit 11a - a cura di Sandro Di Remigio www.sandrodiremigio.com
DA VERIFICARE l’utilità…??????
14. Integrazione con Visual Source Safe
14.1.
CHECKOUT
COMMAND LINE: SS.EXE checkout %n%e -GWR
WORKIN FOLDER: C:\Programmi\Microsoft Visual Studio\Common\VSS\win32
Menù Item: SourceSafe Checkout
Command Output: Raplace Existing
INSERT e OK
14.2.
CHECKIN
COMMAND LINE: SS.EXE checkin %n%e -GWR
WORKIN FOLDER: C:\Programmi\Microsoft Visual Studio\Common\VSS\win32
Menù Item: SourceSafe Checkin
Command Output: Raplace Existing
8
Tips&Tricks Ultraedit 11a - a cura di Sandro Di Remigio www.sandrodiremigio.com
INSERT e OK
ESECUZIONE COMPILAZIONE SQL:
F10 >> C:\oracle\ora81\bin\SQLPLUSW.EXE TEST6/[email protected] @%f
[ULTRAEDIT]
Come eliminare tutti i caratteri di un file di testo eccetto uno ad esemio il ";"
utile per verificare riga per riga il numero di uno stesso carattere...
ad esempio negli spool può capitare che un valore in un campo contenga già il ";" e quindi in fase di importazione
possono esserci dei problemi (se si usa il ";" come separatore):
CTRL+R (REPLACE) >> Nella casella cerca inserire:
[~;^p]
(il ^p è il simbolo di ritorno a capo; il tilde ~ è la negazione)
checcare "expression regular" >> Replace All
1) Trovare la differenza tra due file TXT in modo professionale e con UltraEdit:
Installare il programma UltraCompare Prof (in allegato) che si lega con ultraedit: FILE >> COMPARE FILES
1) Rimuovere righe con particolare stringa:
CTRL+R
Find What:
%*LA STRINGA*^p
Replace With: (nulla)
2) Esportare le configurazioni dell'ultraedit?
Copiare:
uedit32.ini
uedit32.kbd
e la seguente voce di registro:
HKEY_CURRENT_USER\Software\IDM Computer Solutions\
3) How do I keep lines from wrapping at 4096 bytes?
UltraEdit-32 does allow longer line lengths. Under the Advanced -> Configuration -> General in the Display section
you can change the value of "Maximum columns before line wraps" to 20,000.
This setting sets the maximum columns allowed within UltraEdit before it wraps the line (soft wrap). The default is
4096 columns but a maximum of 20,000 is allowed. Some video drivers have a problem when this is set too high.
TIP1
Ultima versione di Ultraedit: v.12.00a+1
L'ho installata, sembra non dare problemi.
CARATTERISTICHE:
http://www.ultraedit.com/index.php?name=Content&pa=showpage&pid=10
FAQ
http://www.ultraedit.com/index.php?name=FAQ&cat=23
FORUM
http://www.ultraedit.com/index.php?name=Forums
TIPS
http://www.ultraedit.com/index.php?name=Content&pa=showpage&pid=21
9
Tips&Tricks Ultraedit 11a - a cura di Sandro Di Remigio www.sandrodiremigio.com
Nuove caratteristiche: v12.00a+1
- Perl-compatible Regular Expressions / Real Unix-style regular expressions
- FTP/SFTP Enhancements
- FTP Accounts shown and accessible in File Tree VIEW
- FTP Settings may now be in user definable file
- Ability to link local folder and remote folder and upload/download files between remote server and local system
- Find / replace enhancements
- Much improved UNICODE support
- Dialogs have full UNICODE support
- Highlight all found occurrences of string
- Increased User and Project Tools to 25 each
- New Macro commands:
- *IfFTP to check if file is an FTP file
- *IfCharGt to check if character is greater than value
- *IfColNumGt to check if column number is greater than value
- New improved dialog for User and Project Tools
- Improved (Aspell) Spelling Support
- Code folding support for ignore strings and comment strings
- Enhanced support for UltraCompare Professional including 3-way compare
- Right-click compare from UltraEdit File Tree View
- All menus and toolbars switch together when changing user profiles
TIP2
Nella versione 12.10a di UltraEdit è finalmente stata aggiunta una modalità di apertura file simile a quella del Lister
(per chi non lo conoscesse, permette di fare ricerche in un file senza farti attendere una vita per aprirtelo).
In Impostazioni/Gestione File/Files Temporanei si può scegliere il tipo di apertura e la soglia oltre alla quale
utilizzare quella "veloce".
10