PhpED How to jump in an instance to Favourite File - keyboard-shortcuts

I have a file in my project I frequently need to open, and I am forever looking for it. OK, I can usually find it via Ctrl + Tab (as it was recently accessed) or via the drop-down menu right of the file tabs, or via Ctrl + Shift + N to search for the file by name, but all of these take too long.
A Global bookmark would be awesome or a 'favourite files' tab I could float... does anything like that exist? I tried floating the file itself as well as adding it to a 'New Tab Group' (both can be done by right-clicking the file tab), but both of these options take up valuable space - you cannot have the file auto-hide in the way unpinned tabs do.
Does anyone have a trick up their sleeve?

It's a little on the nose and not the perfect "global bookmark" solution sought, but renaming the file so that it appears at the top of the drop-down tab list is half a solution. The file is still two clicks away - one would be better.

Related

Shortcut for opening the definition file in a split vertical group in vscode

Are there any shortcuts to open the definition (e.g.: a method definition) in a split vertical group? By ctrl + click on the usage of method, it opens in a new tab. It bothers me, because I have to leave my own tab.
(I know that after opening in a new tab, by pressing ctrl + \ it will be open it in a new group, but this also has the same problem: I lose my own tab, and a second problem: when I want to close the definition file, I have to close it from both the 2nd group and the 1st group.)
Are there any shortcuts to open the definition file directly in a new group?
Ctrl+Alt+Click seems to open the definiton file in a split editor.
It'll open to whatever you have this setting:
Workbench > Editor: Open Side By Side Direction // options are right and down
Note that it'll directly open the definiton file in a split editor only if there is a single possible defintion file. For example, you may have both a source and a dist folder with the same files in them (after some task runner commands perhaps). If there is more than one option, vscode will instead open a peek window with the multiple references listed to the right side. You can Ctrl+Click on whichever of those you want to open to the side.

Uploading all opened files in dreamweaver?

Is there a way to upload all the opened documents to the current site without having to load em manually?
At the moment for each opened document I select one and I press Ctrl+shift+U but it's kinda lame if you edited more than 10-20 files
thanks
There is no native function however I have this simple cheat I use:
Open up the find and replace dialogue
Do a search for a string that appears in all the open documents. The page title usually has something useful. Make sure "all open documents" is selected. Click "Find All"
The panel appears that shows you all the instances of your search (should be all the open files)
Highlight all the file names in the search results panel, right click, and click "put"
It actually only takes a few seconds and saves you the pain of having to put each file individually. This is obviously for cases where simply highlighting the files and clicking the put button isn't feasible (e.g. files in multiple directories, etc).
In CS6 (not sure about older versions), when viewing the local site, right-click on the project's parent directory, hover on 'Select' and then 'Checked Out Files.'
This will highlight all the files you have checked out and allow you to check them in with one click.
Note: As Dreamweaver gathers all of the check in status information from the server, this can take quite a while if it is a large project. Only suggested for smaller projects, in which case it seems to work great!
Following the same process, you can also select 'Recently Modified', which only searches your local site and is much faster (but doesn't directly answer the check in/out part of your question).
I hope this helps!
I was a big fan of the Get Put All Extension, but it does not work on CS4 or CS5.
Unfortunately, upload all open is not built in. A long while ago I wrote a Dreamweaver extension called Get Put All, which allows for getting or putting of all open documents. It should still be available for sale (probably $5 or under) at the CommunityMX web site (down for me at the moment). I no longer contribute to CommunityMX, so I won't see any proceeds. While written a while ago, it should work fine in newer versions of Dreamweaver.
Just found out how to do it.
Use ctr+select all the files in the tree view under files and then right click on the selected entries and click "put"
SOLUTION:
1) Click on "Site"
2) "Manage Sites" (Select the site you want to manage)
3) "Edit"
4) "Remote Info"
5) And tick the checkbox "Automatically upload files to server on save"
(See where I am going here)
Have all the files you want to upload OPEN on Dreamweaver
6) Then "Find" a common code each document has
7) And "Replace ALL" with the EXACT same code
*Make sure "Find in: OPEN DOCUMENTS" is selected before you do the replacement
Once Dreamweaver has find and replaced the exact code - all documents will be unsaved at this point.
8) Just click "Save All" and voila!!! Now your CTRL+SHIFT+U fingers can chill the F out!
Hope this helps!
Oh, Remember to uncheck "Automatically upload files to server on save" afterwards or when not needed
PS: When you click "Save All" - you might get Dreamweaver saying "NOT RESPONDING". Just leave dreamweaver alone until it's done because it's uploading files at a rapid rate depending how fast your internet is :)

jedit navigating file system with keys when opening a file

How to make jedit navigating file system with left, down keys. So when in the ctrl-o form, if I press left key after the cursor is at the first character of file name, it should jump up the file browser tree and every left key press would move up higher in directory. It used to work out of the box with 5-6 old jedit, but these newer versions, I can't get it to work.
This alone made me love jedit for so many years.
An alternative usage is to type .. into the filename label then enter ( or ../.. to go up two levels ). To go down into a directory or open a file name, type the few characters of the file or directory then hit tab to autocomplete the name of the node then enter. Once you autocomplete the name you can use the up and down arrows to select in the current directory hierarchy.
Not a direct answer, but I find this to be a rather quick mode.
Alternatively, you can switch focus to the file hierarchy pane with shift+tab , shift+tab and then use the arrow keys. Not sure if this is exactly what you're looking for, because I don't use this navigation mode.
I prefer my previous answer.

