-
Notifications
You must be signed in to change notification settings - Fork 908
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
Create IDE plugins for major editors #2821
Comments
PyCharm now supports LSP https://blog.jetbrains.com/platform/2023/07/lsp-for-plugin-developers/ via @datajoely |
@astrojuanlu excited to see this move ever so slightly forward. The number one feature for me is the link between our "magic string" input/output/parameter references in node definitions and their YAML counterpart in the catalog. IDE users are used to ⌘ Command + Click symbols and jumping to their definition.
If we were to store the file/line number reference in the live catalog object we could do exciting things. |
I had another user complain about hard navigation/autocomplete/typo detection for dataset names. Creating an IDE plugin as stated in this issue is of course one of the possible solutions, maybe others could be explored. |
Maybe worth explore the kedro-lsp in 0.19
…On Sat, 9 Sept 2023, 13:59 Juan Luis Cano Rodríguez, < ***@***.***> wrote:
I had another user complain about hard navigation/autocomplete/typo
detection for dataset names. Creating an IDE plugin as stated in this issue
is of course one of the possible solutions, maybe others could be explored.
—
Reply to this email directly, view it on GitHub
<#2821 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AELAWLZVWMWY3WNUUN2K2J3XZRR4VANCNFSM6AAAAAA2OUGNHI>
.
You are receiving this because you are subscribed to this thread.Message
ID: ***@***.***>
|
For reference,
However:
Indeed, I think this supports the idea of separating the loading from the resolving part as proposed in #2481 |
Similar case of trying to parse YAML and give good error messages:
|
|
Just saw this issue linked from the slack conversation. This would solve my number one problem with kedro as a user. I raised this in a user interview some months back, and also in various conversations: the disconnect between string objects in python and the objects which those strings represent within kedro. Refactoring is a huge hassle whenever it involves changing the shape of pipelines as there always end up being orphan datasets. So this issue has a huge upvote from me. |
The tool tip is awesome here! I guess dataset factories would work the same, I still think it would be nice to have an equivalent of |
IDE Plugins are very broad, I have seen a few things mentions here and recalled some discussion in the past:
IDE support:
Backward compatibility: I am not sure yet how to make VSCode plugin that backward compatible, or maybe we shouldn't care this so soon because this can be a good reason to drive more 0.19 adoption. User Research: (??) - there are many possibilities and unknown here |
Honestly I think VS Code is the right call for any initial MVP - you can just point to DVC and Databricks making the same call |
Yeah the title of this issue is too broad. Let's start with an LSP for Kedro, basically bringing @noklam shall we open a separate issue for it? |
#3691 - let's move the LSP specific discussion here |
https://blog.jetbrains.com/platform/2023/07/lsp-for-plugin-developers/ I did some research today and found that in theory Pycharm support LSPs, but it's only limited to paid users which is disappointing. |
Disappointing but I think it's still a great step especially if we target an enterprise user persona |
VSCode plugin exists already, see #3691 |
Considering this done for now, if we ever decide to target other editors we can model those after the existing VS Code extension. |
We have evidence that users struggle when assigning catalog entries to node functions. For example, #2726:
This is something that an IDE extension could help with. There is already a kedro-lsp extension (see #712 (comment)), but doesn't appear to be maintained anymore.
Such extension could help with other things, to be defined.
Evidence markers
The text was updated successfully, but these errors were encountered: