This plugin have main target to collect some system functions. Like an external file loading into IDEA, system shell console, etc.
To run console you must have at least one profile configuration. Pres Ctrl+Alt+S and choose System Tools. Create new console profile and specify executable (for example, executable for Windows is C:\WINDOWS\system32\cmd.exe). You can also setup colors of console editor on seccond tab of profile settings.
- Console editor view:
- Console profiles settings view:
To run new console, use menu Tools, Console.
You can use file loader for loading files into IDEA from OS shell. To load files you need IDEA runned.
Usage:
java -classpath systemTools.jar org.intellij.systemTools.fileLoader.Main [-p {port number}] [fileToken] [fileToken] [fileToken] ...
Where:
- -p, this switch defined the port number of file server. This values must equals file loader port value in plugin settings. The default port value is 9875.
- fileToken, is a file entry string in format {file path}[:{line}[:{column}]]. You may post file tokens to stdin.
Examples:
java -classpath systemTools.jar org.intellij.systemTools.fileLoader.Main MyFile.java:75,10
This will open file MyFile?.java at line 75 and column 10
cat files.txt|java -classpath systemTools.jar org.intellij.systemTools.fileLoader.Main
This will open all files from files.txt. All files is lines like simple arguments.
Where files.txt is:
MyFile.java:75,10
MyOtherFile.java:10
MyChanges.txt
build.xml:15
If you changed standart port in configuration, you must specified the same port value in loader script.
-
File loader
-
File loader configuration for port number
-
Console
-
Console core (process handlers)
-
Console editor
-
Console profiles (colors, settings)
-
Console virtual files system
-
Console profiles tool window
-
Escape sequences supporting
-
Smart tab completion
-
Permanent history
-
Direct hooking IDEA output
Please see the topic SystemToolsPluginDev?, any feedback is welcome
Related Topics: PluginDocumentation, ProjectPluginTemplate, OpenAPI, IntellijPluginDocumentation,
IntellijPluginDocumentation, PluginDeployment, IdeasForPlugins
-- AlexeyEfimov - 27 Oct 2004
|
|