For Atom 1.14.3, I've opened a huge file in my project and it's causing out of memory issues and crashing my Atom.
I'm trying to reopen Atom for this project without it auto-opening the massive file which is causing the problems, yet it always auto opens that file despite my window restore option being set to false in my Config.cson:
core:
restorePreviousWindowsOnStart: false
How can I open the project without any of the files open so I can continue working on it?
You can try opening Atom from terminal/command line with --clear-window-state option. It will still open the directory in tree view but won't load the files you have had opened.
Also bear in mind that this switch will destroy all unsaved changes. You may want to visit Atom's Flight Manual's page for more information about this switch.
This may not be the best answer, but it is an answer, so I'll give it a shot.
If you can open Atom at all, wait for your huge file to open once, then minimize that window, start Atom again. This will open a new window with one untitled page and nothing else. Minimize your new window, close your old one with the huge file. Now close your untitled page.
Because of how Atom's window restore works, it will re-open your last project, so now when it opens, it will open to the empty untitled page.
Hopefully that helps a little :/
just type in the current directory (with the dot)
atom .
it will load the current directory tree, with no open files
Related
I've set up ftp-simple to connect to my remote server. Files show up fine, however directories appear with [DIR] next to them which, when clicked, disappear with a red line through it, as per image below (template-parts was the directory which I had just clicked on).
As mentioned, files are fine - they load perfectly, but it's the directories which have the issue.
Nothing shows up in the output log when this happens and I can't seem to find anything about this issue elsewhere.
The only solution I have found is this.
In vscode, go File->Preferences->Settings.
Then at the search area type this -> ftp-simple.remote-workspace-load-all <- and set it to false.
What this does is, when you first load a directory (the default path that has been set in vsc config), vsc is going to load only the content of this specific directory.
Then, only if you click another directory ([DIR]), it will start to download the content of this directory.
I am supposed to access an rscript in my student account and save it but whenever I click on it instead of automatically opening rstudio it opens up in web browser as just texts.I cant figure how to get it to open in rstudio. can anyone help and explain why it won't open? I have to be save it as an rfile on my files but I cant since I cant get it there in the first place.
I would suggest save the file in your computer. Then open RStudio -> File -> Open File
Each time I write something into WebStorm IDE Meteor rebuilds. Even if I don't save the files. My computer becomes noisy and hot quickly.
I am looking for a way to prevent Meteor to watch WebStorm temp files.
Does this happen when debugging your code? If yes, this must be a Live Edit issue. Try disabling Live Edit plugin - does it help?
Look at the synchronization section of the system settings page from their documentation
Here's what it says:
Synchronization
Synchronize files on frame or editor tab activation
If this check box
is selected, all the files that were changed externally are reloaded
from disk when you switch to WebStorm from a different application, or
when you you switch to their editor tab.
Save files on frame deactivation
If this check box is selected, all
modified files are auto saved when you switch from WebStorm to a
different application. Note that you cannot disable autosave
completely by turning off this and the following option. See Saving
and Reverting Changes.
Save files automatically if application is idle for N seconds
If this
check box is selected, all modified files are auto saved at regular
time internals. See also, Saving and Reverting Changes.
Use "safe write" (save changes to a temporary file first)
If this
check box is selected, a changed file is first saved in a temporary
file. If the save operation succeeds, the file being saved is replaced
with the saved file. (Technically, the original file is deleted and
the temporary file is renamed.) Also, the ownership of such file
changes. If this check box is not selected, the ownership of a file
does not change, but all the advantages of safe write will be lost.
Try unchecking those checkboxes and see if that prevents some saves.
I had a similar problem in that WebStorm was constantly saving edits to Jade files, even after typing just one character, triggering a gulp watcher. Disabling the Live Edit plugin and unchecking these boxes worked for me. Since disabling Live Edit didn't work for you, maybe unchecking one or more of these boxes will fix it.
Check this meteor specific webstorm help article. There is detailed description on how to configure live edit and code updating and how that would work together with meteor.
This is a very small issue but every time I do it, I wonder if there is such a convenience.
In RStudio, file navigator always opens in home directory by default. Is there a way to make it open the current working directory automatically or by using a shortcut?
To open current working directory you can simply use the "Set As Working Directory" button in Files -> More menu.
While i was editing one of my css files, the power went out unexpectedly. After the power came back, i checked if the file was ok but it wasn't... it was corrupted, when opened in notepad it shows empty characters but the file size was not zero.
if you use chrome or another browsers, just give recover option when it asks when you open first time after the power shutdown. After the recovering process go to the "show code" option, copy and paste the code.
I faced the same issue recently and I found the solution. There is a corrupted file with extension .TMP. To fix it, download Notepad++ then go to the .TMP file and open the file with Notepad++. You can find your all css code in it. Just copy and paste into another blank css file and include that file in your html file. That's all.
I suffered for the same issue just now...and I've got the solution...and its simple.
Install this software called: Mini Tool Power Data Recovery
Its free and after it is installed, select the "Damaged Partition Recovery" from the first screen and navigate to the location of the file that is corrupted and select each corrupted file or the whole folder through the checkbox.
And click 'Save' and select where to save the recovered files. That's all, you should now see the original not-corrupted file there.
Thanks to Mini Tool Power Data Recovery.
Useful links:
https://www.powerdatarecovery.com/data-recovery-resources/corrupt-files.html
https://www.powerdatarecovery.com/free-file-recovery-software/how-to-recover-data-after-hard-drive-crash.html