Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Dev #44

Merged
merged 3 commits into from
Jul 30, 2024
Merged

Dev #44

Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 3 additions & 4 deletions _config.py
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,6 @@ class Production(_BaseConfig):
# print("set %s: %s" % (attr, getattr(CONFIG, attr)))


from importlib import import_module


import_module("utils.logger.init")
if __name__ == "Simplenote._config":
print("__name__", __name__)
from .utils.logger import init
20 changes: 20 additions & 0 deletions messages/install.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
Sublime Text 3/4 plugin for Simplenote. Use Sublime Text as a Simplenote client.

First time use, To configure your Simplenote account username and password in the settings file, follow these general steps:

1. **Open the Settings File:**: Sublime Text > Settings > Package Control > Simplenote > Settings

2. **Configure Username and Password**
- Look for the configuration section and add or modify your username and password. For example, if the configuration file is in JSON format, you might add the following content:
```json
{
"username": "your_username",
"password": "your_password"
}
```
- Make sure to replace "your_username" and "your_password" with your actual username and password.

3. **Save the File**

5. **Restart the Application**
- Sometimes you need to restart Simplenote or the related application for the new settings to take effect.
4 changes: 4 additions & 0 deletions simplenotecommands.py
Original file line number Diff line number Diff line change
Expand Up @@ -145,6 +145,10 @@ def run(self):
if not start():
return

if Note.tree.count <= 0:
show_message(
"No notes found. Please wait for the synchronization to complete, or press [super+s+c] to create a note."
)
self.list__modificationDate: List[float] = []
self.list__title: List[str] = []
list__filename: List[str] = []
Expand Down