Skip to content

Update the variable syntax in configurationSnippets - #980

Merged
DonJayamanne merged 1 commit into
DonJayamanne:masterfrom
robertsk50:configuration_snippets
May 24, 2017
Merged

Update the variable syntax in configurationSnippets#980
DonJayamanne merged 1 commit into
DonJayamanne:masterfrom
robertsk50:configuration_snippets

Conversation

@robertsk50

Copy link
Copy Markdown
Contributor

The variable syntax change introduced in Issue #774 caused a conflict with snippet variable substitution in the configurationSnippets. For example, $${{config:python.pythonPath}} was turned into $python.pythonPath} instead of ${config:python.pythonPath} when using the Python configuration snippet.

I used the syntax found in the example debugger to preserve the pythonVSCode variables within the configurationSnippets.

Note that this change removes the tabstops in the configurationSnippets. If the tabstops are desired, the following syntax could be used instead: "^\"${1:\\${config:python.pythonPath\\}}\""

I also added a configurationSnippet for Pyramid apps since it wasn't already there.

…ables are not improperly substituted. For example, $${{config:python.pythonPath}} turned into $python.pythonPath} which is missing the "{config:". This commit removes the tabstops in the configurationSnippets.

Also, created configurationSnippet for Pyramid apps.
@DonJayamanne
DonJayamanne merged commit 635ce06 into DonJayamanne:master May 24, 2017
DonJayamanne added a commit that referenced this pull request May 21, 2018
…1649)

* Ensure the prompt to install missing packages is displayed only once
* Add missing dependency
* Fixes #980
Goom11 pushed a commit to mostafaeweda/pythonVSCode that referenced this pull request Aug 30, 2018
…onJayamanne#1649)

* Ensure the prompt to install missing packages is displayed only once
* Add missing dependency
* Fixes DonJayamanne#980
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.

3 participants