By accident, I set notepad as default program to open .vmoptions files. And now my programs that have these files won't open. But before they had opened, so I guess I don't need to download any soft. How to change it back? What is the right default program?
Related
How can I change the default Open File... directory in Netbeans 8.2 for Java SE\ME\EE?
I've edited my projectui.properties file line projectsFolder=DIRECTORY but that only works for projects. I am trying to open individual files without opening the entire project.
File was found (Windows) under "C:\Users\MYNAME\AppData\Roaming\NetBeans\8.2\config\Preferences\org\netbeans\modules"
Unlike setting the default project directory in NetBeans, you can't modify the default Open File... directory because there is no such "default directory" to change.
NetBeans behavior when you select Open File... from the File menu (on Windows 10 at least) is as follows:
[1] On the first occasion within a NetBeans session the Documents icon will be pre-selected in the Open dialog window, and your Documents directory will be opened. That's just the way NetBeans works, and cannot be modified. Although you can change the Documents folder that will be opened, you probably shouldn't. See below for details**.
[2] Within the Open dialog you can obviously navigate to any alternative folder to open a file. Thereafter, within that NetBeans session only, that alternative folder will be opened by default on the subsequent File -> Open File... selections, until an alternative directory is selected.
~~~~~
** To change the Documents folder in Windows (which will also change the folder that NetBeans opens on the initial use of File -> Open File..):
In Windows File Explorer select Desktop -> This PC -> Documents and right-click.
Select Properties from the drop down menu, and then select the Location tab in the Document Properties window.
Enter the name of the new folder to be used as the Documents folder and click OK.
Restart NetBeans, select File-> Open File... and the folder NetBeans opens will now be the one you specified in the previous step.
That may appear to have the desired affect, but other Windows applications also use the Documents folder, and may depend on files in that folder, so it shouldn't really be changed without good reason. If you really need to open files in NetBeans that are not within any project the cleanest approach would be to place such files in the Documents folder if possible.
One solution would be to move the NetBeansProjects in the Documents folder mentioned above to the desired place and to place a permanent symlink to the desired folder. Instructions for latter referenced here https://superuser.com/questions/1020821/how-to-create-a-symbolic-link-on-windows-10
Watch out if the secondary location could be temporary (like a network drive) that it's always in place before you launch Netbeans.
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
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.
Is there a script or something that can check if all core files are installed properly. I am installing a Wordpress site on clients hosting, and for some reason around 100 files were not transferred due to the connection time out. Now I am moving them one by one, but still I would like to check somehow, once I am done, that all files transferred are there and their size is more than 0b.
Thanks.
Since you are using Filezilla, drag and drop all files again into the folder.
Then when the file exists message shows up, pick Overwrite if different size and check apply to current queue only. Then only the ones with different sizes (or the ones that weren't transferred) will be overwritten/updated.
There's an easier way:
If you have access to some kind of control panel like cPanel, you can make a .zip file and upload it only via Filezilla.
Then on cPanel, go to File Explorer and unzip from there. Will be faster and you just have to upload one file (rather than opening tons of connections and giving you timeout).
Or if you have shell access, you can login with your key using Terminal(mac) or Putty(win), browse the folder and run the unzip command.
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