AlignTab menu greyed out in Sublime Text 2 - sublimetext2

I installed the package manager, restarted Sublime, opened the file and tried to align a block of sql text using the AlignTab plugin. When I right clicked on the text and went to the Align submenu all the regex options were greyed out. Has anyone had this issue on Sublime Text 2?

Related

I don't have 'toggle_menu' action in Sublime Text 2

I wanted to bind hotkey in Sublime Text 2 like this:
[
{"keys": ["ctrl+alt+m"], "command": "toggle_menu"}
]
After I tried to use it, but nothing happend. Later I realised that I don't have 'toggle_menu' option at all. In ctrl+shift+p menu there is no view: Toggle Menu and in the View tab either.
enter image description here
Tell me how to add the 'toggle_menu' action, please help!
Sublime Text 2 has no ability to hide and show the menu, so there is no menu entry, command palette entry or command to toggle the state of the menu. This is also something that's outside the purview of any plugin. The page that told you about that particular command was mentioning Sublime 3 functionality.
As a result, if you want to add the toggle_menu command, you need to be using Sublime Text 3 and not Sublime Text 2. Sublime 3 includes this ability using that exact command, so what you've tried to do will work just fine there.

How to make a specific file always visible on the sidebar everytime I open sublime text 3

I switched from Notepad++ to Sublime Text 3 last week and I'm loving it. I know Notepad++ don't have a feature like this also, but is there a plugin or setting on Sublime Text 3 that I can use to make a file always visible on my sidebar every time I open it? I have a single text file that has some login info and useful note for my development and I want Sublime to remember to at least add a shortcut on that file on my sidebar so that I can access it anytime I want to.
I want workdocs.php to be always visible on my sidebar when every I open my Sublime Text 3. Thanks in advance!
It's not exactly what you want but you could try Sublime FavoriteFiles:
https://github.com/facelessuser/FavoriteFiles
It's ST3 compatible and works well. You can assign keyboard short-cuts to the various commands or use Control + Shift + P to access them quickly.

How to use Sublime text GotToAnything with selected text

Sublime text 2 GotToAnything was superb, I want to highlight a file name in my source code then I press the CTRL + P it will auto select that file. I can do copy and paste. But sometime its not quiet right.
Is there any plugin to shortcut to do that.
GotoSelection I haven't used this, but it seems to be just what you want.
The description: Small plugin for Sublime Text that pre-fills the Goto Anything overlay with the selected text or current word.

Customize Sublime Text 2 with image background

I would like to customize my Sublime Text with an image in the background (its dark enough for the text to show clearly). I have seen images added as background for the vim text editor and I can change the color scheme in sublime, but I'm not sure how to make the background an uploaded image.
I'm using Linux Ubuntu os, if that makes a difference.
Thanks!
This isn't currently possible in Sublime Text 2.
However, there's already an open feature request for it on their UserEcho forum, you can upvote it there.

Sublime Text 2 - missing tabs of currently opened

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.