Disabled external gits
This commit is contained in:
		
							
								
								
									
										38
									
								
								cs320-clp/extension-examples/howto-ST
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										38
									
								
								cs320-clp/extension-examples/howto-ST
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,38 @@
 | 
			
		||||
How to sublimetext:
 | 
			
		||||
 | 
			
		||||
1) install LSP package
 | 
			
		||||
2) Add this to user settings :
 | 
			
		||||
 | 
			
		||||
"clients":
 | 
			
		||||
	{
 | 
			
		||||
		"amycd":
 | 
			
		||||
		{
 | 
			
		||||
			"command":
 | 
			
		||||
			[
 | 
			
		||||
				"sbt",
 | 
			
		||||
				"run"
 | 
			
		||||
			],
 | 
			
		||||
			"enabled": true,
 | 
			
		||||
			"languages":
 | 
			
		||||
			[
 | 
			
		||||
				{
 | 
			
		||||
					"languageId": "amyc",
 | 
			
		||||
					"scopes":
 | 
			
		||||
					[
 | 
			
		||||
						"source.amy",
 | 
			
		||||
						"source.scala"
 | 
			
		||||
					],
 | 
			
		||||
					"syntaxes":
 | 
			
		||||
					[
 | 
			
		||||
						"Packages/Scala/Scala.sublime-syntax"
 | 
			
		||||
					]
 | 
			
		||||
				}
 | 
			
		||||
			]
 | 
			
		||||
		}
 | 
			
		||||
	},
 | 
			
		||||
 | 
			
		||||
Note: With the previous command/setting, you need to edit code in tha same project as the amyc language server (since it runs naivly and doesnt exist in the PATH or as an alias)
 | 
			
		||||
 | 
			
		||||
3) Open a .amy file
 | 
			
		||||
4) Set Syntax to scala
 | 
			
		||||
5) Start LSP server
 | 
			
		||||
		Reference in New Issue
	
	Block a user