Skip to content

Commit ce5dcb2

Browse files
squash!
1 parent 8e920cd commit ce5dcb2

87 files changed

Lines changed: 1931 additions & 1895 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

CHANGELOG.md

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,11 @@
11
# Change Log
22

3-
All notable changes to the "embedded-python" extension will be documented in this file.
3+
All notable changes to the "embedded-python" extension will be documented in
4+
this file.
45

5-
Check [Keep a Changelog](http://keepachangelog.com/) for recommendations on how to structure this file.
6+
Check [Keep a Changelog](http://keepachangelog.com/) for recommendations on how
7+
to structure this file.
68

79
## [Unreleased]
810

9-
- Initial release
11+
- Initial release

CODING_STANDARDS.md

Lines changed: 23 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -2,24 +2,31 @@
22

33
## Coding guidelines for TypeScript
44

5-
- The following standards are inspired from [Coding guidelines for TypeScript](https://github.com/Microsoft/TypeScript/wiki/Coding-guidelines) (which you should follow when something is not specified in this document, although any pre-existing practices in a file being edited trump either style guide).
5+
- The following standards are inspired from
6+
[Coding guidelines for TypeScript](https://github.com/Microsoft/TypeScript/wiki/Coding-guidelines)
7+
(which you should follow when something is not specified in this document,
8+
although any pre-existing practices in a file being edited trump either
9+
style guide).
610

711
### Names
812

913
- Use `PascalCase` for type names.
10-
- Use `I` as a prefix for interface names only when an interface is implemented by a class.
14+
- Use `I` as a prefix for interface names only when an interface is
15+
implemented by a class.
1116
- Use `PascalCase` for enum values.
1217
- Use `camelCase` for function names.
1318
- Use `camelCase` for property names and local variables.
14-
- Do not use `_` as a prefix for private properties (unless used as backing properties).
19+
- Do not use `_` as a prefix for private properties (unless used as backing
20+
properties).
1521
- Use whole words in names when possible.
1622

1723
### Types
1824

19-
- Do not export types/functions unless you need to share it across multiple components.
25+
- Do not export types/functions unless you need to share it across multiple
26+
components.
2027
- Do not introduce new types/values to the global namespace.
21-
- Shared types should be defined in `types.ts`.
22-
Within a file, type definitions should come first.
28+
- Shared types should be defined in `types.ts`. Within a file, type
29+
definitions should come first.
2330

2431
### null and undefined
2532

@@ -37,16 +44,21 @@ Use single quotes for strings.
3744
### Imports
3845

3946
- Use ES6 module imports.
40-
- Do not use bare `import *`; all imports should either explicitly pull in an object or import an entire module, otherwise you're implicitly polluting the global namespace and making it difficult to figure out from code examination where a name originates from.
47+
- Do not use bare `import *`; all imports should either explicitly pull in an
48+
object or import an entire module, otherwise you're implicitly polluting the
49+
global namespace and making it difficult to figure out from code examination
50+
where a name originates from.
4151

4252
### Style
4353

4454
- Use `prettier` to format `TypeScript` and `JavaScript` code.
4555
- Use arrow functions over anonymous function expressions.
46-
- Always surround loop and conditional bodies with curly braces. Statements on the same line are allowed to omit braces.
56+
- Always surround loop and conditional bodies with curly braces. Statements on
57+
the same line are allowed to omit braces.
4758
- Open curly braces always go on the same line as whatever necessitates them.
4859
- Parenthesized constructs should have no surrounding whitespace.
49-
- A single space follows commas, colons, and semicolons in those constructs. For example:
60+
- A single space follows commas, colons, and semicolons in those constructs.
61+
For example:
5062

5163
- `for (var i = 0, n = str.length; i < 10; i++) { }`
5264
- `if (x < 10) { }`
@@ -58,4 +70,5 @@ Use single quotes for strings.
5870

5971
## Coding Standards for Python
6072

61-
Please follow the [Google Python Style Guide](https://google.github.io/styleguide/pyguide.html).
73+
Please follow the
74+
[Google Python Style Guide](https://google.github.io/styleguide/pyguide.html).

CONTRIBUTING.md

Lines changed: 14 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,18 @@
11
# Contributing
22

3-
This project welcomes contributions and suggestions. Most contributions require you to
4-
agree to a Contributor License Agreement (CLA) declaring that you have the right to,
5-
and actually do, grant us the rights to use your contribution. For details, visit
6-
https://cla.microsoft.com.
3+
This project welcomes contributions and suggestions. Most contributions require
4+
you to agree to a Contributor License Agreement (CLA) declaring that you have
5+
the right to, and actually do, grant us the rights to use your contribution. For
6+
details, visit https://cla.microsoft.com.
77

8-
When you submit a pull request, a CLA-bot will automatically determine whether you need
9-
to provide a CLA and decorate the PR appropriately (e.g., label, comment). Simply follow the
10-
instructions provided by the bot. You will only need to do this once across all repositories using our CLA.
8+
When you submit a pull request, a CLA-bot will automatically determine whether
9+
you need to provide a CLA and decorate the PR appropriately (e.g., label,
10+
comment). Simply follow the instructions provided by the bot. You will only need
11+
to do this once across all repositories using our CLA.
1112

12-
This project has adopted the [Microsoft Open Source Code of Conduct](https://opensource.microsoft.com/codeofconduct/).
13-
For more information see the [Code of Conduct FAQ](https://opensource.microsoft.com/codeofconduct/faq/)
14-
or contact [opencode@microsoft.com](mailto:opencode@microsoft.com) with any additional questions or comments.
13+
This project has adopted the
14+
[Microsoft Open Source Code of Conduct](https://opensource.microsoft.com/codeofconduct/).
15+
For more information see the
16+
[Code of Conduct FAQ](https://opensource.microsoft.com/codeofconduct/faq/) or
17+
contact [opencode@microsoft.com](mailto:opencode@microsoft.com) with any
18+
additional questions or comments.

PRIVACY.md

Lines changed: 22 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -2,21 +2,31 @@
22

33
## Data Collection
44

5-
The software may collect information about you and your use of the software and send it to Microsoft. Microsoft may use this information to provide services and improve our products and services. You may turn off the telemetry as described in the repository. There are also some features in the software that may enable you and Microsoft to collect data from users of your applications. If you use these features, you must comply with applicable law, including providing appropriate notices to users of your applications together with a copy of Microsoft's privacy statement. Our privacy statement is located at https://go.microsoft.com/fwlink/?LinkID=824704​​​​​​​. You can learn more about data collection and use in the help documentation and our privacy statement. Your use of the software operates as your consent to these practices.
5+
The software may collect information about you and your use of the software and
6+
send it to Microsoft. Microsoft may use this information to provide services and
7+
improve our products and services. You may turn off the telemetry as described
8+
in the repository. There are also some features in the software that may enable
9+
you and Microsoft to collect data from users of your applications. If you use
10+
these features, you must comply with applicable law, including providing
11+
appropriate notices to users of your applications together with a copy of
12+
Microsoft's privacy statement. Our privacy statement is located at
13+
https://go.microsoft.com/fwlink/?LinkID=824704​​​​​​​. You can learn more about
14+
data collection and use in the help documentation and our privacy statement.
15+
Your use of the software operates as your consent to these practices.
616

717
## Disable Telemetry
818

9-
The Microsoft Device Simulator Express Extension for Visual Studio Code collects usage
10-
data and sends it to Microsoft to help improve our products and
11-
services. Read our
12-
[privacy statement](https://privacy.microsoft.com/privacystatement) to
13-
learn more. This extension respects the `telemetry.enableTelemetry`
14-
setting which you can learn more about at
19+
The Microsoft Device Simulator Express Extension for Visual Studio Code collects
20+
usage data and sends it to Microsoft to help improve our products and services.
21+
Read our [privacy statement](https://privacy.microsoft.com/privacystatement) to
22+
learn more. This extension respects the `telemetry.enableTelemetry` setting
23+
which you can learn more about at
1524
https://code.visualstudio.com/docs/supporting/faq#_how-to-disable-telemetry-reporting.
1625

1726
To disable telemetry, follow these steps:
18-
1) Open **File** (Open **Code** on macOS)
19-
2) Select **Preferences**
20-
3) Select **Settings**
21-
4) Search for `telemetry`
22-
5) Uncheck the **Telemetry: Enable Telemetry** setting
27+
28+
1. Open **File** (Open **Code** on macOS)
29+
2. Select **Preferences**
30+
3. Select **Settings**
31+
4. Search for `telemetry`
32+
5. Uncheck the **Telemetry: Enable Telemetry** setting

0 commit comments

Comments
 (0)