Is it possible to add an option to the list when you right-click on a file or folder in the windows file explorer? More specifically I use the Sublime text editor, and I'd like an option "Open in Sublime" when I right-click a folder or file.
I use Windows 10 Pro and Sublime Text 3, both up to date.
Quick google search gives already quite precise results: Sublime as default editor
You can't do right click and open a folder in Sublime but if you open Sublime you can open a folder from there. Here is the feature request on GitHub: https://github.com/SublimeTextIssues/Core/issues/113
Related
I am able to get to and edit my .bash_profile, but only using nano which lacks features I would like. How can I edit my .bash_profile in an external app, such as vscode?
I am using Windows 10 and it won't show up in search or when I check "Hidden items" in my home directory in explorer
You could try this in the terminal "code .bash_profile" to open it in the vscode, "pluma .bash_profile" to open it with pluma etc
or you could ctrl+h to view hidden files then in the file manager, [right click or is it left click] choose open with and then open it with a different program of your choice.
In Notepad++ (Windows 7), is there a way to disable the Common File Dialog Box when saving a file? I would like to replace it with the standard Save File Dialog Box.
Notepad++ uses this dialog box for saving:
I would like to use the following dialog box:
Adding shortcuts to "My Place" bar is not an option as I don't plan to use the Common File Dialog Box at all.
The feature was implemented on 2017-01-30.
Settings > Preferences... > Default Directory > Enable "Use new style save dialog (without file extension feature)".
#Tamarindo94 found where the setting was a couple days ago:
https://github.com/notepad-plus-plus/notepad-plus-plus/issues/176#issuecomment-299876885
From the sounds of it this feature is on the books for the next release of Notepad++ once the support for XP goes away, details here: https://github.com/notepad-plus-plus/notepad-plus-plus/issues/176
I noticed in Notepad++ they still don't have Favorites but they do have Libraries. My work around was to use Libraries instead of Favorites. You can actually add a Library that points to any folder you want. In Windows File Explorer on Windows 8, I had to go to Folder Options and check to turn on "Libraries" so that I could see them. Then I was able to right click and create Libraries pointed to the folders I wanted.
I was opening dreamweaver file. it opened open with option i check the dreamweaver and didnt noticed that always open this type of file was checked, now all the .lnk extension files changed to dreamweaver. i cant open any shortcut. please help me solve the issue
It seems like the registry is changed. I have been having this problem myself before and I had to download a .reg file that fixed the issue.
Windows 7, 8 and Vista(This downloads a .txt file possibly, remove file extension .txt and leave the .reg extension): Click Here.
Windows XP: Click here.
You can fix this yourself in the registry editor by doing the following:
Click Start Menu, and then type regedit in the Start Search and press ENTER.
Browse to the following registry branch:
HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts.lnk
Click on the arrow to expand it and delete the sub-key named UserChoice.
Exit from Registry Editor and reboot your machine.
Is it possible to open a file that is not part of any project in the assistant editor? Open Quickly can open files in the assistant, but only searches the project itself. If I open an outside file in Xcode, it gets a new window that cannot access the project in its assistants.
With the assistant editor open, drag the file from the left-hand list onto the Jumplist at the top of the assistant editor (where the currently open file is).
Yes, it's possible.
#What. Your answer only works if the file is in the project. You can only drag a file to the Jumplist at the top of the assistant editor if the file is displayed within the file list on the left. This means you would have to add the file to the project before opening. Sometimes, this is not desirable as you may want to open a file from another project for reference while coding.
Steps that I use are: (Tested in Xcode 6 and Xcode 7 Beta)
In Xcode, make sure your Tab Bar is shown. If it is not, click on "View -> Show Tab Bar" in the top menu
Open the file... Go to "File -> Open". Select the arbitrary file you want to open. This will open the file in a new window. (Screenshot 1 below)
Drag the tab in the new window to the tab bar in your main editor. Now, you will have 2 tabs in your main editor and your new window will be gone (Screenshot 2 below)
Next, click on your original tab (Where your main and assistant editor is) and the file will be available in the recent files list. Simply select the file from the recent files list in the assistant editor and you now have the file open in the assistant editor. You can also close the other tab as you no longer need it. (Screenshot 3 below)
Screenshot 1. Simply drag the tab from the new window to the main tab bar.
Screenshot 2, you will now have 2 tabs.
Screenshot 3. Back at your original tab, you now have the option to open the new file within the recent files list in the assistant editor. Click it and you are done.
Screenshot 4. Final result... we have our arbitrary file open in the assistant editor.
Here is what I do (Xcode 9.3) :
Add wanted file to the Xcode project
Open assistant editor with that
file
delete this file (references only) from the Xcode project. Xcode will
remove the file from the assistant editor.
Now go to the assistant
editor "recent files", the file will be there. Select it.
My preferred way to do this is to #include whatever file I want to open in some C file, like this:
#include "/home/julius/path/to/file"
Command-clicking the path will open the file. It's a shame Xcode forces you to use this workaround.
You can drag an arbitrary file on the assistant editor. Then it will be opened there.
I'm on Windows XP and I just installed GVim 7.3. How do I make the default editor? How can I make it run using the command prompt
e.g.
c:\Windows>gvim boot.ini
open this file in gvim.
Thanks a lot
Add Gvim to your PATH variable
To be able to call Gvim from the command line, you have to add the installation directory of Vim to your PATH variable. To do that, right click on My Computer on the desktop (or in Explorer) → Properties → Advanced Tab → Click on Button Environment Variables.
In the Dialog, go to the User Variables field and search if there is already a PATH variable. If there is a PATH Variable, select it, click Edit and change it as follows:
%PATH%;C:/Program Files/Vim/Vim73
(or whatever the installation directory of Gvim is).
If there is no PATH variable set, create a new one with the content written above.
Confirm everything with OK, then open a new command window (important!), navigate to the desired directory and type
gvim somefile.txt
This should bring up your favourite editor.
Set Gvim as default editor for a certain file type
Adding Gvim to your PATH doesn't make Gvim the default editor for a certain file type. This can be achieved the following way:
In Explorer, right click on any file and select Open With → Choose Program
in the upcoming window, select Vi improved - A Text Editor or browse for gvim.exe if the entry is not already there
select the Always use the selected program ... checkbox and click OK
from now on, every time you double-click the file, it will be opened with Gvim
The easiest way
If you install Gvim, be sure to check the Add to context menu option. If you did that, you can right click on any file in the Windows Explorer and select Edit with Vim.
Right click the any file you want to open -> select Open or Open With ->check always open with the following editor.
After installing vim the "Edit with vim..." menu item appears in the context menu (RMB click on any file to check). Thus you can edit any file (not only text file) with just selecting this menu item
Add gvim to the PATH variable and you can run it right as you want:
c:\Windows>gvim boot.ini