Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit fe801d1

Browse filesBrowse files
committed
disable side editor
1 parent 7c7c0ab commit fe801d1
Copy full SHA for fe801d1

3 files changed

+9-46Lines changed: 9 additions & 46 deletions

File tree

Expand file treeCollapse file tree
Open diff view settings
Filter options
Expand file treeCollapse file tree
Open diff view settings
Collapse file

‎website/docs/developer/index.mdx‎

Copy file name to clipboardExpand all lines: website/docs/developer/index.mdx
+8-9Lines changed: 8 additions & 9 deletions
  • Display the source diff
  • Display the rich diff
Original file line numberDiff line numberDiff line change
@@ -8,18 +8,17 @@ hide_table_of_contents: true
88
The DeviceScript developer experience is designed to be friendly with developers familiar with TypeScript projects.
99
DeviceScript uses the TypeScript syntax and the developer tooling does not require any special hardware
1010

11-
## Try DeviceScript
11+
## Visual Studio Code extension
1212

13-
You can try out DeviceScript directly from this documentation site, use the [Visual Studio Code extension](/getting-started/vscode) or [command line tool](/getting-started/cli).
13+
Visual Studio and the DeviceScript Extension provide the best developer experience, with building, deploying, debugging,
14+
tracing, device monitoring and other developer productivity features.
1415

15-
```ts edit codesandbox
16-
setInterval(() => {
17-
console.log(`hello`)
18-
}, 1000)
19-
```
20-
21-
- Click `Edit` to load the snippet in the developer tools
2216
- [Getting started with Visual Studio](/getting-started/vscode)
17+
18+
## Command Line
19+
20+
The command line is IDE agnostic and will let you script your own developer experience.
21+
2322
- [Getting started with command line](/getting-started/cli)
2423

2524
:::tip
Collapse file

‎website/docs/getting-started/index.mdx‎

Copy file name to clipboardExpand all lines: website/docs/getting-started/index.mdx
+1-12Lines changed: 1 addition & 12 deletions
  • Display the source diff
  • Display the rich diff
Original file line numberDiff line numberDiff line change
@@ -4,18 +4,7 @@ hide_table_of_contents: true
44

55
# Getting Started
66

7-
## Try DeviceScript in your browser
8-
9-
You do not need hardware or install any tools to try out DeviceScript. Try running this snippet!
10-
11-
```ts edit
12-
setInterval(() => {
13-
console.log(`hello`)
14-
}, 1000)
15-
```
16-
17-
You can edit it directly and press `Edit` to load it in the DeviceScript simulator in the documentation.
18-
You can also click on `Fork` and open the sample in CodeSandbox.
7+
DeviceScript has a development cycle tailored for TypeScript inclined developers, node or web.
198

209
## Visual Studio Code extension
2110

Collapse file

‎website/docusaurus.config.js‎

Copy file name to clipboardExpand all lines: website/docusaurus.config.js
-25Lines changed: 0 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -174,31 +174,6 @@ const config = configure(
174174
},
175175
],
176176
},
177-
sideEditor: {
178-
languages: {
179-
ts: "devicescript",
180-
},
181-
editors: [
182-
{
183-
id: "devicescript",
184-
type: "iframe",
185-
lightUrl:
186-
"https://microsoft.github.io/jacdac-docs/editors/devicescript/?devicescriptvm=1&embed=1&footer=0&light=1",
187-
darkUrl:
188-
"https://microsoft.github.io/jacdac-docs/editors/devicescript/?devicescriptvm=1&embed=1&footer=0&dark=1",
189-
message: {
190-
channel: "devicescript",
191-
type: "source",
192-
force: true,
193-
startMissingSimulators: true,
194-
},
195-
messageTextFieldName: "source",
196-
readyMessage: {
197-
channel: "jacdac",
198-
},
199-
},
200-
],
201-
},
202177
}
203178
)
204179

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.