CodeMenu

Snippets manager with super powers.

macOS only

Join beta
CodeMenu Beta - Snippets manager with many handy programming features. | Product Hunt

CodeMenu

Snippets manager with super powers.

macOS only

Join beta
Watch demonstration
CodeMenu Beta - Snippets manager with many handy programming features. | Product Hunt

Manage your snippet

CodeMenu provides you the functionalities that you would expect from a snippets manager, like tags, groups and sorting by language. It also has iCloud Sync and ability to access your GitHub Gists.














Groups

Snippets in groups appear only in group’s special view. This allows you to seperate non-related snippets.

Tags

Snippets with tags appear alongside other snippets, but you can access them using tags view.

Languages

In the sidebar you can see the list of languages that have been used in snippets. This allows you to access snippets of specified language easier.

Manage your snippets

CodeMenu provides you the functionalities that you would expect from a snippets manager, like tags, groups and sorting by language. It also has iCloud Sync and ability to access your GitHub Gists.










Groups

Snippets in groups appear only in group’s special view. This allows you to seperate non-related snippets.

Tags

Snippets with tags appear alongside other snippets, but you can access them using tags view.

Languages

In the sidebar you can see list of languages that have been used in snippets. This allows you to access snippets of specified language easier.









Edit snippets

CodeMenu’s snippets editor has many features including basic ones like syntax highlighting and advanced like previewing HTML and Markdown, running snippets directly and generating libraries.


Previewing

You can see Markdown formatting directly in editor and by clicking eye icon in toolbar, you can open split window showing rendered HTML.

Running snippets

By clicking arrow icon you can run snippet’s code1 directly from CodeMenu allowing you to test snippets more easily.

Library generation

Library generation is a feature that allows you to quickly create files, that depending on your code editor can be shared and automatically updated, from many or one snippet allowing easier access.

1. JavaScript running and HTML preview are available by default. Other languages need to be added manually by linking to their tools.

Edit snippets

CodeMenu’s snippets editor has many features including basic ones like syntax highlighting and advanced like previewing HTML and Markdown, running snippets directly and generating libraries.




Previewing

You can see Markdown formatting directly in editor and by clicking eye icon in toolbar, you can open split window showing rendered HTML.

Running snippets

By clicking arrow icon you can run snippet’s code1 directly from CodeMenu allowing you to test snippets more easily.

Library generation

Library generation is a feature that allows you to quickly create files, that depending on your code editor can be shared and automatically updated, from many or one snippet allowing easier acces.


1. JavaScript running and HTML preview are available by default. Other languages need to be added manually by linking to their tools.





GitHub Gists support

CodeMenu has an integrated support for GitHub Gists which helps you manage and share your snippet in GitHub Gists.

GitHub Gists support

CodeMenu has an integrated support for GitHub Gists which helps you manage and share your snippet in GitHub Gists.









Document your snippets better

CodeMenu allows you to use LaTeX in snippet's description by putting LaTeX between $ signs. This allows you to describe mathematics related snippets in a more readable. CodeMenu also makes it possible to add flow diagrams to your snippets so you can document how snippet works in a graphical way. It uses Mermaid to allow you to design diagrams with a simple code syntax. The flow diagrams, description and title can be genereated by AI.

Document your snippets better

CodeMenu allows you to use LaTeX in snippet's description by putting LaTeX between $ signs. This allows you to describe mathematical snippets in a more readable. CodeMenu also makes it possible to add flow diagrams to your snippets so you can document how snippet works in a graphical way. It uses Mermaid to allow you to design diagrams with a simple code syntax. The flow diagrams, description and title can be genereated by AI.









Reuse your snippets

CodeMenu supports placeholders which help you reuse snippets even easier. You can create placeholders which will be replaced with the text provided by you, with the result of a shell command or current date or time. In side window, you can set placeholders temporarily to a set of values so you can use the snippet without filling placeholders every time, when they are the same.

Reuse your snippets

CodeMenu supports placeholders which help you reuse snippets even easier. You can create placeholders which will be replaced with the text provided by you, with the result of a shell command or current date or time. In side window, you can set placeholders temporarily to a set of values so you can use the snippet without filling placeholders every time, when they are the same.









Access snippets

CodeMenu’s goal is to improve your snippets management, therefore it includes new ways to access snippets directly from your code editor. Whether you are a touch typer and want a suggestions window to appear immediately or you want a organized window is to your choosing.




Suggestions

