将 Stack Overflow 集成到 IDE 中?
好吧,这只是我的一个疯狂的想法。 Stack Overflow 看起来非常结构化并且可以集成到开发应用程序中。 那么,有没有可能,甚至有用,为 Eclipse 提供一个 Stack Overflow 插件?
您希望将 Stack Overflow 的哪些功能直接集成到您的 IDE 中,以便您可以“本机”使用它而无需更改为浏览器?
编辑:我正在考虑更深入集成的方法,而不仅仅是使用 IDE 中的网页。 就像当你使用某个 Java 类并遇到问题时,SO 的答案可能会突然出现。 在某些情况下,这样的事情可能很烦人,但其他事情可能会很有帮助。
Okay, this is just a crazy idea I have. Stack Overflow looks very structured and integrable into development applications. So would it be possible, even useful, to have a Stack Overflow plugin for, say, Eclipse?
Which features of Stack Overflow would you like to have directly integrated into your IDE so you can use it "natively" without changing to a browser?
EDIT: I'm thinking about ways of deeper integration than just using the web page inside the IDE. Like when you use a certain Java class and have a problem, answers from SO might flare up. There would probably be cases where something like this is annoying, but others may be very helpful.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(7)
跟进乔希的回答。 此 VS 宏将在 StackOverflow 中搜索 Visual Studio IDE 中突出显示的文本。 只需突出显示并按 Alt+F1
要安装:
这全部取自 Jeff Atwood 的 Google 搜索 VS 宏 帖子,只是修改为搜索 StackOverflow。
Following up on Josh's answer. This VS Macro will search StackOverflow for highlighted text in the Visual Studio IDE. Just highlight and press Alt+F1
To install:
This is all taken from Jeff Atwood's Google Search VS Macro post, just modified to search StackOverflow instead.
我认为我无法将 SO 集成到 IDE 中来完成任何工作。 它几乎与将 Digg/Reddit 集成到 IDE 一样糟糕,甚至更糟糕。
I don't think I'll be able to get any work done with SO integrated into an IDE. Its almost as bad, if not worst than integrating Digg/Reddit into an IDE.
在 Visual Studio 中,您可以添加快捷方式来搜索 StackOverflow 中突出显示的术语。 Jeff Atwood 在他的 Google 搜索 VS.NET 宏 博客条目。
使用这种方法可以让您突出显示术语或错误消息(或 IDE 中的任何其他可选文本),按下快捷键,然后在 StackOverflow 上查看所有匹配结果。
我确信在其他 IDE 中也有办法做到这一点。
In Visual Studio, you could add a shortcut to search for a highlighted term in StackOverflow. Jeff Atwood wrote about doing something similar with Google in his Google search VS.NET macro blog entry.
Using this approach would allow you to highlight a term or error message (or any other selectable text in the IDE), press the shortcut keys, and then see all the matching results on StackOverflow.
I'm sure there's a way to do this in other IDE's as well.
如果 StackOverflow 可以开始识别每个代码片段包含的语言,那么我可以看到 IDE 的代码完成/代码片段插件,该插件响应特殊语法,用于在 SO 上执行搜索并插入已接受答案的代码部分。
例如:在我的源代码中,我可以输入:
//# 语法提示插件开始搜索并显示问题标题列表。 当我选择一个时,它会插入已接受答案的代码部分。
If StackOverflow can begin identifying the language that each code snippet contains, then I could see an code-completion/code-snippet plugin to an IDE that responds to a special syntax for performing searches on SO and inserting the code portion of accepted answers.
Eg: in my source I might type:
The //# syntax prompts the plugin to start a search and display a list of question titles. When I pick one, it inserts the code portion of the accepted answer.
我不知道 Eclipse,但对于 Visual Studio,如果有人真的想要这个,他们可以轻松地为“起始页新闻频道”添加 SO RSS 提要,这样 SO 问题列表就会出现在起始页中,甚至更好,缩小范围它带有一个标签(就像 C#)。 它并不完全是“集成”,但它可以让您以极少的努力快速查看最近的事情。 但是,不确定它有多“有用”。
I don't know about Eclipse, but for Visual Studio, if someone really wanted this they could easily add the SO RSS feed for the "Start Page News Channel" so the SO question list appeared in the start page, or even better, narrow it down with a tag (like for C#). It's not exactly "integration", but it would provide a quick look at recent things with extremely little effort. However, not sure how "useful" it would be.
您有 Eclipse 的RSS 插件来读取 StackOverflow feed。
但我同意你的观点,一个 SO Eclipse 插件会非常酷。
You have the RSS plugin for Eclipse to read the StackOverflow feed.
But I'm with you, a SO Eclipse plugin would be really cool.
您可以将其设置为 Visual Studio 中的起始页。
不确定这会带来什么好处……但对每个人都有好处。
You could just set it as your Start Page in Visual Studio.
Not sure what benefit this would provide... but to each his own.