Enabling tabs in xcode? Or lessening the pain of not having them?

I am currently using xcode and I find it's lack of tabs quite disturbing.
I currently use command-shift-d to search through all the files, or ctrl-1 to open the history of files that were recently opened.
It works but I find it less effective than just tabbing through the few files i am currently working on.
Is there any way, third party or not, to enable some sort of tabbed organization?
If not, is there any other way to quickly navigate through a subset of files?
XCode 4 now supports tabs. You can enable by selecting "View / Show Tab Bar" menu.
Not really, but one alternative is View > Show Favorites Bar and drag five or six frequently-used source files into it. Not as flexible as tabs but satisfies your request for "quickly navigate through a subset of files".
The traditional way is to use the detail view. Get the files you want in the Detail view by one of these means:
Put them all in the same group, then select the group
Enter a filter expression in the Search Bubble that narrows the items shown
Define a Smartgroup that includes just the files you want
Get a list of the files as a Find in Project result, then select that item in Find Results
Then you can use the Detail View as your list of interesting files and navigate through it quickly with the up and down arrows.
First of all, you can use Textmate (which I believe has Xcode integration). Otherwise:
Window (Menu) -> Organizer (ctrl-command-o)
At the bottom of that window, if you don't have two panes, click the square to the right of the gear. Now drag code files of interest to the left, grey pane--a single click or arrow up/down will open the file in the editor pane.
If you do open a bunch of windows, as vog suggested, you'll need to command-~ through them--not alt-tab.
Cheers.
The Xcode source code editor allows you to choose the file from a list. It's two clicks instead of one (as it would be with tabbing), but it's better than nothing.
In addition, you can simply Alt-Tab through your open source code windows. This is not slower than tabbing, and has the same effect since the source code windows are usually placed exactly one in front of another.
You'll definitely want to read through this. (XCode Tips and Tricks you wish you know about two years ago - SO)
You can navigate between files using "Recent Files"
Write simple applescript:
tell application "Xcode"
tell application "System Events"
keystroke "1" using {control down} -- open "Related Files"
key code 125 -- choose "Recent Files" ("keystroke down" doesn't work)
keystroke return -- enter to "Recent Files"
key code 125 -- choose previous file
end tell
end tell
And bind it to some shortcut using for example FastScripts(free up to 10 bindings)
I have this script on "Control" + "`". (XCode 4)
Hope this will help
You may also try an Xcode plugin I've just released - it's called Code Pilot and solves a lot of issues of Xcode's navigation, making it more TextMate/Eclipse-like.
Check it out here: http://macoscope.net/en/mac/codepilot/
I hope this helps!
It is simple with XCode 7.2
GoTo View>>Show Tab Bar
This will show the tab bar.
RightClick on the New Tab and click -->"NEW TAB"
Then We can see all the files in tabs.

Xcode question: Quickly jump to a particular selector/class/symbol?

What is the quickest way to jump to a particular symbol/selector/class in Xcode? (I'm looking for keyboard shortcuts preferably).
Right now, I know two ways of doing this:
“Open Quickly” > Click on the Symbols dropdown menu at the top of the editor > Select the selector to jump to it.
Click on “Project Symbols” in the “Groups and Files” section on the left sidebar, and type in a name in the Search text field in the top right of the XCode window.
Is there a quicker way of doing this? (If I could even assign a shortcut to jump to the “Project Symbols”, that would suffice for me. Alternatively, if I can find a keyboard shortcut to jump to the symbol dropdown above an editor that would do it to).
For experienced Xcode programmers, what do you use to jump to a symbol?
In Xcode 3.2, the "Open Quickly" command (Shift-Control-D) lets you type in selectors and class names as well as file names. This would at least get you close to what you wanted.
Your idea about using the "Symbols" drop-down also works. You can use the keystroke Control-2 to bring up the Symbols drop-down menu, and then use the arrow keys, or start typing the name of the method that you want to reach.
Edit: In Xcode 4, the "Symbols" drop-down appears when pressing Control-6. You can change this in the Xcode settings by changing the key binding for "Standart Editor > Show Document Items".
If you're looking at the symbol in a source file and want to jump to its definition, ⌘-click it.
(command + double click) on your symbol/selector/class in any place of your implementation to jump to them
(option + double click) on framework classes/selectors to jump to their reference in help->documentation
One (arguably crude) way to do it seems to be as follows:
This is based on the fact that the Search field at the top right of the Xcode window seems to change behavior depending on what is selected in the Groups & Files sidebar.
Select “Project Symbols” in the “Groups & Files” sidebar
Press ⌥⌘F (That is Command+Option+F) to jump to the Search field
Enter the symbol to jump to, and an outline will quickly show up
(this will remain in effect until you click on something else in the Groups & Files sidebar)