Skip to content

Configuration

Laurent GUERIN edited this page Nov 10, 2017 · 15 revisions

Telosys-CLI Configuration

The configuration is defined in the file telosys-cli.cfg

This file can be edited with any text editor.

For the time being, it just allows to define a specific external editor that will be open for all the "edit" commands ( for example "eb", "ecfg", etc )

You can define the command to launch your favorite editor ( "Visual Source Code", "Atom", "Sublime Text", "Notepad++", etc )


Configuration for "Visual Studio Code"

Check if VSCode is defined in "PATH" (and hence usable from everywhere)

Open a console window and enter "code"

If "code" is not recognized as a valid command then is not in the "PATH" you must use the executable full path, for example :

EditorCommand = D:/Tools/Microsoft VS Code/code $FILE

If it is recognized as a valid command you can just use the short command name, for example :

EditorCommand = code $FILE


Configuration for "Atom editor"

Check where Atom is installed

Set the executable full path, for example :

EditorCommand = D:/Tools/atom/atom.exe $FILE


Configuration for "Sublime Text"

Check if Sublime Text is defined in "PATH" (and hence usable from everywhere)

Open a console window and enter "subl"

If "subl" is not recognized as a valid command then is not in the "PATH" you must use the executable full path, for example :

EditorCommand = D:/Tools/SublimeText/subl.exe $FILE

If it is recognized as a valid command you can just use the short command name, for example :

EditorCommand = subl $FILE


Configuration for "Notepad++ editor"

Check where Notepad++ is installed

Set the executable full path, for example :

EditorCommand = C:/Program Files (x86)/Notepad++/notepad++.exe $FILE


Clone this wiki locally