-
Notifications
You must be signed in to change notification settings - Fork 71
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Sourcery doesn't support your editor? #43
Comments
vim/neovim...? |
Vim would definitely be a welcomed addition. |
Emacs please! |
Are you open to people making community plugins? Are there any references for how we might do such a thing with Sourcery? |
It is something we've thought about - We've done the VS Code plugin as a language server so it should certainly be possible. I think we want to nail down the functionality first - we're still in beta so might still be making large changes to how things work. |
After an internal discussion we've realised that the API should be stable enough to support community plugins. The Sourcery binary uses LSP so that's not going to change and the core functionality of Sourcery is not going to change much either @zingbretsen - we would be delighted if you wrote a plugin for emacs. At the moment we have no documentation on how to do this and are not quite clear what documentation would be needed. I'll drop you an email and we can see if we can get something rolling |
How about Sublime Text? :) |
I use Eclipse + Pydev and believe it's still quite popular. At least it figures in lots Top best Python IDE's ;-) |
I'm using Geany and I feel like a plugin would be a nice addition. If you want to, of course 😄 |
Atom Editor please! |
Atom Editor, please. |
Spyder please! |
I'm using it via
{
"languageserver": {
"sourcery": {
"command": "<Sourcery Directory>/sourcery",
"args": [
"lsp"
],
"filetypes": [
"python"
],
"initializationOptions": {
"token": " <Your Token Here>",
"extension_version": "coc.nvim",
"editor_version": "vim"
},
"settings": {},
"trace.server": "verbose"
}
}
}
PS: This can be Sourcery can be used in any LSP capable editor |
Thanks for the instructions on setting it up in Vim @marcoaaguiar. I've written it up into full install and usage instructions in our wiki. |
I'm using @marcoaaguiar's suggestion and when I attempt to run
I've confirmed that my token is added in Versions:
|
Sourcery is now available for Sublime! |
https://nova.app it's the editor by Panic. Same developers who built coda and transmit. Thanks in advance |
|
If anyone is interested you can use Sourcery with native Neovim LSP. I have the following setup in a file called
Mainly based off the pyright config from here. In your main config just add
|
@fvdnabee I believe it's probably mostly personal preference, although native LSP may be slightly faster. I have switched over to fully use native LSP so wanted to integrate sourcery that way and luckily it's easy to use currently unsupported language servers. |
Just going to leave this here: if anyone struggles to get Sourcery working on Arch as I was, just getting cryptic error messages from neovim |
I couldn't get the Sublime Text to work, perhaps because the instructions are out of date. |
The sourcery docs suggest using COC for neovim. COC predated neovim's native LSP support, but many new users are using native LSP for better performance, configurability, integration with other neovim plugins outside of the COC project. Neovim's native LSP support has matured much in the last few years. Native LSP is supported and documented here. A separate page for Neovim's native LSP support in the getting started docs would be more inviting to new users. |
Add a comment here to register interest in Sourcery support for other IDEs.
Or read our docs for how to write an editor plugin using our LSP server
The text was updated successfully, but these errors were encountered: