ihabunek

ihabunek

LSP-elixir plugin for Sublime Text

I’m happy to announce the initial release of LSP-elixir plugin for Sublime Text which integrates the great elixir-ls server with the editor to provide IDE-like capabilities.

It’s been possible to connect the two before, but this plugin removes the need to download elixir-ls yourself and fiddle with LSP plugin config files.

Check out the code and install instructions on Github:
https://github.com/sublimelsp/LSP-elixir

This being the first release, testing and feedback are welcome.

Most Liked

hectorsq

hectorsq

Great! I am currently using it in Sublime Text 4 without any problem.

sicksid

sicksid

hey, I love this package and thank you for releasing it! I have a question though

what would be the correct schema for overriding elixirLS.projectDir inside a <project_name>.sublime-project file?

{
	"folders":
	[
		{
			"folder_exclude_patterns":
			[
				"./services/deps",
				"./services/api/assets/node_modules"
			],
			"path": "."
		}
	],
	"settings":
	{
		"LSP": {
			"lsp-elixir" : {
				"settings": {
					"elixirLS":
					{
						"projectDir": "./services",
					},
				}
			},
			"elixir-ls":
			{
				"enabled": true,
				"settings" : {
					"elixirLS.projectDir": "./services"
				}
			},		
		},
	}
}

tried a lot of different configurations and nothing seems to work, when I save, I get this error

   1:1   	ElixirLS    	error     	No mixfile found in project. To use a subdirectory, set `elixirLS.projectDir` in your settings

which makes sense but I would like to be able to open my project and have the features from your package working in this umbrella app

Last Post!

sicksid

sicksid

its a dev build so its not officially the new version of sublime, here you go https://www.reddit.com/r/SublimeText/comments/et9fte/sublimetext_4_dev_build/

Where Next?

Popular in Discussions Top

mbenatti
Following https://github.com/tbrand/which_is_the_fastest |&gt; https://raw.githubusercontent.com/tbrand/which_is_the_fastest/master/imgs...
New
Crowdhailer
I’ve been hearing much about the new formatter and it’s something I have been keen to try. I find examples buy far the most illuminating...
248 19760 150
New
lorenzo
Hey everone! I created a prototype for my app using Nodejs for the api. But the framework I chose wasnt great (in general theresnt any g...
New
New
Fl4m3Ph03n1x
Background This question comes mainly from my ignorance. Today is Black Friday, one of my favorite days of the year to buy books. One boo...
New
AngeloChecked
What learn first? Rust or Elixir Hi Elixir community! I’m here because i want learn a new language. I’m a junior developer and mainly i ...
New
crispinb
On reading dhh’s latest The One Person Framework it strikes me that Phoenix with LiveView is already pretty much this. However, never hav...
New

Other popular topics Top

KronicDeth
Elixir plugin for JetBrain’s IntelliJ Platform (including Rubymine) This is a plugin that adds support for Elixir to JetBrains IntelliJ...
289 36689 110
New
vonH
In asking this question I am more interested about the expressiveness of the language itself and less concerned about the availability of...
New
sergio_101
I am VERY much an elixir newbie. I have taken one elixir course and one phoenix course on Udemy. During that course, I saw the instructor...
New
alice
Hey, Just curious what are the main benefits of Elixir compared to Clojure? When is Elixir more useful than Clojure and vice versa? Th...
New
siddhant3030
Hi, I have to write a raw query for one of my project. But till now I have used ecto queries and don’t have much experience writing raw ...
New
Harrisonl
We have an ECS cluster with 4 services, where each task joins a single cluster, via discovery ECS discovery service. Currently when I de...
New

We're in Beta

About us Mission Statement