Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If JSON supported comments I'd ask you to leave one here about the purpose of this activation trigger... 😄 In lieu of that, would you mind making at note somewhere else (e.g. in CONTRIBUTING.md, src/client/extension.ts, or perhaps some new file like PACKAGE_JSON_COMMENTS.md)?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Not a fan of the prefix
ms
. Why notpythonconfig.json
?The
launch.json
and similar files are specific to VSC (Microsoft product), yet we dont prefix withms
..There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
However, i understand this is some existing file from another product/package.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@MikhailArkhipov was there a good reason for the ms prefix? Can we remove it?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
pythonconfig.json
is confusing, it makes me believe this is to configure Python while using the extension.mspythonconfig.json
sounds more likely to do with the extension, still not clear enough.There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The extension is named ms-python.python-nnnn
So the ms prefix is consistent.
Also, pythonconfig.json is too generic and might conflict with some other extension. Does that make sense?
Uh oh!
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Still not sold. Feels more like branding when sticking
ms
.If we want a config for the extension in VS Code then how about,
codepythonconfig.json
, orvss/vscode/pvsc
, or similar.And we might want to put it into
./.vscode
folder along withsettings.json
andlaunch.json
. This way there's no ambiguity about who owns this file.If it goes into
./.vscode
folder I don't see any reason for not naming itpythonconfig.json
. At that point it is obvious that it is specific to vscode, automatically our extension.There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This file is read directly by the LS, so I don't think it should be in any editor-specific folder.