Merge pull request #10 from unwiredben/patch-1

Add note about integrating with Windows Terminal
This commit is contained in:
Edward Wright 2021-05-07 08:46:03 -04:00 committed by GitHub
commit 7531f22290
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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.
# 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