You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[Ignore] Update troubleshooting.md and associated docs (#1541)
* Update and restructure README.md
* Update troubleshooting.md
* Info on opening an issue
* Update README to point at troubleshooting doc
* Update bug template to point to troubleshooting.md
* Suggest recording a GIF of bugs
* Use pasteable version expression in bug report
Copy file name to clipboardExpand all lines: README.md
+30-63Lines changed: 30 additions & 63 deletions
Original file line number
Diff line number
Diff line change
@@ -8,9 +8,9 @@ that Visual Studio Code provides.
8
8
9
9
## Platform support
10
10
11
-
-**Windows 7 through 10** with PowerShell v3 and higher
12
-
-**Linux** with PowerShell v6 (all PowerShell-supported distributions)
13
-
-**macOS and OS X** with PowerShell v6
11
+
-**Windows 7 through 10** with Windows PowerShell v3 and higher, and PowerShell Core
12
+
-**Linux** with PowerShell Core (all PowerShell-supported distributions)
13
+
-**macOS and OS X** with PowerShell Core
14
14
15
15
Read the [installation instructions](https://github.com/PowerShell/PowerShell/blob/master/docs/learning-powershell/using-vscode.md)
16
16
to get more details on how to use the extension on these platforms.
@@ -26,11 +26,28 @@ Read the [FAQ](https://github.com/PowerShell/vscode-powershell/wiki/FAQ) for ans
26
26
- Go to Definition of cmdlets and variables
27
27
- Find References of cmdlets and variables
28
28
- Document and workspace symbol discovery
29
-
- Run selected selection of PowerShell code using `F8`
30
-
- Launch online help for the symbol under the cursor using `Ctrl+F1`
29
+
- Run selected selection of PowerShell code using <kbd>F8</kbd>
30
+
- Launch online help for the symbol under the cursor using <kbd>Ctrl</kbd>+<kbd>F1</kbd>
31
31
- Local script debugging and basic interactive console support!
32
32
33
-
## Quick Installation
33
+
## Installing the Extension
34
+
35
+
You can install the official release of the PowerShell extension by following the steps
36
+
in the [Visual Studio Code documentation](https://code.visualstudio.com/docs/editor/extension-gallery).
37
+
In the Extensions pane, search for "PowerShell" extension and install it there. You will
38
+
get notified automatically about any future extension updates!
39
+
40
+
You can also install a VSIX package from our [Releases page](https://github.com/PowerShell/vscode-powershell/releases) by following the
41
+
[Install from a VSIX](https://code.visualstudio.com/docs/extensions/install-extension#_install-from-a-vsix)
42
+
instructions. The easiest way is through the command line:
> NOTE: If you are using VS Code Insiders, the command will be `code-insiders`.
49
+
50
+
## Script-based Installation
34
51
35
52
If you're on Windows 7 or greater with the [PowerShellGet](https://msdn.microsoft.com/powershell/gallery/readme)
36
53
module installed, you can easily install both Visual Studio Code and the PowerShell
@@ -52,22 +69,14 @@ first before running it in this way!
52
69
iex (iwr https://git.io/vbxjj)
53
70
```
54
71
55
-
## Installing the Extension
56
-
57
-
You can install the official release of the PowerShell extension by following the steps
58
-
in the [Visual Studio Code documentation](https://code.visualstudio.com/docs/editor/extension-gallery).
59
-
In the Extensions pane, search for "PowerShell" extension and install it there. You will
60
-
get notified automatically about any future extension updates!
61
-
62
-
You can also install a VSIX package from our [Releases page](https://github.com/PowerShell/vscode-powershell/releases) by following the
63
-
[Install from a VSIX](https://code.visualstudio.com/docs/extensions/install-extension#_install-from-a-vsix)
64
-
instructions. The easiest way is through the command line:
If you're having trouble with the PowerShell extension, please follow these instructions
94
-
to file an issue on our GitHub repository:
95
-
96
-
### 1. File an issue on our [Issues Page](https://github.com/PowerShell/vscode-powershell/issues)
97
-
98
-
Make sure to fill in the information that is requested in the issue template as it
99
-
will help us investigate the problem more quickly.
100
-
101
-
To automatically create a bug report from within the extension, open the Command pallet (<kbd>Ctrl</kbd>/<kbd>Cmd</kbd>+<kbd>Shift</kbd>+<kbd>P</kbd>) and run the *"Report a problem on GitHub"* command. Some basic information about your instance and powershell versions will be collected and inserted into a new GitHub issue.
102
-
103
-
NOTE: If you believe that there is a security vulnerability in the PowerShell extension for VSCode,
104
-
it **must** be reported to [[email protected]](https://technet.microsoft.com/security/ff852094.aspx) to allow for [Coordinated Vulnerability Disclosure](https://technet.microsoft.com/security/dn467923).
105
-
**Only** file an issue, if [email protected] has confirmed filing an issue is appropriate.
106
-
107
-
### 2. Capture verbose logs and send them to us
108
-
109
-
If you're having an issue with crashing or other erratic behavior, add the following
-**Linux and macOS**: `~/.vscode/extensions/ms-vscode.PowerShell-<CURRENT VERSION>/logs`
121
-
122
-
Alternatively, you can open the log folder using the Command pallet (<kbd>Ctrl</kbd>/<kbd>Cmd</kbd>+<kbd>Shift</kbd>+<kbd>P</kbd>) and running the *"Open powerShell Extension Logs Folder"* command.
123
-
124
-
You have two options for sending us the logs:
125
-
126
-
1. If you are editing scripts that contain sensitive information (intellectual property,
127
-
deployment or administrative information, etc), e-mail the logs directly to
Copy file name to clipboardExpand all lines: docs/development.md
+11-8Lines changed: 11 additions & 8 deletions
Original file line number
Diff line number
Diff line change
@@ -5,25 +5,28 @@
5
5
You'll need to clone two repositories and set up your development environment
6
6
to before you can proceed.
7
7
8
-
### 1. [Fork and clone](https://help.github.com/articles/fork-a-repo/) the [vscode-powershell repository](https://github.com/PowerShell/vscode-powershell)
8
+
1.[Fork and clone](https://help.github.com/articles/fork-a-repo/) the [vscode-powershell repository](https://github.com/PowerShell/vscode-powershell)
9
9
10
-
### 2. [Fork and clone](https://help.github.com/articles/fork-a-repo/) the [PowerShell Editor Services repository](https://github.com/PowerShell/PowerShellEditorServices)
10
+
2.[Fork and clone](https://help.github.com/articles/fork-a-repo/) the [PowerShell Editor Services repository](https://github.com/PowerShell/PowerShellEditorServices)
11
11
12
-
### 3. Follow the [development instructions](https://github.com/PowerShell/PowerShellEditorServices#development) for PowerShell Editor Services
12
+
3. Follow the [development instructions](https://github.com/PowerShell/PowerShellEditorServices#development) for PowerShell Editor Services. **You will need to complete this step before proceeding**.
13
13
14
-
### 4. Install [Visual Studio Code Insiders Release](https://code.visualstudio.com/insiders)
14
+
4. Install the latest [Visual Studio Code Insiders release](https://code.visualstudio.com/insiders)
15
+
- You can also use the [standard Visual Studio Code release](https://code.visualstudio.com/). Both will work, but using VSCode
16
+
Insiders means the extension can be developed ready for new features
17
+
and changes in the next VSCode release.
15
18
16
-
### 5. Install [Node.js](https://nodejs.org/en/) 6.0.0 or higher.
19
+
5. Install [Node.js](https://nodejs.org/en/) 6.0.0 or higher.
17
20
18
21
## Building the Code
19
22
20
23
#### From Visual Studio Code:
21
24
22
-
Press <kbd>Ctrl+P</kbd> and type `task build`
25
+
Press <kbd>Ctrl</kbd>+<kbd>P</kbd> and type `task build`
23
26
24
27
This will compile the TypeScript files in the project to JavaScript files.
25
28
26
-
#### From a command prompt:
29
+
#### From a PowerShell prompt:
27
30
28
31
```
29
32
Invoke-Build Build
@@ -34,7 +37,7 @@ Invoke-Build Build
34
37
#### From Visual Studio Code:
35
38
36
39
To debug the extension, press <kbd>F5</kbd>. To run the extension without debugging,
37
-
press <kbd>Ctrl+F5</kbd> or <kbd>Cmd+F5</kbd> on macOS.
40
+
press <kbd>Ctrl</kbd>+<kbd>F5</kbd> or <kbd>Cmd</kbd>+<kbd>F5</kbd> on macOS.
0 commit comments