Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enable debugging of untitled script files #638

Merged
merged 2 commits into from
Mar 31, 2017

Conversation

daviwil
Copy link
Contributor

@daviwil daviwil commented Mar 31, 2017

This change enables untitled files to be debugged when they are set to the
'powershell' language mode.

Fixes #555.

daviwil added 2 commits March 30, 2017 17:28
This change enables untitled files to be debugged when they are set to the
'powershell' language mode.

Fixes PowerShell#555.
@daviwil daviwil added this to the 0.12.0 milestone Mar 31, 2017
@@ -1,5 +1,6 @@
{
// Use a custom PowerShell Script Analyzer settings file for this workspace.
// Relative paths for this setting are always relative to the workspace root dir.
"powershell.scriptAnalysis.settingsPath": "./PSScriptAnalyzerSettings.psd1"
"powershell.scriptAnalysis.settingsPath": "./PSScriptAnalyzerSettings.psd1",
"files.defaultLanguage": "powershell"
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Since vscode-powershell is typescript project, should defaultLanguage be typescript?

@daviwil daviwil merged commit bf3573e into PowerShell:develop Mar 31, 2017
@daviwil daviwil deleted the untitled-debugging branch March 31, 2017 02:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants