Scite

From Fxp Wiki

Jump to: navigation, search

Contents

Java

Scite contains a very useful compiling feature. Just edit a java file, and hit ctrl+F7.

Scite contient une fonctionalité de compilation très utile. Editez un fichier java, et pressez ctrl+F7.

Personnalisation
Customization

Edit the cpp.properties file, either by going in the scite directory, or simply by the "options" menu. At the end you will find a line giving the command line for javac. You can set instructions like the -classpath instruction.
Editez le fichier cpp.properties, soit en allant dans le répertoire de scite, soit simplement en l'éditant à partir du menu "options". A la fin vous trouverez une ligne donnant la commande pour javac. Vous pouvez y insérer des instruction telles que le -classpath.

command.compile.*.java=javac -classpath E:\prog\Tomcat41\webapps\JSPWiki\WEB-INF\lib\JSPWiki.jar $(FileNameExt)

Abbreviations


Add abbreviations in the file options > abreviations

In the form abbrev=expanded
You can put a | where you want the carret (cursor) to be after expanding the abbreviation.

You can put a \n for every line feed you want to have.

Then whenever you type the abbrev.followed by Ctrl+b, the abbrev will be expanded. ce=\n|\n\n
\n Appears like:


With the carret in the empty line.

Additional commands


To add a new command, in the Tools menu, you must link this command to a specific file extension.

For jspwiki, I need to add a "Xerces" line, for all the .txt files.
To do this I open the file Options > Others.properties, and I add the lines: command.name.2.*.txt=Xerces2 command.2.*.txt=D:\_100803\try\XercesCheckeer.class $(FileNameExt) The "2", in "command.name.2.*" is because there is already a "0" command and a "1" command in the other.properties file. But use the number you need depending on the file you append commands.

Problèmes Problems


Answered

Répertoire d'ouverture Open file directory


Sous win98, même lorsque j'ouvrais plusieurs fichiers, il suffisait la command open file ouvrait toujours le répertoire du fichier actuellement à l'écran. Sous windows xp, j'ai perdu cette possibilité, c'est toujours le dernier répertoire utilisé qui est ouvert.
Under win98, the command "open file" used to open the directory of the actually used file. This feature is interesting, because if you have multiple files in your scite, the open command will open immediately the directory of the file you use, and you won't have to click again and again to find the path of the file you want to open. Under windows xp, this is not possible, and only the last used directory is opened.

Solution

Dans global.properties, décommentez la ligne open.dialog.in.file.directory=1, en enlevant le dièse "#" en début de ligne
In global.properties, uncomment the line open.dialog.in.file.directory=1, by erasing the little sharp "#" at the beginning of the line.

Abbréviations

Views
Personal tools
Menu:
Navigation
Toolbox