Using suggestions you can quickly search for snippets directly from your editor. Just type §§, and a window will appear. Continue typing to search for snippet and use ⌥ and V keybind to choose snippet, and it will appear in pleace of your prompt. This function requires additional helper app - Suggestions.

Side window

Side window is a window which appears on the side of the screen and which you can access using a gesture or a keyboard shorcut. It provides you a faster way to access your snippets and Snippets Store. You can simply drag a snippet from side window and drop it in your editor. Side window also gives you access to OpenAI ChatGPT1 using AI mode. It also allows you to run snippets directly from it, which allows you to run short scripts when needed.

1. OpenAI API key must be provided to use the feature.

Access snippets

CodeMenu’s goal is to improve your snippets management, therefore it includes new ways to access snippets directly from your code editor. Whether you are a touch typer and want a suggestions window to appear immediately or you want a organized window is to your choosing.




Suggestions

Using suggestions you can quickly search for snippets directly from your editor. Just type §§, and a window will appear. Continue typing to search for snippet and use ⌥ and V keybind to choose snippet, and it will appear in pleace of your prompt. This function requires additional helper app - Suggestions.





Side window

Side window is a window which appears on the side of the screen and which you can access using a gesture or a keyboard shorcut. It provides you a faster way to access your snippets and Snippets Store. You can simply drag a snippet from side window and drop it in your editor. Side window also gives you access to OpenAI Codex1 using AI mode. It also allows you to run snippets directly from it, which allows you to run short scripts when needed.

1. OpenAI API key must be provided to use the feature.









Database of snippets

Snippets Store is a online database of snippets shared by other people, including you. You can also add them to your library. With Snippets Store, you will no longer need to go to a search engine to find a generic code snippet. Just search snippets in Snippets Store using handy side window or Dashboard.

Database of snippets

Snippets Store is a online database of snippets shared by other people, including you. You can also add them to your library. With Snippets Store, you will no longer need to go to a search engine to find a generic code snippet. Just search snippets in Snippets Store using handy side window or Dashboard.









Useful tools in one place

CodeMenu not only does allow you to manage your code snippets, but also includes useful tools like RegEx tester, converters (between binary, hexadecimal and octal), generators (e.g. UUID) and coders (hashing using SHA256 and MD5, Base64 and URL encoding/decoding).

CodeMenu not only does allow you to manage your code snippets, but also includes useful tools like RegEx tester, converters (between binary, hexadecimal and octal), generators (e.g. UUID) and coders (hashing using SHA256 and MD5, Base64 and URL encoding/decoding).



Converters

RegEx tester

Generators

Coders









CodeMenu

Snippets manager with super powers.

macOS only

Join beta

CodeMenu

Snippets manager with super powers.

macOS only

Join beta








What languages does Editor support?

At this moment Editor supports JavaScript by default. But you can any other language that has CLI utility.

You can do this by placing language's command line utility in Application Scripts of CodeMenu (to open click "Open Application Scripts" in Languages settings section).

You can also do this by creating symlink (shortcut to file, but accessible by CodeMenu) to command line utility by opening your terminal and then entering

cd /Users/(your username)/Library/Application\ Scripts/id.thedev.marcin.CodeMenu

and then

ln -s /usr/bin/(utilities shell command) .

You might need to restart CodeMenu for language to show up.



What languages does syntax highlighting support?

You can find list of all languages supported by Snippets Store (which are the same as CodeMenu's) in Extiri API documentation at docs.extiri.com/data/languages/.



What languages does library generator support?

At this moment library generator supports Swift, PHP, HTML and JavaScript.



Are snippets from Snippets Store copyrighted?

No. Snippets from Snippets Store have CC0 license. You can copy, modify and distribute snippets, even for commercial purposes, all without asking permission. However, there are no warranties, and liability is disclaimed for all uses, to the fullest extent permitted by applicable law.



Can I import snippets from other snippets manager?

Currently no, but support is planned. If you know about snippets manager with export/backup capabilities, then you can send us example exported file, so if demand is met, we will be able to support it.



What are the system requirements?

CodeMenu will support macOS versions 11 and newer, but currently beta testing is done using TestFlight, so the minimum version is macOS 12. Intel and Apple Silicon are supported.



Do my snippets stay on-device?

Yes, snippets stay on-device. Sharing them with Snippets Store and iCloud Sync is optional and not done automatically.





Privacy Policy | Terms of Services/EULA

Mac is a trademark of Apple Inc., registered in the U.S. and other countries and regions.