At this point I have PyCharm as my IDE, Obsidian as my official "Notes" with a capital N, and about 40 open unsaved text documents in Sublime Text that i just use as scratchpads. Writing down things, acting as a poor man's extended clipboard, etc.
I absolutely love this flow and it works so well for me now.
I recommend you check out “Scratches” in PyCharm (or any IntelliJ IDE). Cmd+Shift+N I think? I type it reflexively, it lets you create a scratch pad of any “type” (Python, PHP, plain text, shell, everything IntelliJ supports) and write code with syntax highlighting and all the bells and whistles you are used to.
They are all saved in a folder on your computer and easily accessible from the “Scratches” section at the bottom of the file explorer.
It’s my go-to for any text manipulation and I think you can even configure it up to run your snippets of code if you want (I’m stuck using CodeRunner cause I’m too lazy to look more into “running” Scratches).
I also use it to paste in information as I’m debugging a problem. Then I can use multiple cursors or regex find/replace to take information and turn it into commands to run. Yes, I know about CLI tools built in to most systems and I use them to create one-liners but sometimes I want a little more direct control and/or I want to build a script from the commands.
buggy6257|1 year ago
I absolutely love this flow and it works so well for me now.
joshstrange|1 year ago
They are all saved in a folder on your computer and easily accessible from the “Scratches” section at the bottom of the file explorer.
It’s my go-to for any text manipulation and I think you can even configure it up to run your snippets of code if you want (I’m stuck using CodeRunner cause I’m too lazy to look more into “running” Scratches).
I also use it to paste in information as I’m debugging a problem. Then I can use multiple cursors or regex find/replace to take information and turn it into commands to run. Yes, I know about CLI tools built in to most systems and I use them to create one-liners but sometimes I want a little more direct control and/or I want to build a script from the commands.