-
Notifications
You must be signed in to change notification settings - Fork 6
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
Integrate into dart editor pubspec editor #17
Comments
Hey @devoncarew you have a lot of editor knowledge, and you integrated the stagehand CLI. Do you have any thoughts on how this could be achieved? Looks like right now it's all Java based, so seems like CLI would be the only option? Any pointers or help would be much appreciated! |
Yeah, stagehand would be a similar scenario. For background, stagehand is meant to be driven in one of three different ways:
The Java code in the Editor would need to use that third option (or just the 2nd, if no specific machine parsing / commands were required). This would also be useful to clients like Sublime (written in Python), and IntelliJ. If you wanted to use the Dart API, you'd need to add support to den into the analysis server. The clients would all need to add UI to drive @keertip wrote the Editor's pubspec file editor. Some of the integration would be pretty simple, some would be pretty involved. Higher value commands with simpler integrations would be the place to start :) |
Agree with the points made by @devoncarew . It would be great if analysis server had den support! Then the editor would not have to install yet another tool. Adding ui to the pubspec editor is fairly simple, we just need to make sure the commands added do provide needed/missing functionality in the editor. |
Thanks @devoncarew and @keertip! @keertip I think the most bang for buck integration to start with would be running I am hoping that |
@seaneagan Take a look at http://bit.ly/181QmFN. The |
+1 to pub lints! While we're on the topic of integration, we should think about IDEA/Webstorm as well. I did the stagehand integration (cribbing off Devon's editor bits to be sure) and would be happy to help shore that up. |
Filed an issue to move analysis_server to its own github repo: in which case I would be happy to add den functionality to it! |
To do all the following while preserving the pubspec's formatting:
Should probably use #5, rather the the command line API.
The text was updated successfully, but these errors were encountered: