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

AstonJ
If a newbie asked you about Phoenix Contexts, how would you explain the basics to them? Feel free to be as concise or in-depth as you li...
New
acrolink
How does the two languages compare when it comes to server side application development? Any experiences or ideas? Thank you.
New
slashdotdash
Phoenix Live View is now publicly available on GitHub. Here’s Chris McCord’s tweet announcing making it public.
New
Nvim
Elixir appears to be a superior language to Python. I don’t see any advantage of Python over Elixir. Are there any?
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
matthias_toepp
I’d love to hear what people think about Wisp, the new Gleam web framework started by Gleam’s primary creator Louis Pilfold. Gleam, alon...
New
shishini
I think this twitter post and youtube video didn’t get as much attention as I hoped I am still new to Elixir, so can’t really judge ...
New

Other popular topics Top

Qqwy
Update: How to use the Blogs &amp; Podcasts section You can post links to your blog posts or podcasts either in one of the Official Blog...
3271 130579 1222
New
rms.mrcs
Hi, I need to transform a list of numbers into a map where the keys are the indexes and the values are the original values of the list. ...
New
jononomo
For some reason my phoenix channels are working for me in my local dev environment, but as soon as I deploy via Docker, I get a 403 error...
New
nsuchy
Hi. I’ve noticed that Windows Powershell has it’s own IEX command and you cannot access Elixir’s IEX due to the conflict. This isn’t a cr...
New
axelson
This post is a wiki (feel free to hit the edit button near the bottom right of this post to add your own changes!) This post collects co...
239 49134 226
New
gausby
I asked this very same question on twitter and got some interesting feedback, but I thought it would be a good question to ask here as we...
1207 40082 209
New

We're in Beta

About us Mission Statement