| Time |
S |
Nick |
Message |
| 01:23 |
|
pdurbin |
:) |
| 04:24 |
|
bear |
not a lot of people thing about it... but VS Code is an amazing editor that can be set to autosave on a timer or on focus change |
| 04:31 |
|
sivoais |
hmm, I made a PR and a bot automatically gave it a *heart* : <https://github.com/njbmartin/prhero> |
| 04:53 |
|
|
aditsu_ joined #sourcefu |
| 08:50 |
|
aditsu |
sivoais: what's a PR? |
| 08:52 |
|
aditsu |
bear: (and everybody) I'm looking for an editor that auto-saves its state (including files with unsaved changes that should remain unsaved but remembered), not auto-saving the files I'm editing, any suggestions? |
| 08:53 |
|
bear |
I know that sublime text does just that |
| 08:53 |
|
bear |
it will remember even new buffers that have not been given a filename |
| 08:54 |
|
aditsu |
that's great! except sublime is proprietary nagware |
| 08:55 |
|
bear |
yea |
| 08:56 |
|
bear |
the VS Code editor has two settings: one controls when files are auto-saved and the other controls if unsaved files are restored after relaunching |
| 08:56 |
|
bear |
/ Controls whether unsaved files are restored after relaunching. If this is enabled there will be no prompt to save when exiting the editor. |
| 08:56 |
|
bear |
"files.hotExit": true, |
| 08:56 |
|
bear |
// Controls auto save of dirty files. Accepted values: "off", "afterDelay", "onFocusChange" (editor loses focus), "onWindowChange" (window loses focus). If set to "afterDelay", you can configure the delay in "files.autoSaveDelay". |
| 08:56 |
|
bear |
"files.autoSave": "off", |
| 08:57 |
|
bear |
i'm finding VS Code to be quite capable of an editor |
| 08:57 |
|
bear |
cross platform even |
| 08:58 |
|
aditsu |
wat! microsoft made an open-source code editor that works in Linux? |
| 08:58 |
|
bear |
yes :) |
| 08:58 |
|
bear |
and osx |
| 08:59 |
|
bear |
now, it may not be open *source* but it's liberally licensed and zero cost |
| 08:59 |
|
aditsu |
hmm, it's not in Gentoo |
| 08:59 |
|
aditsu |
wikipedia says the source is MIT licensed |
| 08:59 |
|
bear |
yea, it's a binary download IIRC |
| 08:59 |
|
aditsu |
https://github.com/Microsoft/vscode |
| 08:59 |
|
bear |
https://code.visualstudio.com/download |
| 09:00 |
|
bear |
show's deb's, tarballs, 32bit even |
| 09:00 |
|
bear |
oh - it is open source even |
| 09:00 |
|
aditsu |
that's what I'm saying |
| 09:00 |
|
bear |
sweet |
| 09:02 |
|
aditsu |
let me see if I can build it.. |
| 09:02 |
|
aditsu |
ewwww, node.js |
| 09:03 |
|
bear |
yea, i'm seeing that also - ick |
| 09:03 |
|
aditsu |
why microsoft, why? |
| 09:03 |
|
bear |
they may have bootstrapped by using the atom editor |
| 09:09 |
|
aditsu |
well, I have atom and electron already installed (if they're dependencies) |
| 09:31 |
|
aditsu |
huh, it's downloading its own electron |
| 09:31 |
|
aditsu |
aand.. it doesn't work yet, but I have to go, bbl |
| 11:56 |
|
pdurbin |
bear: good suggestions |
| 11:56 |
|
pdurbin |
aditsu: I hope you get it working |
| 13:56 |
|
aditsu |
Error: Cannot find module './vs/loader' |
| 13:56 |
|
aditsu |
meh, I'll just work on my own editor |
| 18:20 |
|
sivoais |
aditsu: Pull Request (on GitHub) |