Sublime Text 2 - missing tabs of currently opened - tabs

I started to play with Sublime Text 2 editor and it seems to be pretty cool, but there is one thing that makes me a little bit confused.
When I open a project and then I will open the files which I need to update, these files are not displayed in tabs in the top bar, as is shown in the screenshot?
How could I display them?

Have you actually opened the file (i.e. double clicked it from the sidebar) or are you just viewing the file preview, which by design, doesn't appear as a tab in the main window.

You can view the tabs by opening the command pallet by typing CTRL + P (windows) or Command + Shift + p (Mac) and typing "View: Toggle Tabs"
This toggles the file tabs.

I have the same issue , I tried every thing but the open files are not showing
on the top of SUBLINE EDITOR , I double click each file but just show
on left side base not on top of SUBLINE as tab.

Related

How do I copy a download link if it doesn't appear in a right click?

If you hit "Download" a new bar appears and gives you the options: "1080p, 720p, 480p, 320p". I am trying to copy the link for 1080p.
If you left click on 1080p it starts downloading regularly. If you right click on 1080p it's as if you right clicked anywhere on the page.
Here is what it looks like.
I opened up developer tools and looked thru the Elements & Network tabs but I cannot find any links.
This is what Elements looks like.
Once you actually hit 1080p a link appears but it disappears.
This is what the url looks like.
Can someone explain how I would capture this link?
Obviously there is a (java)script which will be triggered if you click on that button which downloads that video. A way to (among other things) prevent what you are trying to do...

I used to have tabs at the top for each open file editor - now it only shows the currently open tab

As you can see in the screenshot:
I have 4 editors open (shown on the left side) but only the currently selected editor appears at the tab bar on the top. I used to have all 4 tabs open side by side at the top and could click on them like Internet browser tabs. I haven't found anything that tells me why this happened and how I can fix it. How can I return it to having side-by-side tabs for each editor?
Did you disable this setting? Sounds like you didn't which is strange.
Workbench > Editor: Show Tabs
Enable it to get all the tabs showing if it isn't already enabled.

How can I move focus from any other tool window to text editor in PhpStorm?

For an example after I go to the Project tab with Alt+1 shortcut and open specific file with pressing Enter I then want to go and edit content with single shortcut. Is there any way to do it?
There is couple of things that I can use, but neither does exactly what I want:
Ctrl+Tab - that opens the switcher and selects next file in switcher instead of allowing me to edit file with single Ctrl+Tab
Ctrl+E or Ctrl+Shift+E do different things but basically the result is simmilar as above
What I want is to simply edit the file after opening it with keyboard from Projects tab (without using mouse).
How can I move focus from any other tool window to text editor in PhpStorm?
Just press Esc key.
Works in every tool window. For built-in Terminal though you can (may have to) configure different shortcut for such action (as Esc can be needed there).
For an example after I go to the Project tab with Alt+1 shortcut and open specific file with pressing Enter I then want to go and edit content with single shortcut. Is there any way to do it?
Use F4 for that (action is available in context menu and called Jump to Source).
Ctrl+Tab - that opens the switcher and selects next file in switcher instead of allowing me to edit file with single Ctrl+Tab
Just press and release it quickly: it works just like Alt + Tab on Windows. If you keep modifier key pressed (Ctrl in this particular case) it will keep the Switcher window opened.

PhpStorm single click preview like Sublime Text

At my new job I have to work with PhpStorm. I come from Sublime Text, and what bothers me most about PhpStorm is the lack of a single click preview of the files. In stead, it opens the files for editing and adds them to active tab, leaving me with A LOT of useless tabs.
I searched here on StackOverflow and Google, but I seem to be the only one who is annoyed by this. In Sublime it goes to edit mode only after a double click. Is there a setting or plugin to have it like in Sublime?
It's a native feature these days:
Settings... / Editor / General / Editor Tabs / Opening Policy > check "Enable preview tab"
on version PhpStorm 2022.3.2
Single Click To Open File
By default to open a file in phpstorm you have to double click it. I found this to be very annoying. Luckily you can change this to be a single click.
Steps:
Click the gear icon.
Make sure 'Autoscroll to Source' is checked
Make sure 'Autoscroll from Sourcce' is checked
http://www.ryanwright.me/cookbook/phpstorm/single-click-open-file
There is no such functionality currently available. I may only suggest to use View | Quick Definition to preview files.
Other than that: https://youtrack.jetbrains.com/issue/IDEA-130918 -- watch this ticket (star/vote/comment) to get notified on progress.
Welcome in late 2019 - we got a plugin for this now:
Plugin: https://plugins.jetbrains.com/plugin/12778-quick-file-preview
Plugin Source: https://github.com/SeeSharpSoft/intellij-file-preview
IntelliJ Issue: https://youtrack.jetbrains.com/issue/IDEA-130918
Don't forget to disable the "Autoscroll to Source" Feature, to get the full advantage of the plugin!
The closest you'll get right now is to enable 'Scroll To Source', however this will actually open the file in another tab, it will not be a preview.
Open the Project, Favorites, etc. side bar (cmd + 1 or ctrl + 1)
Click the gear in the top right
Select 'Scroll to Source'
Note 'Scroll to Source' can be enabled at the same as 'Scroll from Source', just make sure if you click on one file you wait until the sidebar catches up to click another, otherwise the sidebar will autoscroll back and forth between the two. You'll have to click one of them to break that loop.
Read more on JetBrains' website
This is now available as a native feature in the latest version: 2020.3!
See this comment on the YouTrack link someone posted above https://youtrack.jetbrains.com/issue/IDEA-130918#focus=Comments-27-4500169.0-0
Also on the 2020.3 feature list under User Experience there's a mention of "preview tab" here https://blog.jetbrains.com/idea/2020/12/intellij-idea-2020-3/

What is the keystroke to exit the file diff view in sublime text?

I am playing around with sublimerge. I got into the file diff view, having 2 panes. I don't know how to go back to the normal view.
Clicking in the diff pane and pressing "esc" worked for me.
You can open a new window with Shift + Ctrl + N.
It should open in one-pane view.
If you not see the menu bar you can access the menu via the command palette (ctrl+shift+p) and type in menu, as is explained in This answer.
Save your workspace, in the Project menu.
well I didn't find the keystroke yet, but you can at least hit the close buttons on the files in the side bar, and it does take you out of diff view mode
On a Mac, Cmd-Q seems to do it.