diff --git a/sources/tech/20220704 massCode- A Free and Open-Source Code Snippet Manager.md b/sources/tech/20220704 massCode- A Free and Open-Source Code Snippet Manager.md deleted file mode 100644 index 86983ef126..0000000000 --- a/sources/tech/20220704 massCode- A Free and Open-Source Code Snippet Manager.md +++ /dev/null @@ -1,104 +0,0 @@ -[#]: subject: "massCode: A Free and Open-Source Code Snippet Manager" -[#]: via: "https://itsfoss.com/masscode/" -[#]: author: "Ankush Das https://itsfoss.com/author/ankush/" -[#]: collector: "lkxed" -[#]: translator: "geekpi" -[#]: reviewer: " " -[#]: publisher: " " -[#]: url: " " - -massCode: A Free and Open-Source Code Snippet Manager -====== -Brief: An open-source code snippet manager that enables you to dabble with code, improve productivity, and save time. - -If a tool makes things faster and efficient, that is a life-saver for many developers. - -While there are different services and platforms that try to make the coding experience quicker, you still have several other options to consider. - -For instance, a code snippet manager. With a snippet manager, you aim to save a section of code that you want to quickly access. It is more like assigning shortcuts to add the required code in your program. - -This is not a new concept, but the tools available for the job may not be entirely open-source. - -Fortunately, I stumbled upon a decent project that provides you with a free and open-source snippet manager, i.e., massCode. - -### massCode: Cross-Platform Open-Source Snippet Manager - -![masscode][1] - -massCode is a useful snippet manager with some essential features. - -It supports a wide range of programming languages and also includes Markdown support. You can organize the snippets of your code using folders, add tags, and more. - -massCode is available for Linux, Windows, or macOS. Let’s take a look at some key features. - -### Features of massCode - -![masscode screenshot][2] - -massCode includes many useful functionalities. Some of them are: - -* Multi-level folder organizer -* Each snippet can be stored in fragments (tabs) -* Integrated coding editor, i.e., [Ace][3]. -* Code formatting or highlighting. -* Markdown support with preview. -* The ability to search for a snippet. -* Add descriptions to your snippet to know what it is for. -* Variety of dark/light themes available. -* Ability to migrate from [SnippetsLab][4]. -* Auto-save to help you retain your work. -* Integrate it with cloud synchronization folders. -* Extension support for VSCode, Raycast, and Alfred. - -In addition to all the features mentioned, you also get to easily copy the code snippets saved in a single click. - -For customization, you can tweak the font size and family, toggle Word Wrap, highlight lines, use single quotes, or add a trailing command thanks to [Prettier][5]. - -Moreover, you can have multiple fragments for a snippet. So, it gives you the opportunity to use it for a wide range of use cases. - -As mentioned, you can also integrate it with any of your cloud syncing services by changing the storage location to the synced folders. - -![masscode migrate preferences][6] - -Overall, it works well, with some limitations, like the ability to migrate nested folders from SnippetsLab to massCode. - -### Install massCode on Linux - -massCode is available as a [Snap package][7], but not on the Snap store. You can download the package directly and use the following command to get it installed: - -``` -sudo snap install --dangerous ~/Downloads/masscode_2.6.1_amd64.snap -``` - -One of our troubleshooting guides can help you know more about the [dangerous snap flag][8]. - -You can download it for Windows/macOS through its [official website][9] or its [GitHub releases section][10]. - -[massCode][11] - -Have you tried massCode yet? Is there any other code snippet manager available for Linux? Let me know your thoughts in the comments below. - --------------------------------------------------------------------------------- - -via: https://itsfoss.com/masscode/ - -作者:[Ankush Das][a] -选题:[lkxed][b] -译者:[译者ID](https://github.com/译者ID) -校对:[校对者ID](https://github.com/校对者ID) - -本文由 [LCTT](https://github.com/LCTT/TranslateProject) 原创编译,[Linux中国](https://linux.cn/) 荣誉推出 - -[a]: https://itsfoss.com/author/ankush/ -[b]: https://github.com/lkxed -[1]: https://itsfoss.com/wp-content/uploads/2022/07/masscode-screenshot-1.png -[2]: https://itsfoss.com/wp-content/uploads/2022/07/masscode-screenshot.png -[3]: https://github.com/ajaxorg/ace -[4]: https://apps.apple.com/us/app/snippetslab/id1006087419?mt=12 -[5]: https://prettier.io/ -[6]: https://itsfoss.com/wp-content/uploads/2022/07/masscode-migrate-preferences.jpg -[7]: https://itsfoss.com/install-snap-linux/ -[8]: https://itsfoss.com/snap-metadata-signature-error/ -[9]: https://masscode.io/ -[10]: https://github.com/massCodeIO/massCode/releases/tag/v2.6.1 -[11]: https://masscode.io/ diff --git a/translated/tech/20220704 massCode- A Free and Open-Source Code Snippet Manager.md b/translated/tech/20220704 massCode- A Free and Open-Source Code Snippet Manager.md new file mode 100644 index 0000000000..f5480747db --- /dev/null +++ b/translated/tech/20220704 massCode- A Free and Open-Source Code Snippet Manager.md @@ -0,0 +1,104 @@ +[#]: subject: "massCode: A Free and Open-Source Code Snippet Manager" +[#]: via: "https://itsfoss.com/masscode/" +[#]: author: "Ankush Das https://itsfoss.com/author/ankush/" +[#]: collector: "lkxed" +[#]: translator: "geekpi" +[#]: reviewer: " " +[#]: publisher: " " +[#]: url: " " + +massCode:一个免费和开源的代码片段管理器 +====== +简介:一个开源的代码片段管理器,使你能够涉足代码,提高生产力,并节省时间。 + +如果一个工具能让事情变得更快、更有效率,那对许多开发者来说就是救命稻草。 + +虽然有不同的服务和平台试图使编码体验更快,但你仍然有其他几个选择可以考虑。 + +例如,一个代码片段管理器。使用代码片段管理器,你的目的是保存你想快速访问的代码部分。它更像是指定快捷方式,在你的程序中添加所需的代码。 + +这不是一个新的概念,但可用于这项工作的工具可能不完全是开源的。 + +幸运的是,我偶然发现了一个不错的项目,它为你提供了一个免费的、开源的片段管理器,即 massCode。 + +### massCode:跨平台的开源片段管理器 + +![masscode][1] + +massCode 是一个有用的片段管理器,具有一些基本功能。 + +它支持广泛的编程语言,还包括对 Markdown 的支持。你可以使用文件夹组织你的代码片段,添加标签等。 + +massCode 可用于 Linux、Windows 或 macOS。让我们来看看一些主要功能。 + +### massCode 的特点 + +![masscode screenshot][2] + +massCode 包括许多有用的功能。其中一些是: + +* 多层次的文件夹组织者 +* 每个片段都可以存储在片段(标签)中 +* 集成编码编辑器,即 [Ace][3]。 +* 代码格式化或高亮显示。 +* 支持带预览的 Markdown。 +* 能够搜索一个片段。 +* 给你的代码段添加描述,以了解它的用途。 +* 各种深色/浅色主题可用。 +* 能够从 [SnippetsLab][4] 迁移。 +* 自动保存以帮助你保留你的工作。 +* 将其与云同步文件夹整合。 +* 对 VSCode、Raycast 和 Alfred 的扩展支持。 + +除了上述所有功能外,你还可以轻松地复制保存代码片段,只需点击一下。 + +对于自定义,你可以调整字体大小和系列、切换自动换行、高亮显示行、使用单引号或添加尾随命令,这要归功于 [Prettier][5]。 + +此外,一份片段可以有多个片段。 因此,它使你有机会将其用于各种用例。 + +如前所述,你也可以通过改变同步文件夹的存储位置将其与你的任何云同步服务整合。 + +![masscode migrate preferences][6] + +总的来说,它工作得很好,有一些局限性,比如将嵌套文件夹从 SnippetsLab 迁移到 masCode 的能力。 + +### 在 Linux 上安装 massCode + +massCode 有 [Snap 包][7],但不在 Snap 商店中。你可以直接下载该软件包,并使用以下命令来安装它: + +``` +sudo snap install --dangerous ~/Downloads/masscode_2.6.1_amd64.snap +``` + +我们的一份故障排除指南可以帮助你了解更多关于 [dangerous snap 选项][8]。 + +你可以通过其[官方网站][9]或 [GitHub 发布区][10]下载 Windows/MacOS 版。 + +[massCode][11] + +你试过 massCode 了吗?还有其他可用于 Linux 的代码片段管理器吗?请在下面的评论中告诉我你的想法。 + +-------------------------------------------------------------------------------- + +via: https://itsfoss.com/masscode/ + +作者:[Ankush Das][a] +选题:[lkxed][b] +译者:[geekpi](https://github.com/geekpi) +校对:[校对者ID](https://github.com/校对者ID) + +本文由 [LCTT](https://github.com/LCTT/TranslateProject) 原创编译,[Linux中国](https://linux.cn/) 荣誉推出 + +[a]: https://itsfoss.com/author/ankush/ +[b]: https://github.com/lkxed +[1]: https://itsfoss.com/wp-content/uploads/2022/07/masscode-screenshot-1.png +[2]: https://itsfoss.com/wp-content/uploads/2022/07/masscode-screenshot.png +[3]: https://github.com/ajaxorg/ace +[4]: https://apps.apple.com/us/app/snippetslab/id1006087419?mt=12 +[5]: https://prettier.io/ +[6]: https://itsfoss.com/wp-content/uploads/2022/07/masscode-migrate-preferences.jpg +[7]: https://itsfoss.com/install-snap-linux/ +[8]: https://itsfoss.com/snap-metadata-signature-error/ +[9]: https://masscode.io/ +[10]: https://github.com/massCodeIO/massCode/releases/tag/v2.6.1 +[11]: https://masscode.io/