OS / IDE无关的存储代码片段的方法 [英] OS/IDE-agnostic method of storing snippets

查看:382
本文介绍了OS / IDE无关的存储代码片段的方法的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想用一种非常直接的方式存储代码片段(存储和检索)。

I would like a way to store code snippets in a very straightforward way (to store and to retrieve).

我有时在家里有时在工作或各种其他工作区,所以我想要一个在云端的存储库。我也希望有一个选项用于某种操作系统集成(通过快捷键可能;不想导航到网页(snipplr)或应用程序(evernote)检索代码)。

I code sometimes at home sometimes at work or various other workspaces, so I'd like a repository that's in the cloud. I would also like there to be an option for some kind of OS integration (via shortcut key perhaps; don't want to have to navigate to a webpage (snipplr) or an application (evernote) to retrieve the code).

理想情况下,结合了最好的 Snipplr 同上

Ideally something that combines the best of Snipplr and Ditto.

有一个类似的问题这里,但我特别关心的方法,将工作在OSX或Windows和比Evernote / Snipplr更快地在操作系统中使用。如果这样的东西甚至存在

There's a similar question here, but I'm specifically concerned with a method that will work in OSX or Windows and be quicker to use within the OS than Evernote/Snipplr. If something like that even exists

推荐答案

我相信代码段适合您。它可以作为Mac和Windows的本机应用程序,支持同步开箱即用,它是免费的。最近,我们发布了一项功能,名为 分销商 。它允许您在IDE中重新使用代码段中的代码片段。以下是几个演示,演示了操作中的Snippets分销商。

I believe Snippets is right for you. It is available as a native apps for Mac and Windows, supports sync out of the box and it's free. Also recently we released a feature called Distributors. It allows you to re-use code snippets from Snippets in your IDE natively. Here are a couple of demos that demonstrates Snippets Distributors in action.

  • Snippets Distributor for Xcode
  • Snippets Distributor for Visual Studio

免责声明:我是Snippets的创始人。随时提出任何问题。

Disclaimer: I'm a founder of Snippets. Feel free to ask any question.

这篇关于OS / IDE无关的存储代码片段的方法的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