Difference between revisions of "User Tools"

From EditPlus Wiki
Jump to: navigation, search
(Version Control)
Line 255: Line 255:
 
Argument: add "$(FileName)" -c- -k<br>
 
Argument: add "$(FileName)" -c- -k<br>
 
Initial directory: $(FileDir)<br>
 
Initial directory: $(FileDir)<br>
 +
Check: Capture output, Save open files<br>
 +
<br>
 +
Posted By: Michael Jones<br>
 +
 +
===CS-RCS===
 +
EditPlus user tool commands to interface with CS-RCS<br>
 +
<br>
 +
Description: Create current EditPlus file in CS-RCS<br>
 +
Text=Create<br>
 +
Command=D:\Program Files\ComponentSoftware\CS-RCS\System\csrcs.exe<br>
 +
Argument=Create $(FilePath)<br>
 +
Check: Capture output, Save open files<br>
 +
<br>
 +
Description: Display status of current EditPlus file in CS-RCS<br>
 +
Text=Status<br>
 +
Command=D:\Program Files\ComponentSoftware\CS-RCS\System\csrcs.exe<br>
 +
Argument=Status $(FilePath)<br>
 +
Check: Capture output<br>
 +
<br>
 +
Description: Display status of current EditPlus file in CS-RCS<br>
 +
Text=History<br>
 +
Command=D:\Program Files\ComponentSoftware\CS-RCS\System\csrcs.exe<br>
 +
Argument=History $(FilePath)<br>
 +
Check: Capture output<br>
 +
<br>
 +
Description: Check out current EditPlus file from CS-RCS, overwriting existing file on disk<br>
 +
Text=Check Out<br>
 +
Command=D:\Program Files\ComponentSoftware\CS-RCS\System\csrcs.exe<br>
 +
Argument=CheckOut $(FilePath)<br>
 +
Check: Capture output, Save open files<br>
 +
<br>
 +
Description: Check current EditPlus file into CS-RCS<br>
 +
Text=Check In<br>
 +
Command=D:\Program Files\ComponentSoftware\CS-RCS\System\csrcs.exe<br>
 +
Argument=CheckIn $(FilePath)<br>
 
Check: Capture output, Save open files<br>
 
Check: Capture output, Save open files<br>
 
<br>
 
<br>

Revision as of 01:35, 12 December 2004

HTML

===Color Cop=== http://www.datastic.com/tools/colorcop/ Description: This is the best tool for determining what color is being used via a color picker. I use this all the time!
Posted By: Dean Householder

===FontLister=== http://www.theill.com/fl/ Description: Compares all the fonts on my system visually on the screen. (More useful for working with graphics than coding) I'm using version 2.0 which is freeware and does what I want.
Posted By: Dean Householder

Google Search (selection)

