@ -9,8 +9,7 @@ tags: [helper, ide]
 
				
			 
			
		
	
		
		
			
				
					
					 
					 
					 
					
 
					 
					 
					 
					
 
				
			 
			
		
	
		
		
			
				
					
					 
					 
					 
					# code-server
 
					 
					 
					 
					# code-server
 
				
			 
			
		
	
		
		
			
				
					
					 
					 
					 
					
 
					 
					 
					 
					
 
				
			 
			
		
	
		
		
			
				
					
					 
					 
					 
					Run [VS Code ](https://github.com/Microsoft/vscode ) on any machine anywhere and
 
					 
					 
					 
					Automatically install [code-server ](https://github.com/coder/code-server ) in a workspace, create an app to access it via the dashboard, install extensions, and pre-configure editor settings.
 
				
			 
			
				
				
			
		
	
		
		
			
				
					
					 
					 
					 
					access it in the browser.
 
					 
					 
					 
					 
				
			 
			
		
	
		
		
	
		
		
			
				
					
					 
					 
					 
					
 
					 
					 
					 
					
 
				
			 
			
		
	
		
		
			
				
					
					 
					 
					 
					
 
					 
					 
					 
					
 
				
			 
			
		
	
		
		
			
				
					
					 
					 
					 
					
 
					 
					 
					 
					
 
				
			 
			
		
	
	
		
		
			
				
					
						
						
						
							
								 
							 
						
					 
					 
					@ -24,24 +23,24 @@ access it in the browser.
 
				
			 
			
		
	
		
		
			
				
					
					 
					 
					 
					
 
					 
					 
					 
					
 
				
			 
			
		
	
		
		
			
				
					
					 
					 
					 
					## Examples
 
					 
					 
					 
					## Examples
 
				
			 
			
		
	
		
		
			
				
					
					 
					 
					 
					
 
					 
					 
					 
					
 
				
			 
			
		
	
		
		
			
				
					
					 
					 
					 
					### Extensions
 
					 
					 
					 
					### Pre-install  Extensions
 
				
			 
			
				
				
			
		
	
		
		
	
		
		
			
				
					
					 
					 
					 
					
 
					 
					 
					 
					
 
				
			 
			
		
	
		
		
			
				
					
					 
					 
					 
					Automatically install extensions  from [OpenVSX ](https://open-vsx.org/ ):
 
					 
					 
					 
					Install the Dracula theme  from [OpenVSX ](https://open-vsx.org/ ):
 
				
			 
			
				
				
			
		
	
		
		
	
		
		
			
				
					
					 
					 
					 
					
 
					 
					 
					 
					
 
				
			 
			
		
	
		
		
			
				
					
					 
					 
					 
					```hcl
 
					 
					 
					 
					```hcl
 
				
			 
			
		
	
		
		
			
				
					
					 
					 
					 
					module "code-server" {
 
					 
					 
					 
					module "code-server" {
 
				
			 
			
		
	
		
		
			
				
					
					 
					 
					 
					    source = "https://registry.coder.com/modules/code-server"
 
					 
					 
					 
					    source = "https://registry.coder.com/modules/code-server"
 
				
			 
			
		
	
		
		
			
				
					
					 
					 
					 
					    extensions = [
 
					 
					 
					 
					    extensions = [
 
				
			 
			
		
	
		
		
			
				
					
					 
					 
					 
					        "
 
					 
					 
					 
					        "dracula-theme.theme-dracula" 
 
				
			 
			
				
				
			
		
	
		
		
	
		
		
			
				
					
					 
					 
					 
					    ]
 
					 
					 
					 
					    ]
 
				
			 
			
		
	
		
		
			
				
					
					 
					 
					 
					}
 
					 
					 
					 
					}
 
				
			 
			
		
	
		
		
			
				
					
					 
					 
					 
					```
 
					 
					 
					 
					```
 
				
			 
			
		
	
		
		
			
				
					
					 
					 
					 
					
 
					 
					 
					 
					
 
				
			 
			
		
	
		
		
			
				
					
					 
					 
					 
					Enter the `<author>.<name>`  into the extensions array and code-server will automatically install on start.
 
					 
					 
					 
					Enter the `<author>.<name>`  into the extensions array and code-server will automatically install on start.
 
				
			 
			
		
	
		
		
			
				
					
					 
					 
					 
					
 
					 
					 
					 
					
 
				
			 
			
		
	
		
		
			
				
					
					 
					 
					 
					### Settings
 
					 
					 
					 
					### Pre-configure  Settings
 
				
			 
			
				
				
			
		
	
		
		
	
		
		
			
				
					
					 
					 
					 
					
 
					 
					 
					 
					
 
				
			 
			
		
	
		
		
			
				
					
					 
					 
					 
					Pre-configure code-server with settings :
 
					 
					 
					 
					Configure VS Code's [settings.json ](https://code.visualstudio.com/docs/getstarted/settings#_settingsjson ) file :
 
				
			 
			
				
				
			
		
	
		
		
	
		
		
			
				
					
					 
					 
					 
					
 
					 
					 
					 
					
 
				
			 
			
		
	
		
		
			
				
					
					 
					 
					 
					```hcl
 
					 
					 
					 
					```hcl
 
				
			 
			
		
	
		
		
			
				
					
					 
					 
					 
					module "settings" {
 
					 
					 
					 
					module "settings" {