masscodeio / masscode Goto Github PK
View Code? Open in Web Editor NEWA free and open source code snippets manager for developers
Home Page: https://masscode.io
License: GNU Affero General Public License v3.0
A free and open source code snippets manager for developers
Home Page: https://masscode.io
License: GNU Affero General Public License v3.0
Hi there,
I had massCode setup with google drive (so that I could sync its json database across any machine).
Somewhere along the line the application would refuse to open and would display an error message (see screenshot for details).
My best guess is that google drives volume label may have changed at some point (potentially causing the error). Or there is some permissions issue.
I have tried uninstalling and reinstalling, but the same error message persists and I am unable to open the application.
2.9.0
Windows 8, Windows 10, MacOS Monterey 12.4
The position marker does not match the visible line and that makes it incredibly hard to edit a snippet. E.g. : in the photo the marker points to the first char of the line and not to the character visually pointed (between 6 and 0)
Edit a snippet and go to the end of the line: it will appear way beyond the last characteer
2.9.0
Ubuntu
When I open the program, I get this error
Just Open the program and this is the first thing I see.
2.8.1
Windows 11
Describe the bug
Editor -> Format overrides snippets
Hello, i have two snippets. I format the first one using the Editor -> Format function.
If I do the same to the second snippet, the second snippet is overwritten with the first snippet.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
no override the current snippet
Desktop (please complete the following information):
On Linux (snap), it's difficult to select a directory to move storage to.
The file chooser seems to be confined to default directory: but if a user hits CTRL+L and specifies manually a path, the file gets written and everything works.
That leads to misunderstandings, initially I thought there was a problem with snap confinement, but seems it's not the case.
2.6.1
Ubuntu 22.04
When running the install executable Windows Defender sees it as a unknown exe and halts the installation.
Just run massCode.Setup.2.7.0.exe and the problem starts and ends.
2.7.0
Windows 11
Hi, I just upgraded from v1 to v2.0.1 and imported my data. Everything works fine so far, I just found one minor issue regarding the markdown preview. It seems like the markdown preview setting isn't reset when switching fragments.
Reproduction steps
Expected result
The content of the 2nd fragment should be shown, with code highlighting.
Actual result
The content is rendered as markdown.
when use xml language, if the comment is uncompleted, the application stuck.
<?xml version="1.0" encoding="UTF-8"?>
<settings xmlns="http://maven.apache.org/SETTINGS/1.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/SETTINGS/1.0.0 http://maven.apache.org/xsd/settings-1.0.0.xsd">
<!-- comment1 -->
<!-- comment2 -->
</settings>
<?xml version="1.0" encoding="UTF-8"?>
<settings xmlns="http://maven.apache.org/SETTINGS/1.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/SETTINGS/1.0.0 http://maven.apache.org/xsd/settings-1.0.0.xsd">
<!-- comment1 --
<!-- comment2 -->
</settings>
3.4.0
Windows 10
Data set is reset after updating software via .exe resulting in data loss.
3.4.0
windwos 10
When I start the application, I would sometimes get this js error. After I close the error prompt, It will then open a second MassCode window without closing the original window.
The application itself looks very pixelated but the pixelation goes away if I click on the menu items
All of these issues started not in the most recent update but in the one before that
Just open the application
2.8.1
Windows 11
When Snippet has a lot of Fragments, they are not visible as they are hidden by horizontal ScrollBar
2.6.1
Windows 10
Freshly installed 2.5.0 version, two major issues:
See:
2.5.0
macOS Monterey 12.3.1 - M1 Max
On a clean install, when you try to open it for the first time, this is presented and no window will ever come:
Uncaught Exception:
Error: ENOENT: no such file or directory, open '/Users/eriond/massCode/db.json'
at Object.openSync (node:fs:585:3)
at Object.func [as openSync] (node:electron/js2c/asar_bundle:5:1800)
at Object.writeFileSync (node:fs:2153:35)
at writeToFile (/Applications/massCode.app/Contents/Resources/app.asar/src/main/services/db/index.js:53:24)
at createDb (/Applications/massCode.app/Contents/Resources/app.asar/src/main/services/db/index.js:45:5)
at Object.<anonymous> (/Applications/massCode.app/Contents/Resources/app.asar/src/main/index.js:19:19)
at Module._compile (node:internal/modules/cjs/loader:1116:14)
at Object.Module._extensions..js (node:internal/modules/cjs/loader:1169:10)
at Module.load (node:internal/modules/cjs/loader:988:32)
at Module._load (node:internal/modules/cjs/loader:829:12)
The manual workaround is easy, create the folder "massCode" inside your $HOME and the app will launch.
M1 Max.
Monterey 12.3.1
I have reinstalled my computer so had to install MassCode again.
I point to the same location and can see all snippets on the list.
When selecting one nothing is displayed and I have a message 'No Snippet Selected
2.10.0
Windows 11
Having an older edition, MassCode advises me there is an update available. I downloaded the latest version. During the install, it notices there is an older version. No warning that installing the new version erases the old database. Fortunately, I only had a handful of items but for a new install to erase old data files is unacceptable behavior.
My System: Win 10 Pro 64-bit Electron 16.0.5 Version 2.2.0
2.2.0
Windows 10 Peofessional 64-Bit
Please add *.vue Language! :-)
Just a wish
latest Version
macOS Monterey (Intel)
cann't drag the snippet back to folder from trash
Trash
index.0193768c.js:73 Uncaught (in promise) TypeError: e is not iterable
at Proxy.getSnippetsByFolderIds (index.0193768c.js:73)
at Proxy.<anonymous> (index.0193768c.js:8)
at q (index.0193768c.js:1476)
the version of massCode and System
3.1.0
Windows11
After minimizing the masscode window for a while,maximize the masscode windows and select a left folder. masscode is frequently unresponsive。
(1)minimize the masscode window for a while.
(2)maximize the masscode windows and select a left folder.
2.9.0(snap)
ubuntu 22.04
Hi,
I was running massCode v1.3.1 without any problem, but after installing 2.5.0, I got this error windows as soon as I run it :
Then I press OK and massCode appears but is unusable (can't add folder or create snippet).
I install massCode 1.3.1 back and everything works fine again.
step 1 : run MassCode 2.5.0 (or 2.4.0, ir 2.3...)
Done! ;)
all version 2.x
Windows 10
Apple cannot find a valid certificate for the app.
v3.1.0
macOS - MacBook Pro (16-inch, 2021) - Apple M1 Pro
After I upgrade from version 2.11.0 on Windows to 3.1.0 all snippets are gone.
Default Folder is displayed all empty.
Checked file Preferences > Storage path
3.1.0
Windows 10
I have two snippets.
I format the first one using the Editor -> Format function.
If I do the same to the second snippet, the second snippet is overwritten with the first snippet.
Describe the bug
I want to migrate snippets which have been stored in my Desktop PC, windows 10, and import into Mac OS (my Laptop)
Navigated to the target folder, MassCode did not find the file
in windows: data.json
In mac : db.json
I tried to rename the file to match the filename in Macos but seems the App could not read the file's structure
Hi
I was using Masscode until now already and I love it! Will the new MassCode reuse the same database or are you planning to move to a new solution? If yes, will there be a possibility to export / import the snippets?
Thanks and keep up the great work :-)
The application itself looks very pixelated but the pixelation goes away if I click on the menu items
pixelated UI
Just open the application
2.8.1
Windows 11
Installation returns error: cannot find signatures with metadata for snap "masscode_2.6.1_amd64.snap".
Apparently not the only one seeing this issue: https://itsfoss.com/snap-metadata-signature-error/
Looks like it might be a great application, but should install properly with apt. Don't have time to troubleshoot.
2.6.1
Debian 10
Can't search keywords from description of a snippet.
2.10.0
Windows 10
Hello,
The code formatting not working with dart.
Great app, thanks for help.
Select default language.
2.9.0
Windows 11
MacOS 10.13.6 has a bug. The right click menu blinks and disappears. Files cannot be deleted
MacOS 10.13.6 has a bug. The right click menu blinks and disappears. Files cannot be deleted
2.9.0 and 2.10.0
macOS High Sierra 10.13.6
Editor contents are not updated, when fragment is clicked/changed. Language and highlighter are updated
.
2.7.1
Windows 10
MassCode homebrew cask still installs version 1.3.1. Please update the cask to install latest version 2.x
https://github.com/Homebrew/homebrew-cask/blob/HEAD/Casks/masscode.rb
1.3.1
macOS Monterey 12.4
The editor's body cannot be resized when the Window is resized.
The editor's body cannot be resized when the Window is resized. After the window is resized, click on other snippets to fill the editor with snippets-view.
3.3.0
Windows 11
After Updating to version 2.1.1 from v2.0.0-beta.1, using the open storage I open the folder I have backed up and have my db.json. It just shows the titles of snippets. Then restarted my MassCode, but MassCode was empty.
I have tried to change the address of folder to another folder and then open it.
It shows the numbers of my snippets, but then I close the preferences. Again, MassCode was empty.
I have tried other version of MassCode, but I had the same problem.
8.1.1
macOS 12.3.1
Unable to open the massCode app after installing.
2.8.1
macOS Monterey 12.4
When I start the application, I would sometimes get this js error. After I close the error prompt, It will then open a second MassCode window without closing the original window.
Just open the application
2.8.1
Windows 11
deleted.
feature is not working correctly. (windows 10 and 11). I have 120 snippets and most of them are from c++.
When I try to search for example: "vector" then in the results I have almost all snippets but in some I have some letters marked. It is hard to described in a short message, and I'm pretty sure I'm not only one with this problem. (I have this happening on both my laptops, and also I did super clean installation uninstalling it by revo uninstaller).
About me
just a beginner, using Your awesome software to do "smart notes", and search feature is important for me
2.4 ; 2.5
win10 ; win 11
This app might become way more useful if you can find snippets with a hotkey and paste those in your current location.
Examples that do that are CopyQ, where you can press a hotkey and then search through your clipboard history and select and paste it in your previous location by pressing enter.
Another example is Typinator, which markets itself as a text expander. But on a hotkey, you can search all your options. What actually makes it a better snippet manager than anything else on the market. However, Typinator is only for macOS, and when you switch to other environments you miss something as useful as that.
This is how you search through your snippets:
Another very beneficial feature it has is when you create snippets you can mark those as sensitive and then those would be masked in the above image. (I was keeping some longer and less sensitive passwords on the snippet manager too)
I like the implementation of massCode, but I think it would become ten folds more useful if they make finding snippets way faster (and not tie themselves to editors with extensions)
To find a snippet you need:
This process is way too time-consuming for something such as snippet management.
all
all
After moving the folder directory structure, the right-click menu renaming function does not work.
Test double-click to modify available. The software is normal after restarting.
2.10.0
windwos10
Search results are not returning correct/consistent results. Here is one example:
Also, other search scenario shows correct results for a split-second, but then returns to full/all snippets, which is obviously not correct.
After installing 2.8, I tried to search for a specific text ("Splunk") in a snippet name. The results briefly flashed with the correct results (there are 2), but then immediately returned to a result of all snippets. I closed it down, restarted, and tried it again. This time I get 1 correct result at top of list, and then all other (non-search-correct) snippets appear below it (this is example in the screenshot found in the description above). This all worked fine in 2.6.1.
2.8
Windows 10
4 spaces , enter new line and tab(tab size = 4) can column alignment in the code editor, but can't column alignment in preview screenshot.
3.3.0
Windows 11
Search does not after upgrading to 2.1.0.
2.1.0
macOS
App won't run, it just shows this error:
My macbookpro is a 2019 intel based one.
2.9.0
macOS Monterey 12.2.1
Version: 2.6.1
Electron: 16.2.3
Chrome: 96.0.4664.174
Node.js: 16.9.1
V8: 9.6.180.23-electron.0
OS: Darwin x64 20.6.0
Bug 1: When I add a new snippet, it does not immediately show up in the search results. After a restart it now shows in the results. I think there is a cache mechanism bug.
Bug 2: Also when I search, the snippet on the right will not jump to the search term position, making the searching much less useful.
Bug 3: Every time when I undo using Cmd + Z, the snippet will scroll down to lowest part.
2.6.1
macOS
My version is 2.9.
When creating a new folder, the default file name is Untitled folder .
Right-click the folder and select Rename , when entering a new name, the input will fail, and the folder name is difficult to enter correctly.
The folder name I entered is in English, but my computer system language is Simplified Chinese.
2.9.0
Windows 10
To help encourage contributions from the community, there should probably be a section of the README for "setting up your dev". I downloaded the source and found that I had to manually create the dev
folder inside my $HOME/massCode
.
I think that if the NODE_ENV
is set to Development - it should create this directory automatically, so that the database can be initialized and the app can start the first time when launching the dev locally.
I just grabbed the source and I'm still looking it over in my free time. I realize you just pushed this repo not that long ago, and you may already be aware of this issue. If I have some time, I can look into this while I continue to work my way through the code so far.
Command: yarn run dev:watch
Error:
[Electron] App threw an error during load
[Electron] Error: ENOENT: no such file or directory, open '/Users/username/massCode/dev/db.json
Expected behaviour:
Missing directory is automatically created so that the db can init
Work Around:
Manually creating the dev
directory will allow the app to start and init a fresh db.json
Cannot create a new snippet on a fresh install
This is on a 14" Macbook Pro (Apple Silicon), and I have installed the arm version of the app.
Press the "+" icon on the top (next to search), or do a Cmd + N
Nothing happens
I have tried to uninstall, delete the storage, and re-install. No luck.
2.2.0
macOS Monterey 12.3
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.