Update port info, Pylance
This commit is contained in:
		@@ -18,6 +18,7 @@
 | 
			
		||||
	"settings": { 
 | 
			
		||||
		"terminal.integrated.shell.linux": "/bin/bash",
 | 
			
		||||
		"python.pythonPath": "/usr/local/bin/python",
 | 
			
		||||
		"python.languageServer": "Pylance",
 | 
			
		||||
		"python.linting.enabled": true,
 | 
			
		||||
		"python.linting.pylintEnabled": true,
 | 
			
		||||
		"python.formatting.autopep8Path": "/usr/local/py-utils/bin/autopep8",
 | 
			
		||||
@@ -33,16 +34,15 @@
 | 
			
		||||
 | 
			
		||||
	// Add the IDs of extensions you want installed when the container is created.
 | 
			
		||||
	"extensions": [
 | 
			
		||||
		"ms-python.python"
 | 
			
		||||
		"ms-python.python",
 | 
			
		||||
		"ms-python.vscode-pylance"
 | 
			
		||||
	],
 | 
			
		||||
 | 
			
		||||
	// Use 'forwardPorts' to make a list of ports inside the container available locally.
 | 
			
		||||
	// "forwardPorts": [9000],
 | 
			
		||||
 | 
			
		||||
	// Use 'postCreateCommand' to run commands after the container is created.
 | 
			
		||||
	"postCreateCommand": "pip3 install -r requirements.txt",
 | 
			
		||||
 | 
			
		||||
	// Use 'portsAttributes' to set default properties for specific forwarded ports.
 | 
			
		||||
	// You can use a port number (i.e. 3000), range of numbers, or a regex to match the running process.
 | 
			
		||||
	"portsAttributes": {
 | 
			
		||||
		"9000": {
 | 
			
		||||
			"label": "Hello Remote World",
 | 
			
		||||
@@ -50,6 +50,14 @@
 | 
			
		||||
		}
 | 
			
		||||
	},
 | 
			
		||||
 | 
			
		||||
	// Use 'otherPortsAttributes' to configure any ports that aren't configured using 'portsAttributes'.
 | 
			
		||||
	// "otherPortsAttributes": {
 | 
			
		||||
	// 		"onAutoForward": "silent"
 | 
			
		||||
	// },
 | 
			
		||||
 | 
			
		||||
	// Use 'postCreateCommand' to run commands after the container is created.
 | 
			
		||||
	"postCreateCommand": "pip3 install -r requirements.txt",
 | 
			
		||||
 | 
			
		||||
	// Comment out to connect as root instead.
 | 
			
		||||
	"remoteUser": "vscode"
 | 
			
		||||
}
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user