Description: Search's Google for the current selection.
Command: Maxthon.exe (Maxthon is found at http://www.maxthon.com/) Similar command can be used for other browsers.
Arguments: http://www.google.com/search?q=$(CurSel)
Posted By: Brett Batie
Additional Info: If this fails to work for you, try putting $(CurSel) in quotes, like this "$(CurSel)"

===HTML Tidy=== http://tidy.sourceforge.net/ Description: This will automatically clean up your HTML code to whatever standards you designate in the tidyconfig.txt file.
Command: tidy.exe -config tidyconfig.txt
Argument: "$(FilePath)"
Run as Text Filter: Checked
Posted By: Dean Householder

Java

===Java: to HTML converter (current file)=== http://www.java2html.de/ Description: Converts the source code of the current java file to html.
Command: java -jar c:\path\to\java2html.jar -srcfile
Argument: $(FileName) -converter HTML -tabs 2 -style KAWA
Initial Directory: $(FileDir)
Check: "Close window on exit", "Save open files"
Posted By: Brett Batie

===Java: to HTML converter (run program)=== http://www.java2html.de/ Description: Runs the Java to HTML program.
Command: java -jar c:\path\to\java2html.jar
Posted By: Brett Batie

===Java: to HTML converter (all source in directory)=== http://www.java2html.de/ Description: converts all the source files in the files current directory to html.
Command: java -jar c:\programming\java2html\java2html.jar
Arguments: -srcdir "$(FileDir)" -converter HTML -tabs 2 -style KAWA
Check: "Close window on exit", "Save open files"
Posted By: Brett Batie

===Java: Compiler=== http://java.sun.com/ Description: Compiles Java source code.
Command: c:\path\to\javac.exe
Arguments: $(FileName)
Check: "Capture Output", "Save Open Files"
Posted By: Brett Batie

===Java: JVM Runtime=== http://java.sun.com/ Description: Java Virtual Machine runtime that lets you execute your Java class files.
Command: c:\path\to\java.exe
Arguments: $(FileNameNoExt)
Check: "Capture Output"
Posted By: Brett Batie

===Java: JavaDoc=== http://java.sun.com/ Description: Generates HTML documentation on classes by extracting comments from the Java source code files.
Command: c:\path\to\javadoc.exe
Arguments: -d "$(FileDir)\documentation" -quiet -public -version -author -linksource -link http://java.sun.com/j2se/1.4.2/docs/api/ $(FileName)
Initial Directory: $(FileDir)
Check: "Capture Output"
Posted By: Brett Batie

===Java: Applet Viewer=== http://java.sun.com/ Description: Runs the applet viewer on the current file.
Command: c:\path\to\appletviewer.exe
Arguments: $(FileName)
Check: "Capture Output"
Initial Directory: $(FileDir)
Posted By: Brett Batie

===Java: API via CHM=== http://java.sun.com/docs/windows_format.html Description: Looks up the current word in this java api help file. Make sure when adding this you click "Add Tool"/"HTML help file (*.chm)"
Command: c:\path\to\jdk142.chm
Posted By: Brett Batie

===Java: API Online=== http://java.sun.com/j2se/1.4.2/download.html#docs Description: Opens the java API web page. You can also download the API so you can view it without an internet connection.
Command: c:\path\to\Maxthon.exe (Maxthon is found at http://www.maxthon.com/) Similar command can be used for other browsers.
Arguments: file:///C:/java_api_1.4.2/api/index.html
Posted By: Brett Batie

===Java: Source Format (Current File)=== http://jalopy.sourceforge.net/ Description: Formats java source code.
Command: cmd.exe /c type
Arguments: $(FileName) | java -jar c:\path\to\jalopy-console-1.0.4.jar 2>nul
Check: "Run as text filter"
Posted By: Brett Batie

===Java: Source Format (All Directories)=== http://jalopy.sourceforge.net/ Formats java source code.
java.exe -jar c:\programming\jalopy\lib\jalopy-console-1.0.4.jar -r
Arguments: "$(FileDir)"
Check: "Capture Output"
Posted By: Brett Batie

PHP

PHP: syntax checker

Description: Checks php syntax.
Command: c:\path\to\php.exe -l
Argument: $(FileName)
Check: "Capture Output", "Save open files"
Posted By: Brett Batie

===PHP: The Extended CHM Manual=== http://www.php.net/docs-echm.php Add Tool->HTML help file (*.chm)->Point to php_manual_en.chm
Description: This is great because I can put my cursor over a word and press CTRL+1 to open then offline manual right to that specific command. This version is greatly updated from the .hlp version. Be sure to run php_manual_prefs.exe to set the configuration how you like it. I recommend selecting the phpZ skin. It gives a lot of extra options such as a breadcrumb for easy navigation, "Navigate to this page online", seperated user comments from help example, etc.
Posted By: Dean Householder

Scripting

VBScript

Description: Executes your VBScript script
Command: cscript.exe //nologo
Argument: "$(FilePath)"
Initial directory: $(FileDir)
Posted by: John Röthlisberger

File Management

DOS (Current Location)

Description: Opens DOS in the directory of the currently open file.
Command: cmd.exe
Initial Directory: $(FileDir)
Posted By: Brett Batie

===ExamDIFF=== http://www.prestosoft.com/ps.asp?page=edp_examdiff (freeware version) Description: This compares the differences between two versions of a file. Answers the question: These look the same but which lines are different?
Posted By: Dean Householder

Explorer (Current Location)

Description: Opens windows explorer in the location of the current open file. Works great for programs like Tortoise SVN.
Command: %systemroot%\explorer.exe /e,/root,\local disk,
Arguments: $(FileDir)
Posted By: Brett Batie

===WinMerge: Compare two open files=== http://winmerge.org/ Description: Shows the difference between two open files.
Command: C:\Programming\WinMerge\WinMergeU.exe
Arguments: $(WindowList)
Posted By: Brett Batie

Version Control

Microsoft Visual SourceSafe

EditPlus user tool commands to interface with command-line version of Microsoft Visual SourceSafe

Description: Display name of current VSS project
Menu text: Current Project
Command: C:\Program Files\Microsoft Visual Studio\Common\VSS\win32\SS.EXE
Argument: project
Initial directory: $(FileDir)
Check: Capture output

Description: Set current VSS project
Menu text: Set Project
Command: C:\Program Files\Microsoft Visual Studio\Common\VSS\win32\SS.EXE
Argument: cp
Initial directory: $(FileDir)
Check: Capture output, Prompt for arguments

Description: Create a new VSS project and set as current
Menu text: Create / Set Project
Command: C:\Program Files\Microsoft Visual Studio\Common\VSS\win32\SS.EXE
Argument: create -c- -s
Initial directory: $(FileDir)
Check: Capture output, Prompt for arguments

Description: Set VSS project working folder
Menu text: Set Working Folder
Command: C:\Program Files\Microsoft Visual Studio\Common\VSS\win32\SS.EXE
Argument: workfold "$(FileDir)"
Initial directory: $(FileDir)
Check: Capture output

Description: List files in VSS project
Menu text: Directory
Command: C:\Program Files\Microsoft Visual Studio\Common\VSS\win32\SS.EXE
Argument: dir -c
Initial directory: $(FileDir)
Check: Capture output

Description: Display status of current file in VSS
Menu text: Status
Command: C:\Program Files\Microsoft Visual Studio\Common\VSS\win32\SS.EXE
Argument: status "$(FileName)"
Initial directory: $(FileDir)
Check: Capture output

Description: Get a file from VSS to working folder
Menu text: Get File
Command: C:\Program Files\Microsoft Visual Studio\Common\VSS\win32\SS.EXE
Argument: get
Initial directory: $(FileDir)
Check: Capture output, Prompt for arguments

Description: Get latest version of current EditPlus file from VSS, overwriting existing file on disk
Menu text: Get Latest Version
Command: C:\Program Files\Microsoft Visual Studio\Common\VSS\win32\SS.EXE
Argument: get "$(FileName)"
Initial directory: $(FileDir)
Check: Capture output, Save open files

Description: Check out current EditPlus file from VSS, overwriting existing file on disk
Menu text: Check Out
Command: C:\Program Files\Microsoft Visual Studio\Common\VSS\win32\SS.EXE
Argument: checkout "$(FileName)" -c-
Initial directory: $(FileDir)
Check: Capture output, Save open files

Description: Display differences between current EditPlus file and version in VSS
Menu text: Difference
Command: C:\Program Files\Microsoft Visual Studio\Common\VSS\win32\SS.EXE
Argument: diff "$(FileName)" -ds
Initial directory: $(FileDir)
Check: Capture output, Save open files

Description: Undo checkout of current EditPlus file from VSS
Menu text: Undo Checkout
Command: C:\Program Files\Microsoft Visual Studio\Common\VSS\win32\SS.EXE
Argument: undocheckout "$(FileName)" -p
Initial directory: $(FileDir)
Check: Capture output, Save open files

Description: Check current EditPlus file into VSS
Menu text: Check In
Command: C:\Program Files\Microsoft Visual Studio\Common\VSS\win32\SS.EXE
Argument: checkin "$(FileName)" -c- -p
Initial directory: $(FileDir)
Check: Capture output, Save open files

Description: Check current EditPlus file into VSS but keep checked out
Menu text: Check In / Keep Checked Out
Command: C:\Program Files\Microsoft Visual Studio\Common\VSS\win32\SS.EXE
Argument: checkin "$(FileName)" -c- -k -p
Initial directory: $(FileDir)
Check: Capture output, Save open files

Description: Add current EditPlus file into VSS
Menu text: Add File
Command: C:\Program Files\Microsoft Visual Studio\Common\VSS\win32\SS.EXE
Argument: add "$(FileName)" -c-
Initial directory: $(FileDir)
Check: Capture output, Save open files

Description: Add current EditPlus file into VSS and check out
Menu text: Add File / Check Out
Command: C:\Program Files\Microsoft Visual Studio\Common\VSS\win32\SS.EXE
Argument: add "$(FileName)" -c- -k
Initial directory: $(FileDir)
Check: Capture output, Save open files

Posted By: Michael Jones

CS-RCS

EditPlus user tool commands to interface with CS-RCS

Description: Create current EditPlus file in CS-RCS
Text=Create
Command=D:\Program Files\ComponentSoftware\CS-RCS\System\csrcs.exe
Argument=Create $(FilePath)
Check: Capture output, Save open files

Description: Display status of current EditPlus file in CS-RCS
Text=Status
Command=D:\Program Files\ComponentSoftware\CS-RCS\System\csrcs.exe
Argument=Status $(FilePath)
Check: Capture output

Description: Display status of current EditPlus file in CS-RCS
Text=History
Command=D:\Program Files\ComponentSoftware\CS-RCS\System\csrcs.exe
Argument=History $(FilePath)
Check: Capture output

Description: Check out current EditPlus file from CS-RCS, overwriting existing file on disk
Text=Check Out
Command=D:\Program Files\ComponentSoftware\CS-RCS\System\csrcs.exe
Argument=CheckOut $(FilePath)
Check: Capture output, Save open files

Description: Check current EditPlus file into CS-RCS
Text=Check In
Command=D:\Program Files\ComponentSoftware\CS-RCS\System\csrcs.exe
Argument=CheckIn $(FilePath)
Check: Capture output, Save open files

Posted By: Michael Jones

Miscellaneous

Function List

Description: I use this to show functions and classes in the output window. This will work on winXP or win2000. The regular expression may also need modified to your preference. Note: The function window ctrl+F11 can also be used but this tool will allow you to view both your code and the functions at the same time.
Command: findstr /R /I /N "public.*{$ protected.*{$ private.*{$ static.*{$" $(FileName)
Argument: $(FileName)
Output Pattern
Regular Expression: ^([0-9]+):
Line: Tagged Expression 1
Check "Capture Output"
Posted By: Brett Batie

===JRuler=== http://www.spadixbd.com/freetools/jruler.htm Description: I use the standard free ruler to measure the size of images, tables, content area, etc. It adds a ruler to your screen to measure anything!
Posted By: Dean Householder

===CoolRuler=== http://legacy.sheltonbbs.com/~jmmorse/CoolRuler.rar Description: A Free full featured pixel/inch/etc. Ruler. Much like JRuler, but with more features.
Posted By: John Morse