I've been using chrome for about a year steady. About a month back two weird behaviors happened. When I right click anywhere I get a black box. If I remember what the choices are in the box, I can use the arrow keys to select and it works.
The second problem is that when I mouse over anything, I don't get the tool tip text, I get some graphic display that looks like a very tiny version of some distorted text or graphics
Version 44.0.2403.125,
lubuntu
Menu> Settings> Show Advanced Settings > System menu >
Use hardware acceleration when available: turn it off
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.
Is it possible to enable horizontal scrolling in Phpstorm?
I have found nothing whilst searching through the settings.
Have you tried holding SHIFT + mouse scrolling?
I tested it from version 8.0.3 up to 9.0.2 and it works just fine.
Bonus hint:
This feature is actually pretty standard on many programs. Even on you browser, if you zoom-in right now so that the horizontal scroll bar appears, and try to scroll while holding SHIFT, it will side scroll.
Unfortunately it's not possible to perform horizontal scroll with mouse (mouse wheel) or pads -- JDK does not support it (maybe in v9).
https://youtrack.jetbrains.com/issue/IDEA-81013
In my particular case it was that I was running autohotkey which had something bound to shift... So phpstorm couldn't pick up on it.
I want to create a hotkey to minimize and restore the sublime but even the Main.sublime-menu is undefined !
{
"keys": ["ctrl+shift+w"], "command": "toggle_minimize_restore_window"
}
I apologize if there is a mistake in the text, because my English is not good too :)
Toggling the state of Sublime Text windows is not something that is possible to do at the moment - you can not maximize, minimize, restore, or resize a Sublime Text window using Sublime Text commands. There have been feature requests for this but you can not do it at present.
If you are using Linux, you might be able to achieve this functionality by writing a shell script which uses wmctrl to achieve that functionality and then assign the script to a global hotkey. No doubt there are ways of doing the same thing with OS X and Windows but I do not know what the equivalents would be.
You can try using the built-in window's keystrokes in order to minimize and maximize.
windows key + down (arrow) = minimize the window.
windows key + up (arrow) = maximize the window.
You can try with Mac with Command.
If you want to minimize for a customized position, you can detach the tab adjust it as you wish. Next time you minimize the window, it will appear in this last position you set.
I use Sublime Text 2 and want a Ruler to be shown in every file with specific line-height. But I have to show it manually in every file.
Go to Sublime Text > Preferences > Settings - User
Add a "rulers" setting with the lines you want for the ruler:
// Adds a single vertical ruler at column 80
"rulers": [80],
If you want multiple rulers, separate the values with a comma:
// Adds two vertical rulers: one at column 80 and one at column 120
"rulers": [80, 120],
Rulers not showing? Rulers are only shown when using a monospace font, which is the default font for Sublime Text. Ensure you are using a monospace font if the settings above don't work for you.
Edit the "rulers" value in the default settings to contain the column number you want the ruler to be displayed on, and it will persist.
Never edit Settings - Default; edit Settings - User instead. If you upgrade your SublimeText version you will lose all of your settings because Settings - Default will be overwritten.
In the Packages folders the 'User/' folder will be ignored between upgrades of SublimeText, the settings here will be persistent.
To enable the persistent rulers in any document, add the settings in Defaults - User:
{
"rulers": [75, 80, 85]
}
This example will display 3 rulers, at 75, 80 and 85 chars length.
As others have stated before me, select Preferences -> Settings-User and change
"rulers": [],
to
"rulers": [80],
in order to display one ruler at column 80.
Now for the rub, it seems that one must use a monospaced font in order to display rulers so you'll also need to change
"font_face": "",
to
"font_face": "Monospace",
or any other monospaced font.
Thinking about it, this makes sense. If different characters have different widths, then the ruler could potentially not be a single line, but a bunch of annoying line segments. I noticed this while using the default font and my column numbers were not the same for the same vertical position. At the same time, my fancy ruler was specified but not displayed. Changing the font to Monospace solved both problems.
While the answer by Ross Allen is great, it isn't the most convenient if you find yourself wanting to toggle the rulers on and off or change the width at various points while using Sublime.
Luckily, someone made a Package that allows you to do this.
https://packagecontrol.io/packages/QuickRulers
The package works in both Sublime Text 2 and 3.
Install Instructions:
Install PackageControl
Open PackageControll (e.g. via ⌘ + SHIFT + P)
Type "Install" and select "Package Control: Install Package"
Type "QuickRulers" and hit Enter to install the QuickRulers package.
You can access the command (quick_rulers) through several different means, but by default it is loaded in Omnisearch via "QuickRulers: Open Panel". (i.e., Hit ⌘ + SHIFT + P and type "QuickRulers: Open Panel")
If you change font, ruler will not be displayed. E.g. I set "font_face": "Lucida Grande", and ruler disappeared.
I just had this problem and noticed that the my ruler was only showing up when I was slightly scrolled to the right horizontally. Turns out the reason it was disappearing was because I was slightly zoomed in. Press Cmd+0 to make sure you are zoomed to the default 100% size before trying other things in case this is also your issue.
(I am using Sublime Text 3)
"editor.rulers" worked for me:
{
"editor.rulers": [72, 80]
}
instead of
{
"rulers": [72, 80]
}
Posting here so that it may help for some peoples.
P.S. I am using vscode on Macbook.