Skip to content

Commit

Permalink
Removed legacy setting and addded configure micropico project to expl…
Browse files Browse the repository at this point in the history
…orer context

Signed-off-by: paulober <[email protected]>
  • Loading branch information
paulober committed Sep 9, 2024
1 parent e717fb7 commit 4addedf
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
7 changes: 6 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@
},
{
"command": "micropico.initialise",
"title": "Configure project",
"title": "Configure MicroPico Project",
"category": "MicroPico"
},
{
Expand Down Expand Up @@ -260,6 +260,11 @@
"command": "micropico.remote.run",
"group": "micropico",
"when": "micropico.isActivated && resourceScheme == pico && isFileSystemResource && resourceExtname == .py"
},
{
"command": "micropico.initialise",
"group": "micropico",
"when": "resourceScheme != pico"
}
],
"editor/context": [
Expand Down
2 changes: 0 additions & 2 deletions src/stubs.mts
Original file line number Diff line number Diff line change
Expand Up @@ -176,8 +176,6 @@ export default class Stubs {
const settingsFilePath = join(vsc, "settings.json");
const stubsPath = settingsStubsPathForVersion("included");
const defaultSettings: Record<string, string | boolean | object> = {
// eslint-disable-next-line @typescript-eslint/naming-convention
"python.linting.enabled": true,
// eslint-disable-next-line @typescript-eslint/naming-convention
"python.languageServer": "Pylance",
// eslint-disable-next-line @typescript-eslint/naming-convention
Expand Down

0 comments on commit 4addedf

Please sign in to comment.