mirror of
https://github.com/fasteddy516/SimplySerial.git
synced 2024-11-24 01:54:35 +00:00
Merge pull request #10 from unwiredben/patch-1
Add note about integrating with Windows Terminal
This commit is contained in:
commit
7531f22290
10
README.md
10
README.md
@ -88,6 +88,16 @@ If you wanted to connect to a device on COM17 at 115200 baud, you would use the
|
|||||||
|
|
||||||
If you want to make things even simpler, or if you need to use a bunch of command-line arguments and don't want to enter them every time (**and you don't use the terminal window in Visual Studio Code for anything else**) you can have VSCode launch SimplySerial directly whenever you open a terminal window by changing the `terminal.integrated.shell.windows` setting to point to `ss.exe` + any arguments you need to add. This works well, but will prevent you from having multiple VSCode terminal windows open, as only one application can connect to any given serial port at a given time.
|
If you want to make things even simpler, or if you need to use a bunch of command-line arguments and don't want to enter them every time (**and you don't use the terminal window in Visual Studio Code for anything else**) you can have VSCode launch SimplySerial directly whenever you open a terminal window by changing the `terminal.integrated.shell.windows` setting to point to `ss.exe` + any arguments you need to add. This works well, but will prevent you from having multiple VSCode terminal windows open, as only one application can connect to any given serial port at a given time.
|
||||||
|
|
||||||
|
# Using SimplySerial with Windows Terminal
|
||||||
|
|
||||||
|
[Windows Terminal](https://docs.microsoft.com/en-us/windows/terminal/) is a tabbed alternative to the command shell that Microsoft has developed as an open source project. It is easy to setup SimplySerial as a new terminal profile; you just need to create a new profile in the settings GUI and specify the ss command line. If you have problems, make sure that the SimplySerial executable is in your system path.
|
||||||
|
|
||||||
|
If you're directly editing the settings.json, the profile section will look like the code below, but with your specific command-line parameters.
|
||||||
|
|
||||||
|
{
|
||||||
|
"commandline": "ss -com:4 -baud:115200",
|
||||||
|
"name": "COM4"
|
||||||
|
}
|
||||||
|
|
||||||
# Contributing
|
# Contributing
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user